English
Language : 

HAL-APB-V1.5 Datasheet, PDF (57/59 Pages) Micronas – Application Board HAL-APB V1.x
APPLICATION NOTE
HAL1820, HAL24xy, HAL28xy, HAL36xy, HAL38xy
Application Board HAL-APB V1.x
12.7. HAL 3625, HAL 3675, HAL 385x and HAL 385x– Board
commands
Table 12–23:HAL 3625, HAL 3675, HAL 385x and HAL 387x board commands
Action
set base address
Command Address
xxsbSTR
STR = <A1><A0><D3><D2><D1> <D0><CRC>
return value:
<ST>:<R5><R4><R3><R2><R1><R0>
Data
<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
Table 6–9 on page 20 for details)
<R> received data as 4-digit hex No.
write data
xxwSTR
STR = <A1><A0><D3><D2><D1> <D0><CRC>
return value:
<ST>:<R5><R4><R3><R2><R1><R0>
Example:
set base address 1
=> xxsb000001d
<= 0:000000
<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
Table 6–9 on page 20 for details)
<R> received data as 4-digit hex No.
read data
xxrSTR
STR = <A1><A0>
return value:
<ST>:<R4><R3><R2><R1><CRC>
Example:
write 37B7 to address 8
=> xxw0837B76
<= 0:000000
<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
Table 6–9 on page 20 for details)
<R> received data as 4-digit hex No.
Example:
read address 8
=> xxr08
<= 0:37B75
Micronas
Oct. 8, 2012; APN000055_003EN
57