Enhanced Modular Input/Output Subsystem (eMIOS200)
Freescale Semiconductor
23-57
PXR40 Microcontroller Reference Manual, Rev. 1
At any time, the FORCMA and FORCMB bits allow the software to force the output flip-flop to the level
corresponding to a match on A or B respectively. Note that FLAG bit is not set by the FORCMA and
FORCMB operations.
If subsequent matches occur on comparators A and B, the PWM pulses continue to be generated,
regardless of the state of the FLAG bit.
At OPWM mode entry, the output flip-flop is set to the complement of the EDPOL bit in the
EMIOS_CCR[
n
] register.
In order to achieve 100% duty cycle, both registers A1 and B1 must be set to the same value. When a
simultaneous match on comparators A and B occur, the output flip-flop is set at every period to the value
of EDPOL bit. 0% duty cycle is possible by writing 0x0 to register A (EMIOS_CADR). When a match
occurs, the output flip-flop is set at every period to the complement of EDPOL bit. The transfer from
register B2 to B1 is still controlled by MODE[6] bit.
NOTE
If A1 and B1 are set to 0x00_0000, a 0% duty cycle waveform is produced.
show the unified channel running in OPWM with immediate update and
next period update, respectively.
Figure 23-51. OPWM with Immediate Update
0xFFFFFF
0x001000
0x000000
Selected Counter Bus
Time
Output Flip-Flop
A1 Value
1
0x000200
B1 Value
B2 Value
2
0x000900
0xxxxxxx
0xxxxxxx
0xxxxxxx
0x000200
0x001000
0x001000
0x000900
Notes: 1. EMIOS_CADR[n] = A1
2. EMIOS_CBDR[n] = B2
0x000900
0x001000
0x001000
A2 = A1 according to OU[n] bit
B2 = B1 according to OU[n] bit
MODE[6] = 0
A1 Match
B1 Match
B2
Write
Update to
A1 Match B1 Match
A1
Update to
A1
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...