![NXP Semiconductors MPC5566 Reference Manual Download Page 753](http://html1.mh-extra.com/html/nxp-semiconductors/mpc5566/mpc5566_reference-manual_1721850753.webp)
Enhanced Modular Input/Output Subsystem (eMIOS)
MPC5566 Microcontroller Reference Manual, Rev. 2
17-74
Freescale Semiconductor
shows the operation of the OPWMB mode with the output disable signal asserted. The output
disable forces a transition in the output flip-flop to the EDPOL bit value. After the output disable is
negated, the output flip-flop is allowed to transition at the next A1 or B1 match. The output disable does
not modify the flag bit behavior. There is one system clock delay between the assertion of the output
disable signal and the transition of the output flip-flop.
Figure 17-55. eMIOS OPWMB Mode Example — Active Output Disable
shows a waveform changing from 100% to 0% duty cycle. In this case EDPOL is zero and
B1 is set to the same value as the period of the selected external time base.
Figure 17-56. eMIOS OPWMB Mode Example — 100% to 0% Duty Cycle
if B1 is set to a value lower than 0x000008 it is not possible to achieve 0% duty cycle by
only changing A1 register value. Since B1 matches have precedence over A1 matches, the output flip-flop
transitions to the compliment of EDPOL at B1 matches. In this example, if B1 = 0x000009, a B1 match
does not occur, and thus a 0% duty cycle signal is generated.
Cycle n
Cycle n+1
Cycle n+2
A1 value
B1 value
B2 value
0x000008
0x000002
0x000006
0x000008
0x000001
Selected
0x000004
0x000006
MODE[0] = 1
A2 value
0x000002
0x000004
0x000006
0x000002
0x000004
0x000006
0x000008
0x000006
Output flip-flop
Write to B2
Match A1
Match B1
Match B1
A1/B1
Due to B1 match
FLAG set event
cycle n-1
Time
Write to A2
Match A1
Write to A2
Match B1
load signal
counter bus
EDPOL = 0
0x000008
0x000007
0x000006
0x000005
0x000004
0x000003
0x000002
0x000001 0x000000
0%
100%
Selected
EDPOL = 0
A1 value
B1 value
Output flip-flop
0x000008
Prescaler = 1
Cycle 1
Cycle 2
Cycle 3
Cycle 4
Cycle 5
Cycle 6
Cycle 7
Cycle 8
Cycle 9
0x000007
0x000006
0x000005
0x000004
0x000003
0x000002
0x000001
0x000000
A2 value
Time
counter bus
Summary of Contents for MPC5566
Page 81: ...Introduction MPC5566 Microcontroller Reference Manual Rev 2 1 24 Freescale Semiconductor...
Page 135: ...Signal Description MPC5566 Microcontroller Reference Manual Rev 2 2 54 Freescale Semiconductor...
Page 189: ...Reset MPC5566 Microcontroller Reference Manual Rev 2 4 20 Freescale Semiconductor...
Page 603: ...Flash Memory MPC5566 Microcontroller Reference Manual Rev 2 13 38 Freescale Semiconductor...
Page 609: ...SRAM MPC5566 Microcontroller Reference Manual Rev 2 14 6 Freescale Semiconductor...
Page 1073: ...MPC5566 Microcontroller Reference Manual Rev 2 22 36 Freescale Semiconductor...
Page 1185: ...Nexus MPC5566 Microcontroller Reference Manual Rev 2 25 92 Freescale Semiconductor...