Enhanced Modular I/O Subsystem (eMIOS200)
MPC5510 Microcontroller Family Reference Manual, Rev. 1
26-38
Freescale Semiconductor
Preliminary
Figure 26-34. OPWMCB with 100% Duty Cycle (A1=4 and B1=3)
The output disable input, if enabled, causes the output flip-flop to transition to EDPOL inverted. This
feature allows the channel to force an output pin to a safety state from the application stand point. The
internal channel matches continue to occur even in this case, thus generating flags. As soon as the output
disable is deasserted, the channel output pin is again controlled by the A1 and B1 matches. This process
is synchronous, meaning that the output channel pin transitions on system clock edges only.
It is important to notice that, as in OPWMB and OPWFMB modes, the match signal used to set or clear
the channel output flip-flop is generated on the deassertion of the channel combinational comparator
output signal which compares the selected time base with A1 or B1 register values. Refer to
which describes the delay from matches to output flip-flop transition in OPWFMB mode. The operation
of OPWMCB mode is similar to OPWFMB regarding matches and output pin transition.
26.5.1.1.10
Pulse-Width Modulation Buffered (OPWMB) Mode
OPWMB mode is used to generate pulses with programmable leading- and trailing-edge placement. An
external counter must be selected from one of the counter buses. The A1 register value defines the first
edge and B1 defines the second edge. The output signal polarity is defined by the EDPOL bit. If EDPOL
is zero, a negative edge occurs when A1 matches the selected counter bus; and a positive edge occurs when
B1 matches the selected counter bus.
The A1 and B1 registers are double buffered and updated from A2 and B2, respectively, at the cycle
boundary. The load operation is similar to the OPWFMB mode. Refer to
for more
information about A1 and B1 registers’ update.
0x000001
0x000020
0x000004
A1 Value
A2 Value
B1 Value
B2 Value
0x000004
0x000001
Output Flip-Flop
0x000003
0x000015
0x000003
0x000015
0x000003
Selected
Counter Bus
Time
Write to B2
Time
Cycle n
Cycle n+1
Cycle n+2
Dead-Time
Dead-Time
Dead-Time