S1M8657
TX IF/BBA WITH AGC
24
General Purpose ADC Basic-Mode Operation Using SPI
(SEN = high, TXMODE_CONT[0] = low)
SPI can be used when SEN= high. The GP-ADC operates in the basic mode. Under these circumstances, GP-
ADC is under the control of the SPI registers. The results of conversion can be output to not only the SPI register
GPADC_RSLT[7:0] but also to GPDATA and GPCLK. When the basic mode turns on and SPI starts, they are
automatically set. If the TXMODE_CONT[0] is "0" and all GP-ADC related controls and input/output function are
conducted through the SPI bus, the GP-ADC only outputs the SPI input/output. GPENA can also drive GP-ADC;
in this case, GPDATA and GPCLK are output and save at the same time in the SPI register, GPADC_RSLT[7:0].
In this mode, MODE_CONT[6:5] register holds the parallel input pins, SMSB/PAON and SLSB/CLK. If GPENA
changes from low to high or GPDAC_MODE[7] register from "0" to "1", the GP-ADC stars the conversion.
Essentially these indicate the start of conversion in basic mode. For a new conversion, these GPENA and
GDAC_MODE[7] must be left at low state and intialization starts at the rising edge of when they become high.
While conversion is going on, GP-ADC cannot receive any signals. GPADC_RSLT[7:0], which has the GP-ADC
conversion value, maintains its previous value until the end of the new conversion.
Table 7. GP-ADC Range Select in Basic Mode
GPADC_MODE[4]
TXNODE_CONT[6:5]
Vin Mid
Input Range
LSB(mV)
GPADC Input
Zin
0
00
1.0
4
GPIN1
∞
0
01
2.0
1.0
4
GPIN1
∞
0
10
1.5
2.0
8
GPIN2
∞
0
11
1.5
2.0
8
GPIN3
∞
1
00
0.75
0.5
2
GPIN1
∞
1
01
1.5
2.0
8
GPIN1
∞
1
10
1.5
2.0
8
GPIN2
∞
1
11
1.5
2.0
8
GPIN3
∞
GP-ADC can select from various input range as well as resolution value for each mid-voltage and LSB. It has a
built-in input switch, which allows for easy connection with the input sensor. All programmable options are set by
SPI registers TXMODE_CONT[6:5] and GOADC_MODE[4].
General Purpose ADC Conversion Time
GP-ADC conversion time is determined based on the TCXO and GP-ADC clock divide ratio in the SPI register
GPADC_MODE[7:6]. GP-ADC needs a total of 6 GPCLK cycles from its restart to start of data sampling; the
required ADC conversion time is 8 and 1/2 GPCLK cycles.
A total of 14.5 GPCLK cycles are used.
Table 8. Maximum Conversion Time
GPADC_MODE[7:6]
Units
00
01
10
11
TCXO frequency
MHz
19.68
Divide ratio
16
32
48
64
Conversion time
us, max
11.79
23.58
35.37
47.17