12 I
2
C (I2C)
12-2
Seiko epson Corporation
S1C17F13 TeChniCal Manual
(Rev. 1.0)
Input/Output Pins and External Connections
12.2
List of Input/Output Pins
12.2.1
Table 12.2.1.1 lists the I2C pins.
2.1.1 List of I2C Pins
Table 12.
Pin name
I/O
*
Initial status
*
Function
SDA
n
I/O
I
I
2
C bus serial data input/output pin
SCL
n
I/O
I
I
2
C bus clock input/output pin
*
Indicates the status when the pin is configured for the I2C.
If the port is shared with the I2C pin and other functions, the I2C input/output function must be assigned to the port
before activating the I2C. For more information, refer to the “I/O Ports” chapter.
External Connections
12.2.2
Figure 12.2.2.1 shows a connection diagram between the I2C in this IC and external I
2
C devices.
The serial data (SDA) and serial clock (SCL) lines must be pulled up with an external resistor.
When the I2C is set into master mode, one or more slave devices that have a unique address may be connected to the
I
2
C bus. When the I2C is set into slave mode, one or more master and slave devices that have a unique address may be
connected to the I
2
C bus.
SCL
n
V
DD
SDA
n
S1C17
Serial data (SDA)
Serial clock (SCL)
I
2
C bus
External
I
2
C device
External
I
2
C device
2.2.1 Connections between I2C and External I
Figure 12.
2
C Devices
Notes:
•
The SDA and SCL lines must be pulled up to a V
DD
of this IC or lower voltage. However, if the
I2C input/output ports are configured with the over voltage tolerant fail-safe type I/O, these
lines can be pulled up to a voltage exceeding the V
DD
of this IC but within the recommended
operating voltage range of this IC.
•
The internal pull-up resistors for the I/O ports cannot be used for pulling up SDA and SCL.
•
When the I2C is set into master mode, no other master device can be connected to the I
2
C
bus.