SN8P1829
8-Bit MCU build-in 12-bit ADC + PGIA + Charge-pump Reg 128 dots LCD driver
SONiX TECHNOLOGY CO., LTD
Page 115
Version 1.0
1
1
1
3
3
3
3-CHANNEL ADC with BATTERY
MONITOR
OVERVIEW
This analog to digital converter of SN8P1829 has three external input and one internal battery monitor channel. The
resolution of ADC is up to 4096-step to transfer analog signal into 12-bits digital data. The sequence of ADC operation
is to select input source (AIN0 ~ AIN3, AIN3 for battery monitor) at first, then set GCHS and ADS bit to “1” to start
conversion. When the conversion is complete, the ADC circuit will set EOC bit to “1” and final value output in ADB
register. This ADC circuit can select 8-bit or 12-bit resolution operation by programming ADLEN bit in ADR register.
ADC
AIN0
AIN1
AIN2
VDD
AGND
00
01
10
11
11
CHS[1:0]
AVR
E
FH
AVR
E
FL
DAT
A B
U
S
8/12
Ch
a
rge
-P
u
m
p
Regu
lat
o
r
VD
D
3.6V
VDD CPRENB = 0
CPRENB = 1
3R
R
Figure 13-1. AD Converter Block Diagram
Note: For 8-bit resolution, the conversion time is 12 steps.
For 12-bit resolution, the conversion time is 16 steps.
Note: The analog input level must be between the AVREFH and AVREFL.
Note: The AVREFH level must be between the V
ADC
and 2.0V.
V
ADC
means ADC block power supply (3.8V or VDD). Refer to CPM register for detailed information.
Note: The AVREFL level must be between the AGND and AVREFH – 2.0V.
Note: ADC programming notice:
Delay 100uS after enable ADC (set ADENB = “1”) to wait ADC circuit ready for conversion.
Disable ADC (set ADENB = “0”) before enter sleep mode to save power consumption.