Enhanced Modular Input/Output Subsystem (eMIOS200)
23-52
Freescale Semiconductor
PXR40 Microcontroller Reference Manual, Rev. 1
B2 within cycle (
n
) are loaded into A1 or B1 registers, respectively, and used to generate matches in cycle
(
n
+ 1).
Figure 23-47. OPWMCB A1 and B1 Registers Load
The (OU[
n
] in EMIOS_OUDR) bit can be used to disable the A1 and B1 updates, thus allowing to
synchronize the load on these registers with the load of A1 or B1 registers in others channels. Using the
update disable bit, A1 and B1 registers can be updated at the same counter cycle, allowing both registers
to change at the same time.
In this mode A1 matches always sets the internal counter to 0x00_0001. When operating with leading edge
dead time insertion the first A1 match sets the internal counter to 0x00_0001. 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 register A1 and the selected time base, the output flip-flop is set to the
complement of the EDPOL bit. This sequence repeats continuously. The internal counter should not reach
0x00_0000 as consequence of a rollover. To avoid this, the user must not write a value greater than twice
the difference between external count up limit and EMIOS_CADR[
n
] value to the EMIOS_CBDR[
n
]
register.
shows two cycles of a center-aligned PWM signal. Both A1 and B1 register values are
changing within the same cycle, which allows to vary at the same time the duty cycle and dead time values.
Selected
Time
Write to A2
Write to B2
Write to B2
Write to A2
0x000001
0x000005
0x000006
0x000015
A1 Value
A2 Value
0x000020
0x000015
Selected Counter = 2
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
Prescaler Ratio = 2
Summary of Contents for PXR4030
Page 1: ...PXR40 Microcontroller Reference Manual Devices Supported PXR4030 PXR4040 PXR40RM Rev 1 06 2011...
Page 30: ...PXR40 Microcontroller Reference Manual Rev 1 Freescale Semiconductor xxx...
Page 40: ...PXR40 Microcontroller Reference Manual Rev 1 xl Freescale Semiconductor...
Page 66: ...Memory Map PXR40 Microcontroller Reference Manual Rev 1 2 4 Freescale Semiconductor...
Page 120: ...Signal Descriptions 3 54 Freescale Semiconductor PXR40 Microcontroller Reference Manual Rev 1...
Page 860: ...FlexCAN Module 24 50 Freescale Semiconductor PXR40 Microcontroller Reference Manual Rev 1...
Page 1167: ...Decimation Filter Freescale Semiconductor 28 53 PXR40 Microcontroller Reference Manual Rev 1...
Page 1168: ...Decimation Filter 28 54 Freescale Semiconductor PXR40 Microcontroller Reference Manual Rev 1...