DATA SHEET
HAL82x
5.5.1. Programming Information
If the content of any register (except the lock registers)
is to be changed, the desired value must first be writ-
ten into the corresponding RAM register. Before read-
ing out the RAM register again, the register value must
be permanently stored in the EEPROM.
Permanently storing a value in the EEPROM is done
by first sending an ERASE command followed by
sending a PROM command. The address within the
ERASE and PROM commands must be zero.
ERASE and PROM act on all registers in parallel.
Note: To store data in the GP register it is necessary
to set bit number 0 of the MODE register to one,
before sending an ERASE and PROM com-
mand. Otherwise the data stored in the GP reg-
ister will not be changed.
If all HAL82x registers are to be changed, all writing
commands can be sent one after the other, followed by
sending one ERASE and PROM command at the end.
During all communication sequences, the customer
has to check if the communication with the sensor was
successful. This means that the acknowledge and the
parity bits sent by the sensor have to be checked by
the customer. If the Micronas programmer board is
used, the customer has to check the error flags sent
from the programmer board.
Note: For production and qualification tests, it is man-
datory to set the LOCK bit after final adjustment
and programming of HAL82x. The LOCK func-
tion is active after the next power-up of the sen-
sor. The success of the Lock Process should be
checked by reading at least one sensor register
after locking and/or by an analog check of the
sensors output signal. Electrostatic Discharges
(ESD) may disturb the programming pulses.
Please take precautions against ESD.
Micronas
Feb. 3, 2009; DSH000143_003EN
31