UM10503
All information provided in this document is subject to legal disclaimers.
© NXP B.V. 2012. All rights reserved.
User manual
Rev. 1.3 — 6 July 2012
1108 of 1269
43.1 How to read this chapter
The I2C-bus interfaces I2C0 and I2C1 are available on all LPC43xx parts.
43.2 Basic configuration
The I2C0/1 are configured as follows:
•
See
for clocking and power control.
•
The I2C0/1 are reset by the I2C0/1_RST (reset # 48/49).
•
The I2C0/1 interrupts are connected to slots # 18/19 in the NVIC.
•
Configure the I2C0 pins for Fast-mode Plus, Fast mode, or Standard mode through
the SFSI2C0 register in the SYSCON block (see
43.3 Features
•
The I2C0-bus interface uses true open-drain pins and supports Fast mode plus with
bit rates of up to 1Mbit/s, Fast mode, or Standard mode.
•
The I2C1-bus interface uses standard port pins supporting bit rates of up to 400 kbit/s.
•
Standard I
2
C-compliant bus interfaces may be configured as Master, Slave, or
Master/Slave.
•
Arbitration is handled between simultaneously transmitting masters without corruption
of serial data on the bus.
•
Programmable clock allows adjustment of I
2
C transfer rates.
•
Data transfer is bidirectional between masters and slaves.
•
Serial clock synchronization allows devices with different bit rates to communicate via
one serial bus.
•
Serial clock synchronization is used as a handshake mechanism to suspend and
resume serial transfer.
•
Optional recognition of up to four distinct slave addresses.
•
Monitor mode allows observing all I
2
C-bus traffic, regardless of slave address.
•
I
2
C-bus can be used for test and diagnostic purposes.
•
The I
2
C-bus contains a standard I
2
C-compliant bus interface with two pins.
UM10503
Chapter 43: LPC43xx I2C-bus interface
Rev. 1.3 — 6 July 2012
User manual
Table 978. I2C0/1 clocking and power control
Base clock
Branch clock
Operating
frequency
Clock to the I2C0 register interface and
I2C0 peripheral clock.
BASE_APB1_CLK CLK_APB1_I2C0 up to 204 MHz
Clock to the I2C1 register interface and
I2C1 peripheral clock.
BASE_APB3_CLK CLK_APB3_I2C1 up to 204 MHz