
APPLICATION NOTE
HAL1820, HAL24xy, HAL28xy, HAL36xy, HAL38xy
Application Board HAL-APB V1.x
Micronas
Oct. 8, 2012; APN000055_003EN
49
11.6.
Locking of the Sensor
For reliability in service, it is mandatory to set the LOCK bit after final adjustment and
programming.
The success of the LOCK process should be checked by reading the status of the
LOCK bit after locking.
It is also mandatory to check the status bit of the received data or read/check the
EEPCTRL register after each store sequence to verify if the programming of the sensor
was successful.
Electro-static discharges (ESD) may disturb the supply voltage during programming.
Please take precautions against ESD.
For the programming during product development and also for production purposes, a
programming tool including hardware and software is available on request. It is recom-
mended to use the Micronas tool kit for an easy product development.
Note:
It is not possible to write or to read a register after locking.
read byte with base
address
returns data from
address to 1
pxrb
STR
STR
= <A1><A0>
return value:
<ST>:<R3><R2><R1><R0><CRC>
<A> address as 2-digit hex No.
<ST> board status
for details)
<R> received data as 4-digit hex No.
<CRC> checksum
Example
=> pxrb00
<= <ST>:D4537
write byte with base
address
pxwb
STR
STR
= <A1><A0><D1><D0><CRC>
return value:
<ST>:<R4><R3><R2><R1><R0>
<A> address as 2-digit hex No.
<D> data as 2-digit hex No.
<CRC> checksum
<ST> board status
for details)
<R> received data as 5-digit hex No.
Example
=> pxwb00000
<= <ST>:000000
write word with base
address
pxww
STR
STR
= <A1><A0><D3><D2><D1><D0><CRC>
return value:
<ST>:<R4><R3><R2><R1><R0>
<A> address as 2-digit hex No.
<D> data as 4-digit hex No.
<CRC> checksum
<ST> board status
for details)
<R> received data as 5-digit hex No.
Table 11–21:
HAL 283x / HAL 2850 commands
Action
Command
Parameter
Remarks