English
Language : 

S9S12XS256J0CAL Datasheet, PDF (55/738 Pages) Freescale Semiconductor, Inc – Microcontrollers
1.7 ATD0 Configuration
Device Overview S12XS Family
1.7.1 External Trigger Input Connection
The ATD module includes four external trigger inputs ETRIG0, ETRIG1, ETRIG2, and ETRIG3. The
external trigger allows the user to synchronize ATD conversion to external trigger events. Table 1-13
shows the connection of the external trigger inputs.
Table 1-13. ATD0 External Trigger Sources
External Trigger
Input
ETRIG0
ETRIG1
ETRIG2
ETRIG3
Connectivity
Pulse width modulator channel 1
Pulse width modulator channel 3
Periodic interrupt timer hardware trigger 0
Periodic interrupt timer hardware trigger 1
Consult the ATD section for information about the analog-to-digital converter module. References to
freeze mode are equivalent to active BDM mode.
1.7.2 ATD0 Channel[17] Connection
Further to the 16 externally available channels, ATD0 features an extra channel[17] that is connected to
the internal temperature sensor at device level. To access this channel ATD0 must use the channel encoding
SC:CD:CC:CB:CA = 1:0:0:0:1 in ATDCTL5. For more temperature sensor information, please refer to
1.8.1 Temperature Sensor Configuration.
1.8 VREG Configuration
The device must be configured with the internal voltage regulator enabled. Operation in conjunction with
an external voltage regulator is not supported.
The API trimming register APITR is loaded from the Flash IFR option field at global address 0x40_00F0
bits[5:0] during the reset sequence. Currently factory programming of this IFR range is not supported.
Read access to reserved VREG register space returns “0”. Write accesses have no effect. This device does
not support access abort of reserved VREG register space.
1.8.1 Temperature Sensor Configuration
The VREG high temperature trimming register bits VREGHTTR[3:0] are loaded from the internal Flash
during the reset sequence. To use the high temperature interrupt within the specified limits (THTIA and
THTID) these bits must be loaded with 0x8. Currently factory programming is not supported.
The device temperature can be monitored on ATD0 channel[17]. The internal bandgap reference voltage
can also be mapped to ATD0 analog input channel[17]. The voltage regulator VSEL bit when set, maps
the bandgap and, when clear, maps the temperature sensor to ATD0 channel[17].
S12XS Family Reference Manual, Rev. 1.13
Freescale Semiconductor
55