|
LP3918 Datasheet, PDF (27/30 Pages) National Semiconductor (TI) – Battery Charge Management and Regulator Unit | |||
|
◁ |
⢠Master device sends slave address (7 bits) and the data
direction bit (r/w = â0â).
⢠Slave device sends acknowledge signal if the slave
address is correct.
⢠Master sends control register address (8 bits).
⢠Slave sends acknowledge signal.
⢠Master sends data byte to be written to the addressed
register.
⢠Slave sends acknowledge signal.
⢠If master will send further data bytes the control register
address will be incremented by one after acknowledge
signal.
⢠Write cycle ends when the master creates stop condition.
CONTROL REGISTER READ CYCLE
⢠Master device generates a start condition.
⢠Master device sends slave address (7 bits) and the data
direction bit (r/w = â0â).
⢠Slave device sends acknowledge signal if the slave
address is correct.
⢠Master sends control register address (8 bits).
⢠Slave sends acknowledge signal.
⢠Master device generates repeated start condition.
⢠Master sends the slave address (7 bits) and the data
direction bit (r/w = â1â).
⢠Slave sends acknowledge signal if the slave address is
correct.
REGISTER READ AND WRITE DETAIL
⢠Slave sends data byte from addressed register.
⢠If the master device sends acknowledge signal, the control
register address will be incremented by one. Slave device
sends data byte from addressed register.
⢠Read cycle ends when the master does not generate
acknowledge signal after data byte and generates stop
condition.
Address Mode
Data Read
<Start Condition>
<Slave Address><r/w = â0â>[Ack]
<Register Addr.>[Ack]
<Repeated Start Condition>
<Slave Address><r/w = â1â>[Ack]
[Register Date]<Ack or nAck>
⦠additional reads from subsequent register
address possible
<Stop Condition>
Data Write
<Start Condition>
<Slave Address><r/w = â0â>[Ack]
<Register Addr.>[Ack]
<Register Data>[Ack]
⦠additional writes to subsequent register
address possible
<Stop Condition>
< > Data from master [ ] Data from slave
FIGURE 9. Register Write Format
20211629
27
www.national.com
|
▷ |