Panasonic MN103001G/F01K Personal Computer User Manual


 
Serial Interface
13-23
• Resend the start sequence (D) according to the procedure described below.
(Refer to Fig. 13-2-16.)
(1) SBO pin setting
Set the SBO pin as a general-purpose input port.
When the pin switches to a general-purpose input port, SDA goes high.
(2) SBT pin setting
Set the SBT pin as a general-purpose input port.
When the pin switches to a general-purpose input port, SCL goes high.
(3) Control register setting
Disable the transmission operation and the reception operation.
(Set SC0TXE and SC0RXE to "0".)
Set the I2C mode selection flag to "0".
(4) I/O port setting
Set the I/O ports to SBT and SBO.
(5) Transmission/reception enable
Enable the transmission operation and the reception operation.
(Set SC0TXE and SC0RXE to "1".)
(6) Start sequence resend
Set the I2C mode selection flag to "1".
A low signal is output on the SBO pin, and the start sequence is sent.
At this point, normal transmission/reception is now possible.
Fig. 13-2-16 Timing Chart (12)
bp0 Ack bp7 bp6
(1)
(2)
(3) (6)
(4), (5)
(D)
SBO pin
(SDA)
SBT pin
(SCL)
SC0IIC flag
Data write
SC0TXF flag
Interrupt request
(set to “transmission
end”)
Start sequence resend