ASAHI KASEI
[AK4181A]
MS0313-E-00
2004/06
11
Control Command
The control command, 8 bits, provided to the AK4181A via DIN is shown in the following table. This command includes start bit,
channel selection, resolution, measurement configuration, and power-down mode. The AK4181A latches the serial command at
the rising edge of DCLK. Table 2 gives detailed information regarding the bit order, function, the status of driver switch, ADC
input, reference voltage.
D7
D6
D5
D4
D3
D2
D1
D0
S
A2
A1
A0
MODE
SER/ DFR
PD1
PD0
BIT
Name
Function
7
S
Start Bit. This bit must be “H” because the AK4181A initiates the command recognition
6-4
A2-A0
Channel Selection Bits. Analog inputs to the A/D converter and the activated driver switches are
selected. Please see the following table for the detail.
3
MODE
Resolution of A/D converter. ”L”: 12 bit output
“H”: 8 bit output
2
SER/ DFR
Measurement Mode (Single-Ended/Differential)
3
PD1-PD0
Power-down Mode (reference to “
Power-down Control”)
Control Command
Status of Driver Switch
ADC input (
AIN)
Reference Voltage
(
VREF)
A2
A1
A0
SER/
DFR
XP
XN
YP
YN
AIN+
AIN-
VREF+
VREF-
Note
0
1
OFF
TEMP0
GND
VREF
GND
TEMP0
0
1
OFF
ON
XP
GND
VREF
GND
Y-axis
0
1
0
1
OFF
VBAT
GND
VREF
GND
Battery Monitor
0
1
OFF
ON
OFF
XP(Z1)
GND
VREF
GND
Z1 (Pen Pressure)
1
0
1
OFF
ON
OFF
YN(Z2)
GND
VREF
GND
Z2 (Pen Pressure)
1
0
1
ON
OFF
YP
GND
VREF
GND
X-axis
1
0
1
OFF
IN1
GND
VREF
GND
IN1
1
OFF
TEMP1
GND
VREF
GND
TEMP1
0
NA
0
1
0
OFF
ON
XP
YN
YP
YN
Y-axis
0
1
0
NA
0
1
0
OFF
ON
OFF
XP(Z1)
XN
YP
XN
Z1 (Pen Pressure)
1
0
OFF
ON
OFF
YN(Z2)
XN
YP
XN
Z2 (Pen Pressure)
1
0
1
0
ON
OFF
YP
XN
XP
XN
X-axis
1
0
OFF
IN2
GND
VREF
GND
IN2 (Note 6)
1
0
NA
Note 6. Note that IN2 auxiliary input is measured by single-ended mode although SER/ DFR bit is “0”.
Table 2 Control Command List