English
Language : 

KMA221 Datasheet, PDF (24/36 Pages) NXP Semiconductors – Programmable angle sensor
NXP Semiconductors
KMA221
Programmable angle sensor
13.5.2 Non-volatile memory registers
The device includes several internal registers which are used for customization and
identification.
The initial signature allows read access to all areas but only write access to customer
registers. Write accesses to reserved areas are ignored. Since these registers are
implemented as non-volatile memory cells, writing to the registers needs a specific time
tprog after each write access to complete.
As there is no check for the programming time, make sure that no other accesses to the
non-volatile memory are made during the programming cycle. Do not address
the non-volatile memory during the time tprog.
Note: Before data can be stored in the non-volatile memory, switch on the internal charge
pump for the programming duration by setting register CTRL1, bit 11 CP_CLOCK_EN and
register TESTCTRL0, bit 11 WRITE_EN. To calculate the checksum, read out and consult
register addresses 8h to Fh.
Table 20. Non-volatile memory registers
Address Command Register
write/read
Bit
Description
Default
MSB/LSB
0h
-/01h
reserved
-
addresses are reserved for calibration purposes [1]
1h
-/03h
2h
-/05h
3h
-/07h
4h
-/09h
5h
-/0Bh
6h
-/0Dh
7h
-/0Fh
8h
10h/11h ZERO_ANGLE
15 to 0 mechanical zero degree position; see Table 21 00h/00h
9h
12h/13h ANG_RNG_MULT_MSB 15 to 6 CLAMP_SW_ANGLE; when the measured angle FFh/C1h
is bigger than CLAMP_SW_ANGLE the output
switches to CLAMP_LO for a positive slope;
see Table 26
5 to 0
ANG_RNG_MULT_MSB; most significant bits of
the angular range multiplicator; see Table 24
Ah
14h/15h ANG_RNG_MULT_LSB 15 and 14 DIAGNOSTIC_LEVEL; diagnostic level behavior 04h/00h
of the analog output; see Table 25
00b — active LOW (in lower diagnostic range)
with driver strength of the analog output
01b — active HIGH (in upper diagnostic range)
with driver strength of the analog output
10b — reserved
11b — reserved
13
SLOPE_DIR; slope of analog output
0b — rising (not inverted)
1b — falling (inverted)
12 to 0
ANG_RNG_MULT_LSB; least significant bits of
the angular range multiplicator
KMA221
Product data sheet
All information provided in this document is subject to legal disclaimers.
Rev. 1 — 16 July 2013
© NXP B.V. 2013. All rights reserved.
24 of 36