NXP Semiconductors
QN902x
User Manual of QN902x
UM10996
All information provided in this document is subject to legal disclaimers.
© NXP Semiconductors N.V. 2018. All rights reserved.
User Manual
Rev 1.3
— 05 November 2018
40 of 128
27-24
RW
0
SCAN_CH_ST
ART[3-0]
Start channel in scan mode, or current channel in non-
scan mode:
0x00 = AIN0/P3_0 (single-end)
0x01 = AIN1/P3_1 (single-end)
0x02 = AIN2/P0_6 (single-end)
0x03 = AIN3/P0_7 (single-end)
0x04 = AIN0/AIN1 (differential)
0x05 = AIN2/AIN3 (differential)
0x06 = Reserved
0x07 = BATT (battery monitor)
Others: Reserved
23-19
RW
0
RSVD
Reserved.
18-17
RW
11b
SCAN_INTV[1-
0]
Interval when switching ADC source:
00b = 0 cycle
01b = 1 cycle
10b = 2 cycles
11b = 3 cycles
16
RW
0
SCAN_EN
Scan mode enable
0 = Disable
1 = Enable
15
RW
0
SINGLE_EN
Single mode enable
0 = Disable
1 = Enable
14-12
RW
0
START_SEL[2-
0]
ADC conversion trigger sources:
000b = Software Start
001b = Timer0 overflow
010 = Timer1 overflow
011b = GPIO
100b = RSVD
Other = RSVD
11-10
RW
0
RSVD
Reserved.
9
RW
0
ADC_EN
ADC enable. Set it to 1 before starting conversion, and the
version is stopped if cleared.
8
RW
0
SFT_START
Software start ADC conversion
0->1 trigger ADC conversion
7-2
RW
1001b
POW_UP_DLY
[5-0]
Wait time from power up to stable, in clock cycles, at least
10us. If ADC is always ready, configure it to zero.
1
RW
0
POW_DN_CT
RL
ADC power down control
0 = Software control of power down by PD_SAR_ADC
1= Hardware control, only working in single or single scan
mode
0
RW
0
RSVD
Reserved
Table 29 ADC1
31
30
29
28
27
26
25
24
23
22
21
20
19
18
17
16
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0