DATA SHEET
HAL880
5.6. 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 “1”,
before sending an ERASE and PROM
command. Otherwise the data stored in the GP
register will not be changed.
If all HAL880 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 HAL880. The LOCK
function is active after the next power-up of the
sensor. The success of the lock process should
be checked by reading at least one sensor reg-
ister after locking and/or by an analog check of
the sensors output signal. Electrostatic dis-
charges (ESD) may disturb the programming
pulses. Please take precautions against ESD.
Micronas
Feb. 23, 2009; DSH000152_001EN
33