www.ti.com
2.4.3 Action-Qualifier Event Priority
It is possible for the ePWM action qualifier to receive more than one event at the same time. In this case events are assigned a priority by the hardware. The general rule is events occurring later in time have a higher priority and software forced events always have the highest priority. The event priority levels for
Table 2-8. Action-Qualifier Event Priority for Up-Down-Count Mode
Priority Level | Event If TBCTR is Incrementing |
| TBCTR = Zero up to TBCTR = TBPRD |
Event If TBCTR is Decrementing TBCTR = TBPRD down to TBCTR = 1
1 (Highest) | Software forced event |
2Counter equals CMPB on
3Counter equals CMPA on
4Counter equals zero
5Counter equals CMPB on
6 (Lowest) | Counter equals CMPA on |
Software forced event
Counter equals CMPB on
Counter equals CMPA on
Counter equals period (TBPRD)
(1)Counter equals CMPB on
(1) | Counter equals CMPA on |
(1)To maintain symmetry for
Table
Table 2-9. Action-Qualifier Event Priority for Up-Count Mode
Priority Level | Event |
1 (Highest) | Software forced event |
2 | Counter equal to period (TBPRD) |
3 | Counter equal to CMPB on |
4 | Counter equal to CMPA on |
5 (Lowest) | Counter equal to Zero |
Table
Table 2-10. Action-Qualifier Event Priority for Down-Count Mode
Priority Level | Event |
1 (Highest) | Software forced event |
2 | Counter equal to Zero |
3 | Counter equal to CMPB on |
4 | Counter equal to CMPA on |
5 (Lowest) | Counter equal to period (TBPRD) |
It is possible to set the compare value greater than the period. In this case the action will take place as shown in Table
40 | ePWM Submodules |