
Enhanced Modular Input/Output Subsystem (eMIOS)
MPC5566 Microcontroller Reference Manual, Rev. 2
Freescale Semiconductor
17-65
illustrates the generation of 100% and 0% duty cycle signals. It is assumed that EDPOL = 0
and the prescaler ratio is 1. Initially A1 = 0x000008 and B1 = 0x000008. In this case, a B1 match has
precedence over an A1 match, thus the output flip-flop is set to the complement of EDPOL. This cycle
corresponds to a 100% duty cycle signal. The same output signal can be generated for any A1 value greater
than or equal to B1.
Figure 17-48. eMIOS OPWFMB Mode Example — 100% to 0% Duty Cycle
A 0% duty cycle signal is generated if A1 = 0 as shown in
cycle 9. In this case the
B1 = 0x000008 match from cycle 8 occurs at the same time as the A1 = 0x000000 match from cycle 9.
Refer to
for a description of A1 and B1 match generation for a case where A1 match has
precedence over B1 match and the output signal transitions to EDPOL.
17.4.4.4.17
Center-Aligned Output Pulse-Width Modulation Buffered Mode (OPWMCB)
The following table lists the center-aligned output pulse-width modulation buffered mode settings:
This mode generates a center-aligned PWM with dead time insertion on the leading or trailing edge. A1
and B1 registers are double buffered to allow smooth output signal generation when changing A2 or B2
values asynchronously.
The selected counter bus for a channel configured to OPWMCB mode must be another channel running
in MCB up/down counter mode (refer to
Section 17.4.4.4.15, “Modulus Counter Buffered Mode (MCB)
”).
Register A1 contains the ideal duty cycle for the PWM signal and is compared with the selected time base.
Register B1 contains the dead time value and is compared against the internal counter. For a leading edge
Table 17-30. OPWMCB Operating Modes
MODE[0:6]
Unified Channel OPWMCB Operating Mode
0b1011100
Center-aligned output pulse-width modulation, buffered. FLAG set on trailing edge,
trailing edge dead-time.
0b1011101
Center-aligned output pulse-width modulation, buffered. FLAG set on trailing edge,
leading edge dead-time.
0b1011110
Center-aligned output pulse-width modulation, buffered. FLAG set on both edges,
trailing edge dead-time.
0b1011111
Center-aligned output pulse-width modulation, buffered. FLAG set on both edges,
leading edge dead-time.
0x000008
0x000007
0x000006
0x000005
0x000004
0x000003
0x000002
0x000001 0x000000
0%
100%
EMIOS_CCNTR
n
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
Содержание MPC5566
Страница 12: ...MPC5566 Microcontroller Reference Manual Devices Supported MPC5566 MPC5566 RM Rev 2 0 23 Apr 2008...
Страница 81: ...Introduction MPC5566 Microcontroller Reference Manual Rev 2 1 24 Freescale Semiconductor...
Страница 135: ...Signal Description MPC5566 Microcontroller Reference Manual Rev 2 2 54 Freescale Semiconductor...
Страница 189: ...Reset MPC5566 Microcontroller Reference Manual Rev 2 4 20 Freescale Semiconductor...
Страница 331: ...System Integration Unit SIU MPC5566 Microcontroller Reference Manual Rev 2 6 128 Freescale Semiconductor...
Страница 343: ...Crossbar Switch XBAR MPC5566 Microcontroller Reference Manual Rev 2 7 12 Freescale Semiconductor...
Страница 361: ...Error Correction Status Module ECSM MPC5566 Microcontroller Reference Manual Rev 2 8 18 Freescale Semiconductor...
Страница 455: ...Interrupt Controller INTC MPC5566 Microcontroller Reference Manual Rev 2 10 42 Freescale Semiconductor...
Страница 603: ...Flash Memory MPC5566 Microcontroller Reference Manual Rev 2 13 38 Freescale Semiconductor...
Страница 609: ...SRAM MPC5566 Microcontroller Reference Manual Rev 2 14 6 Freescale Semiconductor...
Страница 679: ...Boot Assist Module BAM MPC5566 Microcontroller Reference Manual Rev 2 16 20 Freescale Semiconductor...
Страница 997: ...Deserial Serial Peripheral Interface DSPI MPC5566 Microcontroller Reference Manual Rev 2 20 72 Freescale Semiconductor...
Страница 1037: ...Enhanced Serial Communication Interface eSCI MPC5566 Microcontroller Reference Manual Rev 2 21 40 Freescale Semiconductor...
Страница 1073: ...MPC5566 Microcontroller Reference Manual Rev 2 22 36 Freescale Semiconductor...
Страница 1081: ...Voltage Regulator Controller VRC and POR Module MPC5566 Microcontroller Reference Manual Rev 2 23 8 Freescale Semiconductor...
Страница 1093: ...IEEE 1149 1 Test Access Port Controller JTAGC MPC5566 Microcontroller Reference Manual Rev 2 24 12 Freescale Semiconductor...
Страница 1185: ...Nexus MPC5566 Microcontroller Reference Manual Rev 2 25 92 Freescale Semiconductor...
Страница 1267: ...MPC5566 Reference Manual Revision History MPC5566 Microcontroller Reference Manual Rev 2 Freescale Semiconductor C 10...
Страница 1268: ...MPC5566 Reference Manual Revision History MPC5566 Microcontroller Reference Manual Rev 2 Freescale Semiconductor C 11...