
APPLICATION NOTE
HAL1820, HAL24xy, HAL28xy, HAL36xy, HAL38xy
Application Board HAL-APB V1.x
Micronas
Oct. 8, 2012; APN000055_003EN
41
10.2.
HAL 2810 (LIN2.0) – Board commands
Note:
For general board commands see
Table 10–19:
HAL 2810 commands
Action
Command
Parameter
Remarks
switch schedule table
lsstab
N
N
= 1...4
return value:
<ST>:<R7><R6><R5><R4><R3><R2><R1><R0>
N
schedule table No.
for details)
<R> received data as 8-digit hex
No.
Example
=> lsstab1
<= <ST>:00000000
set address
= Prepare Data
Access
lwpa
STR
STR
= <A3><A2><A1><A0>
return value:
<ST>:<R7><R6><R5><R4><R3><R2><R1><R0>
<A> address as 4-digit hex No.
for details)
<R> received data as 8-digit hex
No.
Example
=> lwpa
3047
=> <ST>:00000000
set address
= Write Byte
lwa
STR
STR
= <A3><A2><A1><A0><D1><D0>
return value:
<ST>:<R7><R6><R5><R4><R3><R2><R1><R0>
<A> address as 4-digit hex No.
<D> data as 2-digit hex No
<ST> board status (see
for details)
<R> received data as 8-digit hex
No.
Example
=> lwa
304711
=> <ST>:00000000
send single shot of
schedule table 3
lsos
return value:
<ST>:<R7><R6><R5><R4><R3><R2><R1><R0>
<R> received data as 8-digit hex
No.
for details)
Example
=> lsos
<= <ST>:00000000
read last data
lrd
return value:
<ST>:<R7><R6><R5><R4><R3><R2><R1><R0>
for details)
<R> received data as 8-digit hex
No.
if lsstab1: <R3>... <R0>
if lsstab2: <R7>... <R0>