English
Language : 

HAL856 Datasheet, PDF (38/42 Pages) Micronas – Programmable Linear Hall-Effect Sensor with Arbitrary Output Characteristic (2-Wire)
HAL 856
DATA SHEET
5.3. Telegram Codes
Sync Bit
Each telegram starts with the Sync Bit. This logical “0”
pulse defines the exact timing for tp0.
Command Bits (COM)
The Command code contains 3 bits and is a binary
number. Table 5–2 shows the available commands
and the corresponding codes for the HAL856.
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.
Address Bits (ADR)
The Address code contains 4 bits and is a binary num-
ber. (see Table 5–3 on page 40) shows the available
addresses for the HAL856 registers.
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.
Data Bits (DAT)
The 14 Data Bits contain the register information.
The registers use different number formats for the
Data Bits. These formats are explained in Section 5.4.
on page 39
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.
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.
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.
Acknowledge
After each telegram, the output answers with the
Acknowledge signal. This logical “0” pulse defines the
exact timing for tpOUT.
Table 5–2: Available commands
Command
Code
Explanation
READ
0
read a Setup EEPROM register (like TC, TCSQ, magnetic range, etc.)
READL
6
read a Characteristics EEPROM register (setpoints 0 to 15)
READH
7
read a Characteristics EEPROM register (setpoints 16 to 31)
WRITE
3
write a Setup EEPROM register (like TC, TCSQ, Magnetic range, etc.)
WRITEL
1
write a Characteristics EEPROM register (setpoints 0 to 15)
WRITEH
2
write a Characteristics EEPROM register (setpoints 16 to 31)
PROM
4
program all non-volatile registers
ERASE
5
erase all non-volatile registers
Please note:
The LOCK bit is set by using the WRITE command followed by a PROM.
38
March 23, 2010; DSH000142_002EN
Micronas