English
Language : 

MC9S08AW16CFUE Datasheet, PDF (235/324 Pages) Freescale Semiconductor, Inc – MC9S08AW60 Features
Chapter 14 Analog-to-Digital Converter (S08ADC10V1)
14.2.2.1 Analog Pin Enables
The ADC on MC9S08AW60 Series contains only two analog pin enable registers, APCTL1 and APCTL2.
14.2.2.2 Low-Power Mode Operation
The ADC is capable of running in stop3 mode but requires LVDSE and LVDE in SPMSC1 to be set.
14.2.3 Temperature Sensor
The ADC1 module includes a temperature sensor whose output is connected to one of the ADC analog
channel inputs. Equation 14-1 provides an approximate transfer function of the temperature sensor.
Temp = 25 - ((VTEMP -VTEMP25) ÷ m)
Eqn. 14-1
where:
— VTEMP is the voltage of the temperature sensor channel at the ambient temperature.
— VTEMP25 is the voltage of the temperature sensor channel at 25°C.
— m is the hot or cold voltage versus temperature slope in V/°C.
For temperature calculations, use the VTEMP25 and m values from the ADC Electricals table.
In application code, the user reads the temperature sensor channel, calculates VTEMP, and compares to
VTEMP25 . If VTEMP is greater than VTEMP25 the cold slope value is applied in Equation 14-1. If VTEMP is
less than VTEMP25 the hot slope value is applied in Equation 14-1.
MC9S08AW60 Data Sheet, Rev 2
Freescale Semiconductor
235