English
Language : 

MC68HC05JJ6 Datasheet, PDF (118/216 Pages) Freescale Semiconductor, Inc – General Release Specification Microcontrollers
Analog Subsystem
8.6 A/D Conversion Methods
The control bits in the ACR provide various options to charge or
discharge current through the PB0/AN0 pin in order to perform single-
slope A/D conversions using an external capacitor from the PB0/AN0 pin
to VSS as shown in Figure 8-7. The various A/D conversion triggering
options are given in Table 8-3.
Charge Time = C x VX
I
VDD –1.5 Vdc
VOLTAGE ON
CAPACITOR
CONNECTED
TO (+) INPUT
CHARGE TIME
TO MATCH UNKNOWN
MAXIMUM CHARGE TIME
TO VDD –1.5 Vdc
UNKNOWN
OR REFERENCE
SIGNALS
RAMP
CAP
PB4/AN4
PB3/AN3
PB2/AN2
PB1/AN1
PB0/AN0
UNKNOWN VOLTAGE ON (–) INPUT
DISCHARGE TIME
TO RESET CAPACITOR
+5V
VDD
MC68HC05JJ6
VSS
MC68HC05JP6
Figure 8-7. Single-Slope A/D Conversion Method
The top three bits of the ACR control the charging and discharging
current into or out of the PB0/AN0 pin. These three bits will have no
effect on the PB0/AN0 pin if the ISEN enable bit is cleared. Any clearing
of the ISEN bit will immediately disable both the charge current source
and the discharge device. Since all these bits and the ISEN bit are
General Release Specification
118
Analog Subsystem
MC68HC05JJ6/MC68HC05JP6 — Rev. 3.2
Freescale Semiconductor