|
BU8272GUW Datasheet, PDF (13/18 Pages) Rohm – GPIO Expander IC | |||
|
◁ |
BU8272GUW
Technical Note
2.1 Write to GPIO Port
After setting the internal register address, the data from master is written from MSB.
After Acknowledge is returned, the value of each GPIO port will be changed.
ã»IOSEL=1
In the condition that IOSEL register is â1â, after sending Acknowledge, a value â0â is output from the GPIO port which the
corresponding bit is transferred as â0â, and a input-mode(Hi-Z) is output from GPIO port which the corresponding bit is
transferred as â1â.
SCL
1 2 3 45 6 78 9
SDA S X X X X X X X 0 Ack MSB
Reg Address
Start Condition
GPIO
[7:0]
Write
Acknowledge From Slave
GPIO
[15:8]
LSB Ack MSB
Data1 (GPIO[7:0])
LSB Ack MSB
Data2 (GPIO[15:8])
LSB Ack P
Acknowledge From Slave
Acknowledge From Slave
Stop Condition
Data1 Valid
tDV
tDV
Data2
Valid
Fig. 14 Write to GPIO port ï¼Pull-up-modeï¼
ã»IOSEL=0
In the condition that IOSEL register is â0â, data input or output is defined by the value of RWSEL register. Therefore, after
â0â is written to each bit of RWSEL register, the data is output from GPIO port. If â0â is written to RWSEL register at first, the
data will be output immediately from the GPIO port after the acknowledge signaling.
SCL
1 2 3 45 6 78 9
SDA S X X X X X X X 0 Ack MSB
Reg Address
Start Condition
GPIO
[7:0]
Write
Acknowledge From Slave
GPIO
[15:8]
LSB Ack MSB
Data1 (GPIO[7:0])
LSB Ack MSB RWSEL = Write Mode LSB Ack P
Acknowledge From Slave
Acknowledge From Slave
Stop Condition
tDV
tDV
Data1
Valid
Data2
Valid
Fig. 15 Write to GPIO port ï¼RWSEL-modeï¼
www.rohm.com
© 2009 ROHM Co., Ltd. All rights reserved.
13/17
2009.09 - Rev.A
|
▷ |