[AK4675]
MS0963-E-00
2008/05
- 135 -
ミ
SAR 10bit ADC
The AK4675 incorporates a 10-bit successive approximation resistor A/D converter for DC measurement.
The A/D converter output is a straight binary format as shown in
Input Voltage
Output Code
(AVDD
−
1.5LSB)
~
AVDD 3FFH
(AVDD
−
2.5LSB)
~
(AVDD
−
1.5LSB)
3FEH
: :
0.5LSB
~
1.5LSB 001H
0
~
0.5LSB 000H
Table 112. Output Code
When PMSAD bit is set to “1”, 10bit ADC is powered-up. When the control register is read, A/D conversion is executed
and data is output.
10bit ADC supports 3 kinds of analog input. A1-0 bits select the measurement modes.
Mode A1 A0
Input
Channel
0 0 0
SAIN1
(default)
1 0 1
SAIN2
2 1 0
SAIN3
3 1 1
N/A
Table 113. SAR ADC Measurement Mode
<SAR ADC Execute Sequence (in case that the interrupt function is enabled.)>
(1)
Select the measurement mode by A1-0 bits and set PMSAD bit = “1” to power-up SAR ADC.
(2)
Read Addr=5BH so that A/D conversion is executed and MSB 8bit data is output.
(3)
Additionally read Addr=5CH then LSB 2bit data is output.
<SAR ADC Execute Sequence (in case that the interrupt function is disabled.)>
(1)
GPOM1 bit should be set to “1”. The GPO1 pin can be used as the interrupt output pin.
(2)
Select the measurement mode by A0 bit.
(3)
The GPO1 pin goes to “H” when the input DC voltage of the SAIN1 or SAIN2 pin (selected by A0 bit) is higher than
the input voltage of the SAIN3 pin.
(4)
After CPU detects the GPO1 pin = “H”, set GPOM1 bit = “0” and PMSAD bit = “1” to power-up SAR ADC.
(5)
Read Addr=5BH so that A/D conversion is executed and MSB 8bit data is output.
(6)
Additionally read Addr=5CH then LSB 2bit data is output.