Enhanced Modular Input/Output Subsystem (eMIOS)
MPC5565 Microcontroller Reference Manual, Rev. 1.0
16-60
Freescale Semiconductor
16.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 16.5.3, “Time Base Generation
Table 16-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.
Содержание MPC5565
Страница 18: ...MPC5565 Microcontroller Reference Manual Devices Supported MPC5565 MPC5565 RM Rev 1 0 09 2007...
Страница 34: ...MPC5565 Reference Manual Rev 1 0 Freescale Semiconductor 15...
Страница 35: ...MPC5565 Reference Manual Rev 1 0 16 Freescale Semiconductor...
Страница 325: ...Error Correction Status Module ECSM MPC5565 Microcontroller Reference Manual Rev 1 0 8 16 Freescale Semiconductor...
Страница 515: ...External Bus Interface EBI MPC5565 Microcontroller Reference Manual Rev 1 0 12 70 Freescale Semiconductor...
Страница 553: ...Flash Memory MPC5565 Microcontroller Reference Manual Rev 1 0 13 38 Freescale Semiconductor...
Страница 559: ...SRAM MPC5565 Microcontroller Reference Manual Rev 1 0 14 6 Freescale Semiconductor...
Страница 577: ...Boot Assist Module BAM MPC5565 Microcontroller Reference Manual Rev 1 0 15 18 Freescale Semiconductor...
Страница 895: ...Deserial Serial Peripheral Interface DSPI MPC5565 Microcontroller Reference Manual Rev 1 0 19 72 Freescale Semiconductor...
Страница 973: ...Preface MPC5565 Microcontroller Reference Manual Rev 1 0 21 36 Freescale Semiconductor...
Страница 1145: ...MPC5565 Register Map MPC5565 Microcontroller Reference Manual Rev 1 0 A 60 Freescale Semiconductor...
Страница 1153: ...Calibration MPC5565 Microcontroller Reference Manual Rev 1 0 B 8 Freescale Semiconductor...