
APPLICATION NOTE
HAL1820, HAL24xy, HAL28xy, HAL36xy, HAL38xy
Application Board HAL-APB V1.x
Micronas
Oct. 8, 2012; APN000055_003EN
37
9.6.
HAL 24xy - Board commands
Table 9–16:
HAL 24xy commands
Action
Command
Parameter
Remarks
set base
address
xxsb
STR
STR
= <A1><A0><D3><D2><D1> <D0><CRC>
return value:
<ST>:<R5><R4><R3><R2><R1><R0>
<A> address as 2-digit hex No.
<D> data as 4-digit hex No.
<CRC> checksum as 1-digit hex No.
<ST> = Status of Board (see
for details)
<R> received data as 4-digit hex No.
Example:
set base address 1
=> xxsb000001d
<= 0:000000
write data
xxw
STR
STR
= <A1><A0><D3><D2><D1> <D0><CRC>
return value:
<ST>:<R5><R4><R3><R2><R1><R0>
<A> address as 2-digit hex No.
<D> data as 4-digit hex No.
<CRC> checksum as 1-digit hex No.
<ST> = Status of Board (see
for details)
<R> received data as 4-digit hex No.
Example:
write 3333 to address b
=> xxw0b33333
<= 0:000000
read data
xxr
STR
STR
= <A1><A0>
return value:
<ST>:<R3><R2><R1><R0><CRC>
<A> address as 2-digit hex No.
<D> data as 4-digit hex No.
<CRC> checksum as 1-digit hex No.
<ST> = Status of Board (see
for details)
<R> received data as 4-digit hex No.
Example:
read address b
=> xxr0b
<= 0:3333E