SPRUIM2H May 2020 – October 2023 AM2431 , AM2432 , AM2434 , AM6411 , AM6412 , AM6421 , AM6422 , AM6441 , AM6442
The PWM module has three states (initial, active, and trip),which are shared between PRGn_PWMm_[2:0]_POS and PRGn_PWMm_[2:0]_NEG pins (where n = 0 to 2 and m = 0 to 3). The output value for each pin, however, is unique and is defined in the ICSSG CFG registers. Figure 6-232 shows the PWM module states.
Each state supports different entry events. Table 6-465 shows a summary of the different entry options.
State | Entry Event |
---|---|
Initial |
|
Active |
|
Trip |
|
Current State | Next State | Event causing transition |
---|---|---|
X | Initial | Hardware reset event |
Trip | Initial | Trip reset event or IEP0.CMP0 (if enabled) |
Active | Initial | Trip reset event or IEP0.CMP0 (if enabled) |
Initial | Active | First CMPx event associated with the PWMm set |
X | Safe | PRGn_PWM_m_TRIP_OUT (where n = 0 to 2 and m = 0 to 3) event |
PWM | IEP CMP |
---|---|
PWM0_0_POS | IEP0 CMP1 |
PWM0_0_NEG | IEP0 CMP2 |
PWM0_1_POS | IEP0 CMP3 |
PWM0_1_NEG | IEP0 CMP4 |
PWM0_2_POS | IEP0 CMP5 |
PWM0_2_NEG | IEP0 CMP6 |
PWM1_0_POS | IEP0 CMP7 |
PWM1_0_NEG | IEP0 CMP8 |
PWM1_1_POS | IEP0 CMP9 |
PWM1_1_NEG | IEP0 CMP10 |
PWM1_2_POS | IEP0 CMP11 |
PWM1_2_NEG | IEP0 CMP12 |
PWM2_0_POS | IEP1 CMP1 |
PWM2_0_NEG | IEP1 CMP2 |
PWM2_1_POS | IEP1 CMP3 |
PWM2_1_NEG | IEP1 CMP4 |
PWM2_2_POS | IEP1 CMP5 |
PWM2_2_NEG | IEP1 CMP6 |
PWM3_0_POS | IEP1 CMP7 |
PWM3_0_NEG | IEP1 CMP8 |
PWM3_1_POS | IEP1 CMP9 |
PWM3_1_NEG | IEP1 CMP10 |
PWM3_2_POS | IEP1 CMP11 |
PWM3_2_NEG | IEP1 CMP12 |