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
335 of 515
NXP Semiconductors
UM11029
Chapter 19: LPC84x I2C0/1/2/3
•
In the PDAWAKE register, configure all peripherals that need to be running when the
part wakes up.
•
Configure the I2C in slave mode.
•
Enable the I2C the interrupt in the I2C INTENCLR register which configures the
interrupt as wake-up event. Examples are the following events:
–
Slave deselect
–
Slave pending (wait for read, write, or ACK)
–
Address match
–
Data available/ready for the monitor
19.4 Pin description
The I2C0 pins are fixed-pin functions and enabled through the switch matrix.
If the I2C0-bus interface is used in Fast-mode Plus mode, configure the I2C-pins for this
mode in the IOCON block:
Table 206 “PIO0_11 register (PIO0_11, address 0x4004 401C)
and
Table 207 “PIO0_10 register (PIO0_10, address 0x4004 4020) bit
.
Pins for the I2C1/2/3 interfaces are movable functions and can be assigned to any pin.
However, except for PIO0_10 and PIO0_11, the pins are not open-drain and do not
support Fast-mode Plus mode. Bit rates of 400 kHz are supported on all pins.
19.5 General description
The architecture of the I2C-bus interface is shown in
Table 349. I2C-bus pin description
Function
Direction Type
Connect
to
Use register
Reference
Description
I2C0_SDA
I/O
external
to pin
PIO0_11
PINENABLE0
I2C0 serial data.
I2C0_SCL
I/O
external
to pin
PIO0_10
PINENABLE0
I2C0 serial clock.
I2C1_SDA
I/O
external
to pin
any pin
PINASSIGN9
I2C1 serial data.
I2C1_SCL
I/O
external
to pin
any pin
PINASSIGN9
I2C1 serial clock.
I2C2_SDA
I/O
external
to pin
any pin
PINASSIGN10
I2C2 serial data.
I2C2_SCL
I/O
external
to pin
any pin
PINASSIGN10
I2C2 serial clock.
I2C3_SDA
I/O
external
to pin
any pin
PINASSIGN10
I2C3 serial data.
I2C3_SCL
I/O
external
to pin
any pin
PINASSIGN10
I2C3 serial clock.