
Enhanced Modular Input/Output Subsystem (eMIOS200)
PXN20 Microcontroller Reference Manual, Rev. 1
Freescale Semiconductor
28-45
Figure 28-43. OPWFMB Mode from 100% to 0% Duty Cycle
A 0% duty cycle signal is generated if A1 = 0 as shown in cycle 9 in
. In this case, the
B1 = 0x00_0008 match from cycle 8 occurs at the same time as the A1 = 0x00_0000 match from cycle 9.
Refer to
for a description of the A1 and B1 match generation. In this case, the A1 match has
precedence over the B1 match and the output signal transitions to EDPOL.
28.4.1.1.13
Center-Aligned Output PWM Buffered with Dead-Time (OPWMCB) Mode
This operation mode generates a center-aligned PWM with dead-time insertion to the leading or trailing
edge. A1 and B1 registers are double buffered to allow smooth output signal generation when changing
A2 or B2 registers values.
The selected counter bus must be running in up/down counter mode, as shown in
base selected for a channel configured to OPWMCB mode should be a channel configured to MCB mode.
The BSL bits select the time base. The time base must start at 0x00_0001 and upward not prior to
OPWMCB mode is active. 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 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. MODE[6] bit selects between trailing and leading
dead-time insertion, respectively.
NOTE
The internal prescaler of the OPWMCB channel must be set to the same
value of the MCB channel prescaler. These prescalers must also be
synchronized. In this case, A1 and B1 registers represent the same timing
scale for duty cycle and dead-time insertion.
shows the load of 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, respectively, and used to generate matches in cycle (
n
+ 1).
0x000008
0x000007
0x000006
0x000005
0x000004
0x000003
0x000002
0x000001 0x000000
0%
100%
EMIOS_CCNTR
EDPOL = 0
A1 Value
B1 Value
Output Pin
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
Содержание PXN2020
Страница 1: ...PXN20 Microcontroller Reference Manual Devices Supported PXN2020 PXN2120 PXN20RM Rev 1 06 2011...
Страница 42: ...PXN20 Microcontroller Reference Manual Rev 1 lxiv Freescale Semiconductor...
Страница 64: ...Introduction PXN20 Microcontroller Reference Manual Rev 1 1 22 Freescale Semiconductor...
Страница 112: ...Signal Description PXN20 Microcontroller Reference Manual Rev 1 3 44 Freescale Semiconductor...
Страница 118: ...Resets PXN20 Microcontroller Reference Manual Rev 1 4 6 Freescale Semiconductor...
Страница 162: ...Clocks Reset and Power CRP PXN20 Microcontroller Reference Manual Rev 1 6 30 Freescale Semiconductor...
Страница 182: ...Frequency Modulated Phase Locked Loop FMPLL PXN20 Microcontroller Reference Manual Rev 1 7 20 Freescale Semiconductor...
Страница 268: ...Boot Assist Module BAM PXN20 Microcontroller Reference Manual Rev 1 9 14 Freescale Semiconductor...
Страница 318: ...Interrupts and Interrupt Controller INTC PXN20 Microcontroller Reference Manual Rev 1 10 50 Freescale Semiconductor...
Страница 326: ...General Purpose Static RAM SRAM PXN20 Microcontroller Reference Manual Rev 1 11 8 Freescale Semiconductor...
Страница 372: ...e200z6 Core Z6 PXN20 Microcontroller Reference Manual Rev 1 13 8 Freescale Semiconductor...
Страница 412: ...e200z0 Core Z0 PXN20 Microcontroller Reference Manual Rev 1 14 14 Freescale Semiconductor...
Страница 460: ...Memory Protection Unit MPU PXN20 Microcontroller Reference Manual Rev 1 18 20 Freescale Semiconductor...
Страница 478: ...Error Correction Status Module ECSM PXN20 Microcontroller Reference Manual Rev 1 19 18 Freescale Semiconductor...
Страница 488: ...Software Watchdog Timer SWT PXN20 Microcontroller Reference Manual Rev 1 20 10 Freescale Semiconductor...
Страница 494: ...System Timer Module STM PXN20 Microcontroller Reference Manual Rev 1 21 6 Freescale Semiconductor...
Страница 821: ...Media Local Bus MLB PXN20 Microcontroller Reference Manual Rev 1 Freescale Semiconductor 27 49...
Страница 822: ...Media Local Bus MLB PXN20 Microcontroller Reference Manual Rev 1 27 50 Freescale Semiconductor...
Страница 926: ...Controller Area Network FlexCAN PXN20 Microcontroller Reference Manual Rev 1 29 42 Freescale Semiconductor...
Страница 990: ...Deserial Serial Peripheral Interface DSPI PXN20 Microcontroller Reference Manual Rev 1 30 64 Freescale Semiconductor...
Страница 1044: ...Enhanced Serial Communication Interface eSCI PXN20 Microcontroller Reference Manual Rev 1 31 54 Freescale Semiconductor...
Страница 1080: ...Cross Triggering Unit CTU PXN20 Microcontroller Reference Manual Rev 1 33 12 Freescale Semiconductor...
Страница 1134: ...Analog to Digital Converter ADC PXN20 Microcontroller Reference Manual Rev 1 34 54 Freescale Semiconductor...
Страница 1150: ...IEEE 1149 1 Test Access Port Controller JTAGC PXN20 Microcontroller Reference Manual Rev 1 35 16 Freescale Semiconductor...
Страница 1257: ...Nexus Development Interface NDI PXN20 Microcontroller Reference Manual Rev 1 Freescale Semiconductor 36 107...
Страница 1258: ...Nexus Development Interface NDI PXN20 Microcontroller Reference Manual Rev 1 36 108 Freescale Semiconductor...
Страница 1376: ...Memory Map PXN20 Microcontroller Reference Manual Rev 1 A 118 Freescale Semiconductor...