|
BU99022NUX-3 Datasheet, PDF (13/26 Pages) Rohm – I2C BUS 2kbit + 2kbit 2ports serial EEPROM | |||
|
◁ |
BU99022NUX-3
Datasheet
âI2C BUS communication
âI2C BUS data communication
I2C BUS data communication starts by start condition input, and ends by stop condition input. Data is always 8bit long, and
acknowledge is always required after each byte. I2C BUS carries out data transmission with plural devices connected by 2
communication lines of serial data (SDA) and serial clock (SCL).
Among devices, there are âmasterâ that generates clock and control communication start and end, and âslaveâ that is
controlled by address peculiar to devices. EEPROM becomes âslaveâ. And the device that outputs data to bus during data
communication is called âtransmitterâ, and the device that receives data is called âreceiverâ.
SDA
1-7
8
9
1-7
8
9
1-7
8
9
SCL
S
START ADDRESS
condition
R/W ACK
DATA
ACK
Fig.35 Data transfer timing
DATA
P
ACK STOP
condition
âStart condition (Start bit recognition)
ã»Before executing each command, start condition (start bit) where SDA goes from 'HIGH' down to 'LOW' when SCL is
'HIGH' is necessary.
ã»This IC always detects whether SDA and SCL are in start condition (start bit) or not, therefore, unless this confdition is
satisfied, any command is executed.
âStop condition (stop bit recongnition)
ã»Each command can be ended by SDA rising from 'LOW' to 'HIGH' when stop condition (stop bit), namely, SCL is 'HIGH'
âAcknowledge (ACK) signal
ã»This acknowledge (ACK) signal is a software rule to show whether data transfer has been made normally or not. In
master and slave, the device (μ-COM at slave address input of write command, read command, and this IC at data
output of read command) at the transmitter (sending) side releases the bus after output of 8bit data.
ã»The device (this IC at slave address input of write command, read command, and μ-COM at data output of read
command) at the receiver (receiving) side sets SDA 'LOW' during 9 clock cycles, and outputs acknowledge signal (ACK
signal) showing that it has received the 8bit data.
ã»This IC, after recognizing start condition and slave address (8bit), outputs acknowledge signal (ACK signal) 'LOW'.
ã»Each write action outputs acknowledge signal (ACK signal) 'LOW', at receiving 8bit data (word address and write data).
ã»Each read action outputs 8bit data (read data), and detects acknowledge signal (ACK signal) 'LOW'. When acknowledge
signal (ACK signal) is detected, and stop condition is not sent from the master (μ-COM) side, this IC continues data
output. When acknowledge signal (ACK signal) is not detected, this IC stops data transfer, and recognizes stop cindition
(stop bit), and ends read action. And this IC gets in status.
www.rohm.com
© 2011 ROHM Co., Ltd. All rights reserved.
TSZ22111ã»14ã»001
13/23
TSZ02201-0R2R0G100010-1-2
2011.12.19 Rev.001
|
▷ |