KMA200 All information provided in this document is subject to legal disclaimers. © NXP B.V. 2011. All rights reserved.
Product data sheet Rev. 8 — 7 December 2011 22 of 33
NXP Semiconductors
KMA200
Programmable angle sensor
13.2 Command mode
This mode is used for calibration and programming. The KMA200 is controlled with serial
interface commands.
To activate the command mode, the following initialization procedure must be executed
during power-on reset. The pin CS
must be constantly held on HIGH level and
pin CLK/OUT2 must be constantly held on LOW level during power-on. This condition has
to start during reset and must be valid during the following initialization phase of the
KMA200 for at least 1 ms. CS
and CLK are internally weak pull-up so that at least CLK
must be actively driven. If these conditions are valid, the KMA200 starts in command
mode. At all other combinations or if the levels are not constant for the minimum time of
1 ms, the KMA200 starts in normal operation mode.
The normal operation mode is configured with sixteen 16-bit constants stored in the
on-chip EEPROM.
13.3 Notes to the programming
The KMA200 sensor is delivered in a pre-calibrated and preprogrammed default
condition.
The EEPROM addresses 0, 1, 5, C, D and E are device dependent and pre-calibrated
for each device. A changing of this contents to another value is not allowed,
because the specified data, influenced by these addresses, are no longer valid.
The EEPROM addresses A and B are used to store production related information.
A changing of these values should not be done.
Definition:
Address A: storage the date code. Date code assembly center: day of the year
(maximum 365) + year (maximum 99)
Fig 12. Command mode
006aaa307
CS
max. 3 ms
min. 1 ms
(ASIC internal
Power-On-Reset)
DATA/OUT1
CLK/OUT2
V
DD
KMA200 All information provided in this document is subject to legal disclaimers. © NXP B.V. 2011. All rights reserved.
Product data sheet Rev. 8 — 7 December 2011 23 of 33
NXP Semiconductors
KMA200
Programmable angle sensor
Address B: storage the assembly lot no. (maximum 65535)
13.4 Write RAM (0nh), read RAM (1nh)
To write data to the RAM the command byte 0nh (n is the address of the data) followed by
the 16-bit data has to be send. To read data from the RAM, the command byte 1nh has to
be send. If CS
is activated again, the RAM contents at the specified address is clocked
out. Note that at power-on addresses 00h to 0Fh are read from the EEPROM into the
RAM.
13.5 Calculate CRC-16 and program EEPROM (30h)
To program the EEPROM, the configuration data has to be written to the RAM addresses
00h to 0Eh. Afterwards, the command byte 30h has to be sent and the EEPROM
programming voltage has to be applied at the V
DD
pin. The KMA200 calculates the
CRC-16 check sum and writes the RAM constants at addresses 00h to 0Fh to the
EEPROM. This command is only executed when the EP bit in the control information word
is logic 0 on power-on. If the EP bit is logic 1, this command is ignored.
Table 9. EEPROM content
Address Name Description
0 sensor_offset_1 dependent of individual production calibration results
1 sensor_offset_2 dependent of individual production calibration results
2 zero_angle mechanical 0 position relative to the zero point of the
sensor output; used for zero-angle calibration
default value: 0000h (0)
3 angular_range definition of the angular input range that is mapped to the
whole analog output signal range
default value: 0000h (180)
4
thresh
threshold for programmable output in mode 3
default value: internal CRC of the addresses 0, 1, 5, C, D
and E
5 temp_vref, temp_offs dependent of individual production calibration results
6T
shut(res)
, T
warn(res)
temperature warning and temperature shutdown level; used
for temperature supervision default value: FAF8h
(temperature shutdown at 200 C, warning at 198 C)
7 ctrl1 control information word 1; used for selection of various
operating modes default value: 4046h (output mode
standard + mode 1)
8 ctrl2 control information word 2; configures the diagnostic
functions default value: 0704h (temperature supervision is
on; input stage diagnosis is on; output stage diagnosis is off)
9V
(CL)l
, V
(CL)u
clamping voltage levels of analog outputs
default value: 00FFh (clamping level LOW at 5 %V
DD
,
clamping level HIGH at 95 %V
DD
)
A id1 sensor identifier 1; this data is not evaluated by the KMA200
and is used for sensor identification
B id2 sensor identifier 2; this data is not evaluated by the KMA200
and is used for sensor identification
C anom, tc_anom dependent of individual production calibration results
KMA200 All information provided in this document is subject to legal disclaimers. © NXP B.V. 2011. All rights reserved.
Product data sheet Rev. 8 — 7 December 2011 24 of 33
NXP Semiconductors
KMA200
Programmable angle sensor
[1] EP: EEPROM write protection: default value: 0
0 EEPROM programming possible
1 EEPROM not writable
This bit is evaluated only if the CRC checksum is valid.
[2] SL: rise and fall time of DATA output: default value: 0
0 nominal 150 ns
1 nominal 750 ns
[3] DO[1:0]: diagnosis of output stage: default value: 00
00 level 0: V
meas(OUT)
V
exp(OUT)
<10%V
DD
01 level 1: V
meas(OUT)
V
exp(OUT)
<5%V
DD
10 level 2: V
meas(OUT)
V
exp(OUT)
<2%V
DD
11 level 3: V
meas(OUT)
V
exp(OUT)
<1%V
DD
[4] DI[2:0]: diagnosis of input stage: default value: 000
000 level 0: A
Meas
A
Soll
<6.24mV/V
001 level 1: A
Meas
A
Soll
<4.68mV/V
010 level 2: A
Meas
A
Soll
<3.12mV/V
011 level 3: A
Meas
A
Soll
<1.56mV/V
100 level 4: A
Meas
A
Soll
<0.78mV/V
[5] OM[2:0]: output mode: default value: 100
000 digital output
001 complement digital output
100 analog output; standard + programmable output mode 1
101 analog output; standard + programmable output mode 2
110 analog output; standard + programmable output mode 3
111 analog output; standard output only
D tc_offset_1 dependent of individual production calibration results
E tc_offset_2 dependent of individual production calibration results
F CRC-16 dependent of individual programming
Table 9. EEPROM content
…continued
Address Name Description
Table 10. Format of zero_angle, angular_range and
thresh
zero_angle = A[15:0]
0.00275
, angular_range = A[15:0]
0.00275
and
thresh
= A[15:0]
0.00275
.
MSB LSB
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
A[15] A[14] A[13] A[12] A[11] A[10] A[9] A[8] A[7] A[6] A[5] A[4] A[3] A[2] A[1] A[0]
Table 11. Format of T
shut(res)
and T
warn(res)
T
shut(res)
=
50
C + TS[7:0]
1
C and T
warn(res)
=
50
C+TW[7:0]
1
C.
MSB LSB
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
T
shut(res)
T
warn(res)
TS
[7]
TS
[6]
TS
[5]
TS
[4]
TS
[3]
TS
[2]
TS
[1]
TS
[0]
TW
[7]
TW
[6]
TW
[5]
TW
[4]
TW
[3]
TW
[2]
TW
[1]
TW
[0]
Table 12. Format of ctrl1
MSB LSB
15 14 13
[1]
12 11
[2]
10
[3]
9
[3]
8
[4]
7
[4]
6
[5]
5
[5]
4
[5]
3 2 1 0
0 1 EP 0 SL DO1 DO0 DI1 DI0 OM2 OM1 OM0 0 1 1 0

KMA200,115

Mfr. #:
Manufacturer:
NXP Semiconductors
Description:
Motion & Position Sensors Board Mount Motion & Position Sensors SNSR MAGNETIC TAPE-7
Lifecycle:
New from this manufacturer.
Delivery:
DHL FedEx Ups TNT EMS
Payment:
T/T Paypal Visa MoneyGram Western Union

Products related to this Datasheet