English
Language : 

MC9S08SG8 Datasheet, PDF (119/310 Pages) Freescale Semiconductor, Inc – Microcontrollers
Chapter 9 Analog-to-Digital Converter (S08ADCV1)
Calibration at 3 points, -40°C, 25°C, and 125°C will improve accuracy to ± 2.5°C. Once calibration has
been completed, the user will need to calculate the slope for both hot and cold. In application code, the
user would then calculate the temperature using Equation 9-1 as detailed above and then determine if the
temperature is above or below 25°C. Once determined if the temperature is above or below 25°C, the user
can recalculate the temperature using the hot or cold slope value obtained during calibration.
Figure 9-1 shows the MC9S08SG8 with the ADC module highlighted.
BKGD/MS
RESET
HCS08 CORE
CPU
BDC
HCS08 SYSTEM CONTROL
RESETS AND INTERRUPTS
MODES OF OPERATION
POWER MANAGEMENT
COP
LVD
USER FLASH
(MC9S08SG8 = 8192 BYTES)
(MC9S08G4 = 4096 BYTES)
USER RAM
(MC9S08SG8 = 512 BYTES)
(MC9S08SG4 = 256 BYTES)
40-MHz INTERNAL CLOCK
SOURCE (ICS)
LOW-POWER OSCILLATOR
31.25 kHz to 38.4 kHz
1 MHz to 16 MHz
(XOSC)
VSS
VDD
VOLTAGE REGULATOR
DEBUG MODULE (DBG)
ANALOG COMPARATOR
(ACMP)
10-BIT
ANALOG-TO-DIGITAL
CONVERTER (ADC)
IIC MODULE (IIC)
8-BIT MODULO TIMER
MODULE (MTIM)
REAL-TIME COUNTER
(RTC)
SERIAL PERIPHERAL
INTERFACE MODULE (SPI)
SERIAL COMMUNICATIONS
INTERFACE MODULE (SCI)
16-BIT TIMER/PWM
MODULE (TPM1)
16-BIT TIMER/PWM
MODULE (TPM2)
PTA3/PAI3/SCL/ADP3
PTA2/PAI2/SDA/ADP2/ACMPO
PTA1/PIA1/TPM2CH0/ADP1/ACMP–
PTA0/PIA0/TPM1CH0/TCLK/ADP0/ACMP+
SEE NOTE 1,
PTB7/SCL/EXTAL
PTB6/SDA/XTAL
PTB5/TPM1CH1/SS
PTB4/TPM2CH1/MISO
PTB3/PIB3/MOSI/ADP7
PTB2/PIB2/SPSCK/ADP6
PTB1/PIB1/TxD/ADP5
PTB0/PIB0/RxD/ADP4
SEE NOTE 1, 2
PTC3/ADP11
PTC2/ADP10
PTC1/TPM1CH1/ADP9
PTC0/TPM1CH0/ADP8
= Pin can be enabled as part of the ganged output drive feature
NOTE1: Port B not available on 8-pin Packages
NOTE2: Port C not available on 8-pin or 16-pin Packages
Figure 9-1. MC9S08SG8 Block Diagram Highlighting ADC Block and Pins
MC9S08SG8 MCU Series Data Sheet, Rev. 0
Freescale Semiconductor
PRELIMINARY
119