UM11029
All information provided in this document is subject to legal disclaimers.
© NXP Semiconductors N.V. 2017. All rights reserved.
User manual
Rev. 1.0 — 16 June 2017
329 of 515
19.1 How to read this chapter
Four I2C interfaces are available on all parts depending on the switch matrix
configuration.
Read this chapter if you want to understand the I2C operation and the software interface
and want to learn how to use the I2C for wake-up from reduced power modes.
19.2 Features
•
Independent Master, Slave, and Monitor functions.
•
Supports bothDMA_ITRIG_PINMUX Multi-master and Multi-master with Slave
functions.
•
Multiple I
2
C slave addresses supported in hardware.
•
One slave address can be selectively qualified with a bit mask or an address range in
order to respond to multiple I
2
C bus addresses.
•
10-bit addressing supported with software assist.
•
Supports System Management (SMBus).
•
Separate DMA requests for Master and Slave.
•
Supports the I
2
C-bus specification up to Fast-mode Plus (up to 1 MHz).
19.3 Basic configuration
Configure the I2C interfaces using the following registers:
•
In the SYSAHBCLKCTRL register, set the corresponding bits to enable the clocks to
the register interfaces. See
.
•
Clear the I2C peripheral resets using the PRESETCTRL register (
).
•
Enable/disable the I2C interrupt in interrupt slots #7, 8, 21, 22 in the NVIC. See
•
Configure the I2C pin functions through the switch matrix. See
•
The peripheral clock for the I2C is the system clock (see
UM11029
Chapter 19: LPC84x I2C0/1/2/3
Rev. 1.0 — 16 June 2017
User manual