Datasheet
DocID13236 Rev 9 11/28
STVM100 Device operation
27
2.2 Read mode
In READ mode, after the start condition, the master sets the slave address (see Figure 7).
Followed by the READ/WRITE mode control bit (R/W
=1) and the acknowledge bit, the value
in DAC register will be transmitted and the master receiver will send an acknowledge bit to
the slave transmitter. Finally the stop condition will terminate the READ operation. In READ
mode, the valid data is the first 7 bits and the P bit (the eight bit) is don’t care.
2.3 Write mode
In WRITE mode the master transmits to the STVM100 slave receiver. The bus protocol is
shown in Figure 7. Following the start condition and slave address, a logic '0' (R/W
= 0) is
placed on the bus to identify a WRITE operation. After the acknowledgement by the slave,
the data will be transmitted to the slave with the 7-bit which indicates the data is valid as well
as the eighth bit “P” for the register’s identification. When P = 1, the DAC register is written
to, and when P = 0, the EEPROM is written to (Programming). After receiving the data, the
slave will generate an acknowledge signal, then a stop condition will terminate the WRITE
operation. STVM100 is pre-programmed with 80H in the EEPROM after manufacturing.
A period of t
W
(see Table 8) is needed for EEPROM programming. During this period, the
slave will not acknowledge any WRITE operation.
The bit P values in both READ and WRITE modes are shown in Table 3.
Figure 7. Read/write mode sequence
2.4 V
DD
power supply ramp-up
The ramp-up from 10% V
DD
to 90% V
DD
level should be achieved in less than or equal to
10ms to ensure that the EEPROM and power-on reset circuits are synchronized, and the
correct value is read from the EEPROM.
Table 3. Bit P read and write mode values
Operation P-bit value Description
READ X Don’t care
WRITE
1 DAC register WRITE
0
EEPROM WRITE
(programming)
AI12276_b
1
START STOP
SDA
SCL
001111
1001111
START SLAVE ADDRESS
R/W A
A
6543210P
6543210P
A
ASTOP
R/W