English
Language : 

MC9S08SH32CWL Datasheet, PDF (113/328 Pages) Freescale Semiconductor, Inc – MC9S08SH32 Series Features
Chapter 8
Analog Comparator 5-V (S08ACMPV3)
8.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).
Figure 8-1 shows the MC9S08SH32 Series block diagram with the ACMP highlighted.
8.1.1 ACMP Configuration Information
When using the bandgap reference voltage for input to ACMP+, 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”.
8.1.2 ACMP/TPM Configuration Information
The ACMP 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.
MC9S08SH32 Series Data Sheet, Rev. 2
Freescale Semiconductor
113
PRELIMINARY