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