ML610Q111/ML610Q112 User’s Manual
Chapter 13 I
2
C bus Interface Master
FEUL610Q111
13-1
13 I
2
C Bus Interface Master
13.1 Overview
This LSI includes 1 channel of I
2
C bus interface (master).
The tertiary functions of Port B or the secondary functions of Port C are assigned to the I
2
C bus interface data input/output
pin and the I
2
C bus interface clock input/output pin. For PortB, see Chapter 16, “PortB”. For PortC see Chapter 17
“PortC”.
13.1.1 Features
•
Master function
•
Communication speeds supported include standard mode (100kbps @8MHz HSCLK) and fast mode (400kbps
@8MHz HSCLK).
•
7-bit address format (10-bit address can be supported)
Note
:
Not supported for arbitration function (multi-master) and clock synchronization (handshake).
13.1.2 Configuration
Figure 13-1 shows the configuration of the I
2
C bus interface.
I2C0RD
: I
2
C bus 0 receive register
I2C0SA
: I
2
C bus 0 slave address register
I2C0TD
: I
2
C bus 0 transmit data register
I2C0CON
: I
2
C bus 0 control register
I2C0MOD
: I
2
C bus 0 mode register
I2C0STAT
: I
2
C bus 0 status register
Figure 13-1 Configuration of I
2
C Bus Interface
13.1.3 List of Pins
Pin name
I/O
Description
PB6/SDA
I/O
I
2
C bus interface data input/output pin.
Used for the tertiary function of the PB6 pin.
PB5/SCL
I/O
I
2
C bus interface clock input/output pin.
Used for the tertiary function of the PB5 pin.
PC5/SDA
I/O
I
2
C bus interface data input/output pin.
Used for the secondary function of the PC5 pin.
PC4/SCL
I/O
I
2
C bus interface clock input/output pin.
Used for the secondary function of the PC4 pin.
PC4/PC5 are only used by ML610Q112.
Clock
Generator
Shift Register
Data bus
I2CMINT
I2C0MOD
HSCLK
I2C0TD
I2C0RD, I2C0STAT
SCL
SDA
Controller
I2C0CON
PB5/SCL
PC4/SCL
PB6/SDA
PC5/SDA
I2C0SA
I2C
Controller
Summary of Contents for ML610Q111
Page 1: ...ML610Q111 ML610Q112 User s Manual Issue Date Nov 16 2016 FEUL610Q111 05 ...
Page 14: ...Chapter 1 Overview ...
Page 26: ...Chapter 2 CPU and Memory Space ...
Page 34: ...Chapter 3 Reset Function ...
Page 38: ...Chapter 4 MCU Control Function ...
Page 53: ...Chapter 5 Interrupts INTs ...
Page 81: ...Chapter 6 Clock Generation Circuit ...
Page 95: ...Chapter 7 Time Base Counter ...
Page 103: ...Chapter 8 Timers ...
Page 145: ...Chapter 9 Watchdog Timer ...
Page 153: ...Chapter 10 PWM ...
Page 199: ...Chapter 11 Synchronous Serial Port ...
Page 212: ...Chapter 12 UART ...
Page 240: ...Chapter 13 I2 C Bus Interface Master ...
Page 254: ...Chapter 14 I2 C Bus Interface Slave ...
Page 269: ...Chapter 15 Port A ...
Page 279: ...Chapter 16 Port B ...
Page 291: ...Chapter 17 Port C ...
Page 303: ...Chapter 18 Port D ...
Page 312: ...Chapter 19 Port AB Interrupts ...
Page 317: ...Chapter 20 Successive Approximation Type A D Converter ...
Page 335: ...Chapter 21 Voltage Level Supervisor ...
Page 342: ...Chapter 22 Analog Comparator ...
Page 353: ...Chapter 23 Data Flash Memory ...
Page 373: ...Chapter 24 On chip Debug ...
Page 375: ...Appendixes ...
Page 393: ...Appendix E ...
Page 398: ...Revision History ...