Enhanced Modular Input/Output Subsystem (eMIOS)
MPC5565 Microcontroller Reference Manual, Rev. 1.0
16-66
Freescale Semiconductor
dead time insertion, the output PWM duty cycle is equal to the difference between register A1 and register
B1, and for a trailing edge dead time insertion, the output PWM duty cycle is equal to the sum of register
A1 and register B1. The MODE[6] bit selects between trailing and leading dead time insertion,
respectively.
NOTE
Synchronize the internal prescaler of the OPWMCB channel with the MCB
channel prescaler and set them to the same value. This allows the A1 and B1
registers to represent the same time scale for duty cycle and dead time
insertion.
illustrates loading of the A1 and B1 registers, which occurs when the selected counter bus
reaches the value one. This counter value defines the cycle boundary. Values written to A2 or B2 within
cycle (
n
) are loaded into A1 or B1 registers and are used to generate matches in cycle (n+1).
Figure 16-49. eMIOS OPWMCB Mode Example — A1/B1 Register Loading
The EMIOS_OUDR[n] bit can be used to disable the A1 and B1 updates, thus allowing the loading of these
registers to be synchronized with the load of A1 or B1 registers in others channels. By using the update
disable bit, the A1 and B1 registers can be updated in the same counter cycle.
In this mode A1 matches set the internal counter to one. When operating with leading edge dead time
insertion, the first A1 match resets the internal counter to 0x000001. When a match occurs between
register B1 and the internal time base, the output flip-flop is set to the value of the EDPOL bit. In the
following match between A1 and the selected time base, the output flip-flop is set to the complement of
the EDPOL bit. This sequence repeats continuously.
Selected
Time
Write to A2
Match A1
Match A1
Write to A2
0x000001
0x000005
0x000006
0x000015
A1 value
A2 value
0x000020
0x000015
Selected counter = 1
A1/B1 load signal
0x000020
0x000016
0x000016
Cycle n
Cycle n+1
Cycle n+2
B1 value
0x000004
B2 value
0x000004
0x000006
0x000005
0x000005
0x000006
counter bus
Содержание 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...