KMA220
NXP Semiconductors
Dual channel programmable angle sensor
Table 20. Non-volatile memory registers …continued
Address Command Register
write/read
Bit
Description
0b — reserved
Default
MSB/LSB
Bh
Ch
16h/17h
18h/19h
CLAMP_LO
CLAMP_HI
15
01h/00h
14 and 13 undefined[2]
12 to 0
15 to 13
12 to 0
15 to 0
15 to 0
15
lower clamping level; see Table 22
undefined[2]
13h/00h
upper clamping level; see Table 23
lower 16 bits of identification code
upper 16 bits of identification code
LOCK; irreversible write protection of non-volatile 00h/[1]
memory
Dh
Eh
Fh
1Ah/1Bh
1Ch/1Dh
1Eh/1Fh
ID_LO
00h/00h
00h/00h
ID_HI
CTRL_CUST
1b — enabled
14 to 8
7 to 0
MAGNET_LOSS; magnet-loss detection
00h — disabled
49h — enabled
CRC; checksum (see Section 13.4)
[1] Variable and individual for each device.
[2] Undefined; write as zero for default.
Table 21. ZERO_ANGLE - mechanical zero degree position (address 8h) bit allocation
Data format: unsigned fixed point; resolution: 216
.
Bit
15
21
14
22
13
23
12
24
11
25
10
26
9
27
8
28
7
29
6
5
4
3
2
1
0
Value
210 211 212 213 214 215 216
Mechanical angular range 0000h = 0 to FFFFh = 180 1 LSB.
Examples:
• Mechanical zero angle 0 = 0000h
• Mechanical zero angle 10 = 0E38h
• Mechanical zero angle 45 = 4000h
Table 22. CLAMP_LO - lower clamping level (address Bh) bit allocation
Data format: unsigned integer (DAC values 256 to 4864); resolution: 20.
Bit
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
Value
0
U[1]
U[1]
212
211
210
29
28
27
26
25
24
23
22
21
20
[1] Undefined; write as zero for default; returns any value when read.
Values 0 to 255 are reserved. It is not permitted to use such values.
Examples:
• 100 %VDD = 5120 (reserved)
• 10 %VDD = 512
• 5 %VDD = 256
KMA220
All information provided in this document is subject to legal disclaimers.
© NXP B.V. 2012. All rights reserved.
Product data sheet
Rev. 1 — 24 May 2012
26 of 36