S12S Debug Module (S12SDBGV2)
S12SDBGV1 SCR encoding because OR possibilities are very limited in the channel encoding. By adding
OR forks as shown in red this scenario is possible.
Figure 6-36. Scenario 7
M01
SCR2=1100
SCR3=1101
SCR1=1101
M12
M2
M1
Final State
State3
State2
State1
M0
M02
On simultaneous matches the lowest channel number has priority so with this configuration the forking
from State1 has the peculiar effect that a simultaneous match0/match1 transitions to final state but a
simultaneous match2/match1transitions to state2.
6.5.9
Scenario 8
Trigger when a routine/event at M2 follows either M1 or M0.
Figure 6-37. Scenario 8a
SCR2=0101
SCR1=0111
M2
M01
Final State
State2
State1
Trigger when an event M2 is followed by either event M0 or event M1
Figure 6-38. Scenario 8b
SCR2=0111
SCR1=0010
M01
M2
Final State
State2
State1
Scenario 8a and 8b are possible with the S12SDBGV1 and S12SDBGV2 SCR encoding
S12P-Family Reference Manual, Rev. 1.13
Freescale Semiconductor
193