
Enhanced Modular Input/Output Subsystem (eMIOS)
MPC5566 Microcontroller Reference Manual, Rev. 2
17-60
Freescale Semiconductor
17.4.4.4.16
Output Pulse-Width and Frequency Modulation Buffered Mode (OPWFMB)
The following table lists the output pulse-width and frequency modulation buffered mode settings:
This mode generates waveforms with variable duty cycle and frequency. The internal channel counter is
automatically selected as the time base, A1 sets the duty cycle and B1 determines the frequency. Both A1
and B1 are double buffered to allow smooth signal generation when changing the register values
asynchronously. Both 0% and 100% duty cycles are supported.
To provide smooth and consistent channel operation, this mode differs substantially from the OPWFM
mode. The main differences are in how A1 and B1 are updated, the delay from the A1 match to the output
flip-flop transition, and the range of the internal counter which ranges from 1 up to B1 value.
When a match on comparator A occurs, the output register is set to the value of EDPOL. When a match
on comparator B occurs, the output register is set to the complement of EDPOL. A B1 match also causes
the internal counter to transition to 1, thus re-starting the counter cycle.
shows an example of OPWFMB mode operation. The output flip-flop transition occurs when
the A1 or B1 match signal is negated, as detected by the negative edge of the A1 and B1 match signals.
For example, if register A1 is set to 0x000004, the output flip-flop transitions 4 counter periods after the
cycle starts, plus one system clock cycle. In the example shown in
the prescaler ratio is set
to two (refer to
Section 17.5.3, “Time Base Generation
Table 17-29. OPWFMB Operating Modes
MODE[0:6]
Unified Channel OPWFM Operating Mode
0b1011000
Output pulse-width and frequency modulation, buffered. FLAG set at match of
internal counter and comparator B.
0b1011001
Reserved
0b1011010
Output pulse-width and frequency modulation, buffered. FLAG set at match of
internal counter and comparator A or comparator B.
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...