
Using the Channel Hardware
Understanding the eTPU Channel Hardware, Rev. 0
Freescale Semiconductor
29
In addition to the rules listed in the table above, the following rules always apply:
1. Transitions are always ordered. Transition B is enabled by Transition A.
2. Transitions will always be detected if the pin transitions according to the corresponding IPAC.
3. Detection of a transition will always set the corresponding TDL.
4. In a DoubleTransition (_dt) mode, if the IPACB is NoDetect, then the transition will not request
service.
5. Channel action flags, MRLs and TDLs, are latched into the eTPU during the Time Slot Transition
to a new thread. Flags that are set after that time can be read by rewriting the CHAN register, or
on a subsequent channel service.
6. For resolution of the entry vectors, all channel latches are considered, not just the ones that
requested service.
7. Each match captures the TCR selected for its corresponding Action Unit. In a Blocking (_b)
mode, the first match captures both Action Unit TCRs.
8. Transitions always capture their corresponding TCR.
9. In a SingleTransition (_st) mode, Transition A captures TCRs selected for both Action Units, but
a subsequent Transition B will re-capture the TCR indicated for Action Unit B.
10. Captures resulting from matches never overwrite captures resulting from Transitions.
11. Captures resulting from Transitions always overwrite capture resulting from matches.
12. Channel action flags and capture register values are always coherent in the eTPU.
4.1.2
Using Double Matches
The double match registers are required where there is a chance that a second pin action will be required
before the first one is serviced. For example, a PWM that can be modulated continuously from 0% to 100%
duty cycle may require both transitions on the pin before the first can be serviced.
Table 9. Channel Mode Notation
Selection
Configuration
Interpretation
sm
SingleMatch...
Only Match A is enabled.
bm
BothMatches...
Both Matches are enabled in any order and the second one will request service.
em
EitherMatch...
Both Matches are enabled in any order and each one will request service.
m2
MatchB...
Both Matches are enabled, but only Match B will request service.
Transition A is disabled until Match A occurs.
Match B occurring before Match A will block Match A
_b
...Blocking...
Matches mutually block each other.
_nb
...NonBlocking...
Matches do not block each other.
_o
...Ordered...
Match B is blocked until Match A occurs.
_st
...SingleTransition Transition A will request service and block subsequent Matches
_dt
...DoubleTransition Transition B will request service and block Match B
In bm mode, Transition B blocks both Matches.