English
Language : 

AK8973 Datasheet, PDF (26/31 Pages) Asahi Kasei Microsystems – 3-axis Electronic Compass
ASAHI KASEI
[AK8973]
9.2.2. WRITE Instruction
9.2.2.1. Byte-Write
Data is written at a specified address. A stop condition is required for every byte of data writing.
Input a start condition, slave address (R/W="0"), address, and data in this order.
AK8973 generates an acknowledge after receiving a slave address, after receiving an address, and after
receiving data.
Upon reception of a stop condition, AK8973 starts an internal programming cycle.
During the internal programming cycle, avoid making accesses to any valid addresses of AK8973 for
operations including read and write operations for registers.
To stop the WRITE instruction, set WEN[4:0] bits of the MS1 register to other than "10101" when the internal
programming time or more has elapsed. If the programming time is insufficient, correct writing of the last data
is not guaranteed.
In case that data is written in successively.
W EN[4:0]
"10101"
SDA
S
T
A
R/W ="0"
R
T
S
Slave
Address
Register
Address(n)
Data(n)
A
A
C
C
K
K
S
S
T
T
A
O
R
P Twr: 10ms T
R/W ="0"
P
S
Slave
Address
A
A
C
C
K
K
In case of stopping write operation.
W EN[4:0]
"10101"
SDA
S
T
A
R/W ="0"
R
T
S
Slave
Address
Register
Address(n)
Data(n)
A
A
C
C
K
K
S
T
O
P Twr: 10ms
P
A
C
K
Fig. 12 Byte-write
Other than "10101"
MS0561-E-01 <Preliminary>
- 26 -
2007/01