English
Language : 

HAL-APB-V1.5 Datasheet, PDF (47/59 Pages) Micronas – Application Board HAL-APB V1.x
APPLICATION NOTE
HAL1820, HAL24xy, HAL28xy, HAL36xy, HAL38xy
Application Board HAL-APB V1.x
effective address is permitted. Otherwise, the sensor does not respond. The effective
address is calculated by the base address plus offset address. The offset address is
defined by the address bits of the header (A b[4:0]).
11.4.4. Write byte with base address
The "write byte with base address" telegram uses the write data frame. The sensor
saves the received byte (DAT b[7:0]) to the calculated effective address and transmits
an acknowledge after the header and body has been successful received and the
effective address is permitted. Otherwise, the command is discarded and the sensor
transmits no acknowledge.
A "write byte with base address" telegram is also discarded while EEPROM program-
ming.
11.4.5. Write word with base address
This telegram is similar to the "write byte with base address" telegram. Unlike the "write
byte with base address" telegram, this telegram is used for writing 16-bit data to the
effective address and the effective address+1.
11.4.6. Special Cases
After reset, the IC does not execute a "read with base address", "write byte with base
address" or "write word with base address" command till a "set base address" telegram
has been received.
During the EEPROM programming sequence (clear and set), a "write byte with base
address" command or "write word with base address" command is discarded. It is rec-
ommended to pause the communication while the clear and set sequence is operated.
11.4.7. Protocol Error Handling
The sensor is detecting and logging protocol errors and command errors.
The sensor is detecting following communication errors:
- frame error
A frame error can occur due to a too short interframe space, a non valid start bit ("0"), a
non valid dummy bit "0", to less bits of a frame (time-out), or invalid pulse widths.
- invalid parity
- invalid checksum
- command error
A command error occurs when the command is either unknown or the execution has
failed.
In case of an error, the sensor neither transmits an acknowledge nor a body.
Micronas
Oct. 8, 2012; APN000055_003EN
47