STV0196B
FUNCTIONAL DESCRIPTION
I - I2C BUS SPECIFICATION
This is the standard I2C protocol.
The device address is ”1101000” ; the first byte is therefore Hex D0 for a write operation and Hex D1 for a
read operation.
I.1 - Write Operation
The first byte is the device address plus the direction bit (R/W = 0).
The second byte contains the internal address of the first register to be accessed.
The next byte is written in the internal register.
The following (if any) bytes are written in successive internal registers.
The transfer lasts until stop conditions are encountered.
The STV0196B acknowledges every byte transfer.
I.2 - Read Operation
The address of the first register to read is programmed in a write operation without data, and terminated
by stop condition.
Then another start is followed by the device address and R/W = 1 ; all successive bytes are now data read
at successive positions starting from the initial address.
The STV0196B acknowledges every byte transfer.
Example :
Write registers 0 to 3 with AA,BB,CC,DD
Start
Device Address,
Write D0
ACK
Internal
Address
ACK
Data
AA
ACK
Data
BB
ACK
Data
CC
ACK Stop
Read registers 2 and 3
Start
Device Address,
Write D0
ACK
Register Address 01
ACK Stop
Start
Device Address,
Read D1
ACK
Data Read
BB
ACK
Data Read
CC
ACK Stop
I.3 - Identification Register
This read only register gives the release number of the circuit in order to ensure software compatibility.
The read value is Hex 83 for STV0196B and Hex 81 for STV0196.
Internal Address : Hex 0B
1
0
0
0
0
0
1
1
Notes : - Unspecified register addresses must not be used.
- All the unused bits in the registers must be programmed to 0.
4/23