KMA220
NXP Semiconductors
Dual channel programmable angle sensor
Table 23. CLAMP_HI - upper clamping level (address Ch) 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
U[1]
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 4865 to 5120 are reserved. It is not permitted to use such values.
Examples:
• 100 %VDD = 5120 (reserved)
• 95 %VDD = 4864
• 90 %VDD = 4608
Table 24. ANG_RNG_MULT_MSB - most significant bits of angular range multiplicator (address 9h) bit allocation
Data format: unsigned fixed point; resolution: 21.
Bit
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
Value
CLAMP_SW_ANGLE
24
23
22
21
20
21
CLAMP_HI – CLAMP_LO
180
------------------------------------------------------------------ ---------------------------------------------------
ANG_RNG_MULT =
Examples:
(10)
8192
ANGULAR_RANGE
4864 – 256 180
-------------------------- -----------
• ANG_RNG_MULT =
= 0.5625
8192
180
4864 – 256 180
-------------------------- -----------
= 1.125
• ANG_RNG_MULT =
8192
90
Table 25. ANG_RNG_MULT_LSB - least significant bits of angular range multiplicator (address Ah) bit allocation
Data format: unsigned fixed point; resolution: 214
.
Bit
15
14
13
V[1]
12
22
11
23
10
24
9
25
8
26
7
27
6
28
5
29
4
3
2
1
0
Value
V[1]
210 211 212 213 214
[1] Variable; depending on the setting of diagnostic level and slope of analog output.
CLAMP_HI – CLAMP_LO
180
------------------------------------------------------------------ ---------------------------------------------------
ANG_RNG_MULT =
(11)
8192
ANGULAR_RANGE
Table 26. CLAMP_SW_ANGLE - clamp switch angle (address 9h) bit allocation
Data format: unsigned fixed point; resolution: 210
.
Bit
15
21
14
22
13
23
12
24
11
25
10
26
9
27
8
28
7
29
6
210
5
4
3
2
1
0
Value
ANG_RNG_MULT_MSB
Mechanical angular range 0000h = 0 to 3FFh = 180 1 LSB.
1
2
CLAMP_HI – CLAMP_LO
1
--
CLAMP_SW_ANGLE = 1 +
-------------------------------------------------------------------- ----------------------------------------------
(12)
8192
ANG_RNG_MULT
If the magnetic field angle is larger than the CLAMP_SW_ANGLE, the output switches to
CLAMP_LO for a positive slope. Program the value of CLAMP_SW_ANGLE, which can
be calculated from other non-volatile memory constants.
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
27 of 36