MPC5553/MPC5554 Microcontroller Reference Manual, Rev. 5
17-54
Freescale Semiconductor
Figure 17-42. eMIOS OPWFMB Mode Example — A1 = 0 (0% Duty Cycle)
shows the timing for the A1 and B1 loading. A1 and B1 use the same signal to trigger a load,
which is generated based on the selected counter reaching one. This event is defined as the cycle boundary.
The load signal pulse has the duration of one system clock cycle and occurs at the first system clock period
of every cycle of the counter. If A2 and B2 are written within cycle (
n
), their values are loaded into A1 and
B1, respectively, at the first clock of cycle (
n
+1). The update disable bits, EMIOS_OUDR, can be used to
control the update of these registers, thus allowing the delay of A1 and B1 update for synchronization
purposes.
During the load pulse A1 still holds its old value, which is updated on the following system clock cycle.
During the A1 load pulse, an internal by-pass allows the use of A2 instead of A1 for matches if A2 is either
0 or 1, thus allowing matches to be generated even when A1 is being loaded. This approach allows a
uniform channel operation for any A2 value, including 1 and 0.
it is assumed that the channel and global prescalers are set to one, meaning that the channel
internal counter transition at every system clock cycle. FLAGs can be generated only on B1 matches when
MODE[5] is cleared, or on both A1 and B1 matches when MODE[5] is set. Because B1 FLAG occurs at
the cycle boundary, this flag can be used to indicate that A2 or B2 data written on cycle (
n
) were loaded to
A1 or B1, respectively, thus generating matches in cycle (
n
+1).
1
4
5
A1 Value 0x000004
A1 Match
A1 Match Negative
Output Flip-Flop
Time
B1 Match Negative Edge Detect
B1 Match
B1 Match Negative
B1 Value 0x000008
System Clock
Prescaled Clock
A2 Value
0x000000
0x000000
A1 Match Positive
A1 Match Positive Edge Detect
No Transition at this Point
1
Cycle n
Cycle n+1
Edge Detection
Edge Detection
Edge Detection
A1 Match
Negative
Edge Detect
EDPOL = 0
Write to A2
EMIOS_CCNT
Rn
Summary of Contents for MPC5553
Page 5: ...MPC5553 MPC5554 Microcontroller Reference Manual Rev 5 2 Freescale Semiconductor...
Page 21: ...MPC5553 MPC5554 Microcontroller Reference Manual Rev 5 xvi Freescale Semiconductor...
Page 47: ...MPC5553 MPC5554 Microcontroller Reference Manual Rev 5 1 26 Freescale Semiconductor...
Page 163: ...MPC5553 MPC5554 Microcontroller Reference Manual Rev 5 4 20 Freescale Semiconductor...
Page 179: ...MPC5553 MPC5554 Microcontroller Reference Manual Rev 5 5 16 Freescale Semiconductor...
Page 561: ...MPC5553 MPC5554 Microcontroller Reference Manual Rev 5 13 38 Freescale Semiconductor...
Page 615: ...MPC5553 MPC5554 Microcontroller Reference Manual Rev 5 14 54 Freescale Semiconductor...
Page 707: ...MPC5553 MPC5554 Microcontroller Reference Manual Rev 5 17 68 Freescale Semiconductor...
Page 755: ...MPC5553 MPC5554 Microcontroller Reference Manual Rev 5 18 48 Freescale Semiconductor...
Page 873: ...MPC5553 MPC5554 Microcontroller Reference Manual Rev 5 19 118 Freescale Semiconductor...
Page 984: ...MPC5553 MPC5554 Microcontroller Reference Manual Rev 5 Freescale Semiconductor 21 41...
Page 985: ...MPC5553 MPC5554 Microcontroller Reference Manual Rev 5 21 42 Freescale Semiconductor...
Page 1019: ...MPC5553 MPC5554 Microcontroller Reference Manual Rev 5 22 34 Freescale Semiconductor...
Page 1129: ...MPC5553 MPC5554 Microcontroller Reference Manual Rev 5 25 90 Freescale Semiconductor...