English
Language : 

MC9S12G Datasheet, PDF (316/1160 Pages) Freescale Semiconductor, Inc – Ignores external trigger. Performs one conversion sequence and stops.
S12S Debug Module (S12SDBG)
8.5.4 Scenario 3
A trigger is generated immediately when one of up to 3 given events occurs
Figure 8-31. Scenario 3
SCR1=0000
State1
M012 Final State
Scenario 3 is possible with S12SDBGV1 SCR encoding
8.5.5 Scenario 4
Trigger if a sequence of 2 events is carried out in an incorrect order. Event A must be followed by event B
and event B must be followed by event A. 2 consecutive occurances of event A without an intermediate
event B cause a trigger. Similarly 2 consecutive occurances of event B without an intermediate event A
cause a trigger. This is possible by using CompA and CompC to match on the same address as shown.
Figure 8-32. Scenario 4a
SCR1=0100 State1
M0
State2 SCR2=0011
M1
M2
M0
M1
SCR3=0001 State 3
Final State
M1
This scenario is currently not possible using 2 comparators only. S12SDBGV2 makes it possible with 2
comparators, State 3 allowing a M0 to return to state 2, whilst a M2 leads to final state as shown.
Figure 8-33. Scenario 4b (with 2 comparators)
SCR1=0110 State1
M0
State2 SCR2=1100
M2
SCR3=1110 State 3
M0
M2
M2
M01
Final State
M1 disabled in
range mode
The advantage of using only 2 channels is that now range comparisons can be included (channel0)
MC9S12G Family Reference Manual, Rev.1.01
316
Freescale Semiconductor
This document is valid for the S12G96 and the S12G128 device. All information related to other devices is preliminary.