English
Language : 

MC9S08EL32 Datasheet, PDF (129/356 Pages) Freescale Semiconductor, Inc – 8-Bit HCS08 Central Processor Unit (CPU)
Chapter 9
5-V Analog Comparator (S08ACMPV2)
9.1 Introduction
The analog comparator module (ACMP) provides a circuit for comparing two analog input voltages or for
comparing one analog input voltage to an internal reference voltage. The comparator circuit is designed to
operate across the full range of the supply voltage (rail-to-rail operation).
All MC9S08EL32 Series and MC9S08SL16 Series MCUs contain at least one ACMP. MC9S08EL32 and
MC9S08EL16 contain two ACMPs in the 28-pin package. See Table 9-1.
t
Table 9-1. MC9S08EL32 Series and MC9S08SL16 Series Features by MCU and Package
Feature
Pin quantity
Package type
ACMP1
ACMP2
9S08EL32
9S08EL16
28
20
28
20
TSSOP
yes
TSSOP TSSOP
yes
no
yes
TSSOP
no
9S08SL16
9S08SL8
28
20
28
20
TSSOP
TSSOP TSSOP
yes
no
TSSOP
NOTE
The MC9S08EL32 Series and MC9S08SL16 Series Family of devices
operates at a higher voltage range (2.7 V to 5.5 V) and does not include
stop1 mode.
9.1.1 ACMPx Configuration Information
When using the bandgap reference voltage for input to ACMPx+, the user must enable the bandgap buffer
by setting BGBE =1 in SPMSC1 see Section 5.7.6, “System Power Management Status and Control 1
Register (SPMSC1)”. For value of bandgap voltage reference see Section A.6, “DC Characteristics”.
9.1.2 ACMP1/TPM1 Configuration Information
The ACMP1 module can be configured to connect the output of the analog comparator to TPM1 input
capture channel 0 by setting ACIC in SOPT2. With ACIC set, the TPM1CH0 pin is not available externally
regardless of the configuration of the TPM1 module for channel 0.
MC9S08EL32 Series and MC9S08SL16 Series Data Sheet, Rev. 3
Freescale Semiconductor
129