
KMA210
All information provided in this document is subject to legal disclaimers.
NXP B.V. 2011. All rights reserved.
Product data sheet
Rev. 1 — 30 June 2011
19 of 36
NXP Semiconductors
KMA210
Programmable angle sensor
A more detailed description of all customer accessible registers is given in
Section 13.5
.
Both default value and the complete command including the address and write or read
request are also listed.
13.3.1
Write access
To write data to the non-volatile memory, the internal charge pump must be enabled by
setting bits CP_CLOCK_EN and WRITE_EN and waiting for t
cp
. The following procedure
must be performed:
1. Start condition: The master drives a rising edge after a LOW level
2. Command: The master sends a write command (CMD0 = 0)
3. Data: The master sends two data bytes
4. Stop condition: The master drives a rising edge after a LOW level
Figure 15
shows the write access of the digital interface. The signal OWI represents the
data on the bus from the master or slave. The signals: master output enable and slave
output enable indicate when the master or the slave output is enabled or disabled,
respectively.
Note
: As already mentioned in
Section 13.1
, the command mode has to be entered using
the write procedure. If command mode is not entered, communication is not possible and
the sensor operates in normal operation mode. After changing an address, the time t
prog
must elapse before changing another address. Finally the checksum must be recalculated
and written, because the contents of the non-volatile memory have been changed
(see
Section 13.4
).
(1) Missing rising edges generate a time-out condition and the written data is ignored.
(2) If the master does not drive the bus, the bus is defined by the bus-pull.
Fig 15. OWI write access
001aag743
master
output
enable
slave
output
enable
START
CMD7
CMD0
STOP
(1)
(2)
IDLE
WDATA15
WDATA0
OWI