DATA SHEET
HAL855
5.3. Telegram Codes
Sync Bit
Data Bits (DAT)
The 14 Data Bits contain the register information.
Each telegram starts with the Sync Bit. This logical “0”
pulse defines the exact timing for tp0.
The registers use different number formats for the
Data Bits. These formats are explained in Section 5.4.
on page 38
Command Bits (COM)
In the Write command, the last bits are valid. If, for
example, the TC register (7 bits) is written, only the
last 7 bits are valid.
The Command code contains 3 bits and is a binary
number. Table 5–2 shows the available commands
and the corresponding codes for the HAL855.
In the Read command, the first bits are valid. If, for
example, the TC register (7 bits) is read, only the first 6
bits are valid.
Command Parity Bit (CP)
This parity bit is “1” if the number of zeros within the 3
Command Bits is odd. The parity bit is “0”, if the num-
ber of zeros is even.
Data Parity Bit (DP)
This parity bit is “1” if the number of zeros within the
binary number is even. The parity bit is “0” if the num-
ber of zeros is odd.
Address Bits (ADR)
The Address code contains 4 bits and is a binary num-
ber. (see Table 5–3 on page 39) shows the available
addresses for the HAL855 registers.
Acknowledge
After each telegram, the output answers with the
Acknowledge signal. This logical “0” pulse defines the
exact timing for tpOUT
.
Address Parity Bit (AP)
This parity bit is “1” if the number of zeros within the 4
Address bits is odd. The parity bit is “0” if the number
of zeroes is even.
Table 5–2: Available commands
Command
READ
Code
Explanation
0
6
7
3
1
2
4
5
read a Setup EEPROM register (like TC, TCSQ, magnetic range, etc.)
read a Characteristics EEPROM register (setpoints 0 to 15)
read a Characteristics EEPROM register (setpoints 16 to 31)
write a Setup EEPROM register (like TC, TCSQ, Magnetic range, etc.)
write a Characteristics EEPROM register (setpoints 0 to 15)
write a Characteristics EEPROM register (setpoints 16 to 31)
program all non-volatile registers
READL
READH
WRITE
WRITEL
WRITEH
PROM
ERASE
erase all non-volatile registers
Please note:
The LOCK bit is set by using the WRITE command followed by a PROM.
Micronas
Nov. 26, 2008; DSH000149_003EN
37