[AK09918]
AK09918
3-axis Electronic Compass
1. General Description
AK09918 is 3-axis electronic compass IC with high sensitive Hall sensor technology.
Small package of AK09918 incorporates magnetic sensors for detecting terrestrial magnetism in the X-axis,
Y-axis, and Z-axis, a sensor driving circuit, signal amplifier chain, and an arithmetic circuit for processing
the signal from each sensor. Self-test function is also incorporated. From its compact foot print and thin
package feature, it is suitable for map heading up purpose in Smart phone to realize pedestrian navigation
function.
2. Features
Functions:
3-axis magnetometer device suitable for compass application
Built-in A to D Converter for magnetometer data out
16-bit data out for each 3-axis magnetic component
Sensitivity: 0.15 µT/LSB (typ.)
Serial interface
I2C bus interface
Standard and Fast modes compliant with Philips I2C specification Ver.2.1
Operation mode
Power-down, Single measurement, Continuous measurement and Self-test
DRDY function for measurement data ready
Magnetic sensor overflow monitor function
Built-in oscillator for internal clock source
Power on Reset circuit
Self-test function with internal magnetic source
Built-in magnetic sensitivity adjustment circuit
Operating temperatures:
-30˚C to +85˚C
Operating supply voltage:
Current consumption:
Power-down:
Measurement:
+1.65V to +1.95V
1 µA (typ.)
Average current consumption at 100 Hz repetition rate: 1.1mA (typ.)
Package:
AK09918C 4-pin WL-CSP (BGA):
0.8 mm 0.8 mm 0.5mm
016014242-E-00
2016/11
- 1 -
[AK09918]
3. Table of Contents
9.4.1.
9.4.2.
9.4.3.
9.4.4.
10.1.1.
10.1.2.
10.1.3.
1. General Description .................................................................................................................. 1
2. Features ..................................................................................................................................... 1
3. Table of Contents ...................................................................................................................... 2
4. Block Diagram and Functions ................................................................................................... 3
5. Pin Configurations and Functions ............................................................................................. 4
6. Absolute Maximum Ratings ...................................................................................................... 4
7. Recommended Operating Conditions ....................................................................................... 4
8. Electrical Characteristics ........................................................................................................... 5
8.1. DC Characteristics .............................................................................................................. 5
8.2. AC Characteristics .............................................................................................................. 6
8.3. Analog Circuit Characteristics ............................................................................................ 6
8.4. I2C Bus Interface ................................................................................................................ 7
9. Function Descriptions ............................................................................................................... 8
9.1. Power States ....................................................................................................................... 8
9.2. Reset Functions .................................................................................................................. 8
9.3. Operation Modes ................................................................................................................ 9
9.4. Description of Each Operation Mode ............................................................................... 10
Power-down Mode .................................................................................................... 10
Single Measurement Mode ........................................................................................ 10
Continuous Measurement Mode 1, 2, 3 and 4 ........................................................... 11
Self-test Mode............................................................................................................ 15
10. Serial Interface ...................................................................................................................... 16
10.1. I2C Bus Interface ............................................................................................................ 16
Data Transfer ........................................................................................................... 16
WRITE Instruction .................................................................................................. 18
READ Instruction .................................................................................................... 19
11. Registers ................................................................................................................................ 20
11.1. Description of Registers ................................................................................................. 20
11.2. Register Map .................................................................................................................. 21
11.3. Detailed Description of Register .................................................................................... 22
WIA: Who I Am ...................................................................................................... 22
RSV: Reserved register ............................................................................................ 22
ST1: Status 1 ............................................................................................................ 22
HXL to HZH: Measurement data ............................................................................ 23
TMPS: Dummy register ........................................................................................... 23
ST2: Status 2 ............................................................................................................ 24
CNTL1: Dummy register ......................................................................................... 24
CNTL2: Control 2 .................................................................................................... 24
CNTL3: Control 3 .................................................................................................... 25
TS1, TS2: Test register........................................................................................... 25
12. Example of Recommended External Connection ................................................................. 26
13. Package ................................................................................................................................. 27
13.1. Marking .......................................................................................................................... 27
13.2. Pin Assignment ............................................................................................................... 27
13.3. Outline Dimensions ........................................................................................................ 28
13.4. Recommended Foot Print Pattern ................................................................................... 28
14. Relationship between the Magnetic Field and Output Code ................................................. 29
IMPORTANT NOTICE .............................................................................................................. 30
11.3.1.
11.3.2.
11.3.3.
11.3.4.
11.3.5.
11.3.6.
11.3.7.
11.3.8.
11.3.9.
11.3.10.
016014242-E-00
2016/11
- 2 -
[AK09918]
4. Block Diagram and Functions
Block
3-axis Hall sensor
MUX
Chopper SW
HE-Drive
Pre-AMP
Integrator & ADC
OSC
POR
VREF
Interface Logic
&
Register
Timing Control
Magnetic Source
Function
Monolithic Hall elements.
Multiplexer for selecting Hall elements.
Performs chopping.
Magnetic sensor drive circuit.
Fixed-gain differential amplifier used to amplify the magnetic sensor signal.
Integrates and amplifies Pre-AMP output and performs analog-to-digital
conversion.
Generates an operating clock for sensor measurement.
Power On Reset circuit. Generates reset signal on rising edge of VDD.
Generates reference voltage and current.
Exchanges data with an external CPU.
I2C bus interface using two pins, namely, SCL and SDA. Standard and Fast modes
are supported.
Generates a timing signal required for internal operation from a clock generated by
the OSC.
Generates magnetic field for Self-test of magnetic sensor.
016014242-E-00
2016/11
- 3 -
3-axis Hall sensor MUX SDA Chopper SW HE-Drive Pre- AMP Integrator&ADC Interface Logic & Register SCL VDD VREF Timing Control OSC Magnetic source VSS POR
[AK09918]
5. Pin Configurations and Functions
Pin No.
Pin name
I/O
Type
Function
A1
A2
B1
B2
VSS
SCL
VDD
-
I
-
-
CMOS
Power
SDA
I/O
CMOS
Ground pin.
Control data clock input pin.
Input: Schmidt trigger
Positive power supply pin.
Control data input/output pin.
Input: Schmidt trigger, Output: Open-drain
6. Absolute Maximum Ratings
Vss = 0V
Parameter
Symbol
Power supply voltage
Input voltage
(except for power supply pin)
Input current
(except for power supply pin)
Storage temperature
Vdd
VIN
IIN
Tst
Min.
-0.3
-0.3
-
-40
Max.
+2.5
+2.5
±10
+125
Unit
V
V
mA
˚C
If the device is used in conditions exceeding these values, the device may be destroyed. Normal operations are not
guaranteed in such exceeding conditions.
7. Recommended Operating Conditions
Vss = 0V
Parameter
Symbol
Operating temperature
Power supply voltage
Ta
Vdd
Min.
-30
1.65
Typ.
Max.
Unit
1.8
+85
1.95
˚C
V
016014242-E-00
2016/11
- 4 -
[AK09918]
8. Electrical Characteristics
The following conditions apply unless otherwise noted:
Vdd = 1.65V to 1.95V, Temperature range = -30˚C to +85˚C.
8.1. DC Characteristics
Condition
Min.
Typ.
Max.
Unit
1
1.5
2.5
30%Vdd
V
V
+10
µA
V
20%Vdd
V
3
3
4
µA
mA
mA
Parameter
Symbol
High level input voltage
VIH
Low level input voltage
VIL
Input current
IIN
Hysteresis input voltage
VHS
(Note 1)
Low level output voltage
VOL
(Note 2)
Pin
SCL
SDA
SCL
SDA
SCL
SDA
SCL
SDA
SDA
70%Vdd
-0.3
VIN = Vss or Vdd
-10
10%Vdd
IOL ≤ +3mA
Current consumption
IDD1
VDD
Power-down mode
(Note 3)
IDD2
IDD3
Vdd = 1.95V
When magnetic sensor
is driven
Self-test mode
(Note 1) Schmitt trigger input (reference value for design)
(Note 2) Output is Open-drain. Connect a pull-up resistor externally. Maximum capacitive load: 400pF
(Capacitive load of each bus line for I2C bus interface).
(Note 3) Without any resistance load. It does not include the current consumed by external loads
(pull-down resister, etc.). SDA = SCL = Vdd or 0V.
016014242-E-00
2016/11
- 5 -
[AK09918]
8.2. AC Characteristics
Parameter
Symbol
Pin
Condition
Min. Typ. Max. Unit
Power supply rise time
PSUP VDD
Period of time that VDD changes
(Note 4)
POR completion time
PORT
(Note 4)
from 0.2V to Vdd.
Period of time after PSUP to
Power-down mode (Note 5)
Power supply turn off
SDV
VDD Turn off voltage to enable POR to
voltage (Note 4)
Power supply turn on
PSINT VDD
interval (Note 4)
restart (Note 5)
Period of time that voltage lower
than SDV needed to be kept to
enable POR to restart (Note 5)
Wait time before mode
Twait
100
100
50
100
0.2
ms
µs
V
µs
µs
setting
(Note 4) Reference value for design.
(Note 5) When POR circuit detects the rise of VDD voltage, it resets internal circuits and initializes the
registers. After reset, AK09918 transits to Power-down mode.
Power-down mode
Power-down mode
PORT
VDD
SDV
0V
PSUP
PSINT
8.3. Analog Circuit Characteristics
Parameter
Symbol
Condition
Min.
Typ. Max.
Unit
Measurement data output bit
Time for measurement
Magnetic sensor sensitivity
Magnetic sensor measurement range
(Note 6)
DBIT
TSM
BSE
BRG
-
Single measurement mode
16
7.2
-
8.2
bit
ms
Ta = 25 ˚C
Ta = 25 ˚C
0.1425
±4670
0.15
±4912
0.1575 µT/LSB
±5160
µT
Magnetic sensor initial offset
BIO
Ta = 25 ˚C
-2000
+2000
LSB
(Note 7)
(Note 6) Reference value for design
(Note 7) Value of measurement data register on shipment test without applying magnetic field on purpose.
016014242-E-00
2016/11
- 6 -
[AK09918]
8.4. I2C Bus Interface
I2C bus interface is compliant with Standard mode and Fast mode. Standard/Fast mode is selected
automatically by fSCL.
Standard mode
Parameter
Min.
Typ.
4.0
4.7
4.0
4.7
0
250
4.0
4.7
0.6
1.3
0.6
0.6
0
100
0.6
1.3
Max.
100
1.0
0.3
Max.
400
0.3
0.3
50
VIH
VIL
Unit
kHz
s
s
s
s
s
s
s
ns
s
s
Unit
kHz
s
s
s
s
s
s
s
ns
s
s
ns
Parameter
Min.
Typ.
fSCL ≤ 100kHz
Symbol
fSCL
tHIGH
tLOW
tR
tF
tHD:STA
tSU:STA
SCL clock frequency
SCL clock “High” time
SCL clock “Low” time
SDA and SCL rise time
SDA and SCL fall time
Start Condition hold time
Start Condition setup time
tHD:DAT
SDA hold time (vs. SCL falling edge)
tSU:DAT
tSU:STO
tBUF
SDA setup time (vs. SCL rising edge)
Stop Condition setup time
Bus free time
Fast mode
100kHz ≤ fSCL ≤ 400kHz
Symbol
fSCL
tHIGH
tLOW
tR
tF
tHD:STA
tSU:STA
SCL clock frequency
SCL clock “High” time
SCL clock “Low” time
SDA and SCL rise time
SDA and SCL fall time
Start Condition hold time
Start Condition setup time
tHD:DAT
SDA hold time (vs. SCL falling edge)
tSU:DAT
tSU:STO
tBUF
tSP
SDA setup time (vs. SCL rising edge)
Stop Condition setup time
Bus free time
Noise suppression pulse width
[I2C bus interface timing]
SCL
1/fSCL
016014242-E-00
2016/11
- 7 -
tHIGH SCL SDA VIH tLOW tBUF tHD:STA tR tF tHD:DAT tSU:DAT tSU:STA Stop Start Start Stop tSU:STO VIL VIH VIL tSP
[AK09918]
9. Function Descriptions
9.1. Power States
When VDD is turned on from Vdd = OFF (0V), all registers in AK09918 are initialized by POR circuit and
AK09918 transits to Power-down mode.
State
1
2
VDD
OFF (0V)
1.65V to 1.95V
Table 9.1. Power state
Power state
OFF
It doesn’t affect external interface.
ON
9.2. Reset Functions
Power on Reset (POR) works until Vdd reaches to the operation effective voltage (about 1.1V: reference
value for design) on power-on sequence. After POR is completed, all registers are initialized and AK09918
transits to Power-down mode.
When Vdd = 1.65 to 1.95V, POR circuit is active.
AK09918 has two types of reset;
(1) Power on Reset (POR)
When Vdd rise is detected, POR circuit operates, and AK09918 is reset.
(2) Soft reset
AK09918 is reset by setting SRST bit. When AK09918 is reset, all registers are initialized and
AK09918 transits to Power-down mode.
016014242-E-00
2016/11
- 8 -