
HAL1820, HAL24xy, HAL28xy, HAL36xy, HAL38xy
APPLICATION NOTE
Application Board HAL-APB V1.x
40
Oct. 8, 2012; APN000055_003EN
Micronas
10.1.3.
Error Handling
A global error flag is set if a LIN communication error, e.g. a shorted bus or a discon-
nected slave has been detected. There is no certain fault confinement implemented but
only this global error information. The last error information can be kept alive or reset.
Table 10–17:
Schedule Tables unconditional frames of the HAL-APB V1.x
Table Number
Description
ID_Table_1
Default scheduling table after startup. It comprises a set address to pre-
pare a data access (W/nR=0) and a Read 2 bytes frame. The address
is arbitrary. the default scheduling prevents the sensor from going into
sleep.
Frame1: PID = 0x03 (set address), 3 bytes
Frame2: PID = 0xc4 (Read 2 bytes), 2 bytes
ID_Table_2
This table prepares an address to read from (W/nR=0) and performs a
4 byte read from there.
Frame1: PID = 0x03 (set address), 3 bytes
Frame 2: PID = 0x85, (Read 4 bytes), 4 bytes
ID_Table_3
This table comprises a frame to write a byte to an address (W/nR=1). A
second frame includes only a dummy 4 byte read from this address.
Frame1: PID = 0x03 (set address), 3 bytes
Frame2: PID = 0x85 (Read 4 bytes), 4 bytes
Table 10–18:
Schedule table configuration frames of the HAL-APB V1.x
Table Number
Description
ID_Table_4
This table contains configuration frames to schedule.
The two frames are a request (PID60) and a response (PID61) frame.
the data bytes to be used with the request frame can be set by the user.
Frame1: PID60 = 0x3C, 8bytes
Frame2: PID61 =0x7D, 8bytes