English
Language : 

HAL-APB-V1.5 Datasheet, PDF (18/59 Pages) Micronas – Application Board HAL-APB V1.x
HAL1820, HAL24xy, HAL28xy, HAL36xy, HAL38xy
Application Board HAL-APB V1.x
6. Board Functions
APPLICATION NOTE
6.1. Serial Command Interpreter
This board provides a serial command interpreter for the interaction with a PC, con-
nected via USB or RS232.
The serial communication protocol applies a software handshake:
– The PC acts as a master, the HAL-APB V1.x as slave,
– The HAL-APB V1.x responds to each master COMMAND frame with a RESPONSE
frame.
6.1.1. Serial Interface Configuration
When using a hyperterminal communication please set the following parameters.
Table 6–8: parameter settings of serial interface
Parameter
Bits per second
Data bits
Parity
Stop bits
Flow control
Value
38400
8
Even
1
none
6.1.2. Definition of the COMMAND Frame
The command frame is of variable length. There are basically two types of commands:
1. for board configuration
2. for communication with connected Hall device
The command string has to end with <CR> (ASCII character 0x0D), optionally with
<CR><LF> (ASCII characters 0x0D, 0x0A).
6.1.3. Definition of the RESPONSE Frame
The response frame consists of 7...10 characters plus 1 finishing <LF>
<ST>:<R9><R8>....<R2><R1><R0> <LF>
ST is non-zero in case of errors (see Table 6–9)
18
Oct. 8, 2012; APN000055_003EN
Micronas