English
Language : 

HAL-APB-V1.5 Datasheet, PDF (49/59 Pages) Micronas – Application Board HAL-APB V1.x
APPLICATION NOTE
HAL1820, HAL24xy, HAL28xy, HAL36xy, HAL38xy
Application Board HAL-APB V1.x
Table 11–21:HAL 283x / HAL 2850 commands
Action
read byte with base
address
returns data from
address to address+1
Command Parameter
pxrbSTR
STR = <A1><A0>
return value:
<ST>:<R3><R2><R1><R0><CRC>
write byte with base
address
pxwbSTR STR = <A1><A0><D1><D0><CRC>
return value:
<ST>:<R4><R3><R2><R1><R0>
write word with base
address
pxwwSTR STR = <A1><A0><D3><D2><D1><D0><CRC>
return value:
<ST>:<R4><R3><R2><R1><R0>
Remarks
<A> address as 2-digit hex No.
<ST> board status (see Table 6–9
on page 20 for details)
<R> received data as 4-digit hex No.
<CRC> checksum
Example
=> pxrb00
<= <ST>:D4537
<A> address as 2-digit hex No.
<D> data as 2-digit hex No.
<CRC> checksum
<ST> board status (see Table 6–9
on page 20 for details)
<R> received data as 5-digit hex No.
Example
=> pxwb00000
<= <ST>:000000
<A> address as 2-digit hex No.
<D> data as 4-digit hex No.
<CRC> checksum
<ST> board status (see Table 6–9
on page 20 for details)
<R> received data as 5-digit hex No.
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.
Micronas
Oct. 8, 2012; APN000055_003EN
49