![NXP Semiconductors LPC43Sxx Скачать руководство пользователя страница 1281](http://html1.mh-extra.com/html/nxp-semiconductors/lpc43sxx/lpc43sxx_user-manual_17218271281.webp)
UM10503
All information provided in this document is subject to legal disclaimers.
© NXP B.V. 2015. All rights reserved.
User manual
Rev. 2.1 — 10 December 2015
1281 of 1441
NXP Semiconductors
UM10503
Chapter 46: LPC43xx/LPC43Sxx I2C-bus interface
46.5.1 I
2
C Fast-mode Plus
Fast-Mode Plus supports a 1 Mbit/sec transfer rate to communicate with the I
2
C-bus
products which NXP Semiconductors is now providing.
In order to use Fast-Mode Plus, the I
2
C pins must be properly configured in the SFSI2C0
register in the SYSCON block (see
46.6 Pin description
The I
2
C-bus pins must be configured through SYSCON registers for Standard/ Fast-mode
or Fast-mode Plus.
46.7 Register description
Table 1082.I
2
C-bus pin description
Pin function
Type
Description
I2C0_SDA
Input/Output
I
2
C data input/output. Open-drain output (for I
2
C-bus
compliance).
I2C0_SCL
Input/Output
I
2
C clock input/output. Open-drain output (for I
2
C-bus
compliance).
I2C1_SDA
Input/Output
I
2
C Serial Data. Uses standard I/O pins (Fast-mode only).
I2C1_SCL
Input/Output
I
2
C Serial Clock. Uses standard I/O pins (Fast-mode only).
Table 1083.Register overview: I
2
C0 (base address 0x400A 1000)
Name
Access Address
offset
Description
Reset
value
Reference
CONSET
R/W
0x000
I2C Control Set Register.
When a one is written to a bit of
this register, the corresponding bit in the I
2
C control register is
set. Writing a zero has no effect on the corresponding bit in
the I
2
C control register.
0x00
STAT
RO
0x004
I2C Status Register.
During I
2
C operation, this register
provides detailed status codes that allow software to
determine the next action needed.
0xF8
DAT
R/W
0x008
I2C Data Register.
During master or slave transmit mode,
data to be transmitted is written to this register. During master
or slave receive mode, data that has been received may be
read from this register.
0x00
ADR0
R/W
0x00C
I2C Slave Address Register 0.
Contains the 7-bit slave
address for operation of the I
2
C interface in slave mode, and
is not used in master mode. The least significant bit
determines whether a slave responds to the General Call
address.
0x00
SCLH
R/W
0x010
SCH Duty Cycle Register High Half Word.
Determines the
high time of the I
2
C clock.
0x04
SCLL
R/W
0x014
SCL Duty Cycle Register Low Half Word.
Determines the
low time of the I
2
C clock. SCLL and SCLH together determine
the clock frequency generated by an I
2
C master and certain
times used in slave mode.
0x04