LPC1113FHN33/303,5 NXP Semiconductors, LPC1113FHN33/303,5 Datasheet - Page 530
LPC1113FHN33/303,5
Manufacturer Part Number
LPC1113FHN33/303,5
Description
ARM Microcontrollers - MCU Cortex-M0 24 kB flash up to 8kB SRAM
Manufacturer
NXP Semiconductors
Datasheet
1.LPC1113FHN333035.pdf
(538 pages)
Specifications of LPC1113FHN33/303,5
Rohs
yes
Core
ARM Cortex M0
Processor Series
LPC1113
Data Bus Width
32 bit
Maximum Clock Frequency
50 MHz
Program Memory Size
24 KB
Data Ram Size
4 KB
On-chip Adc
Yes
Operating Supply Voltage
1.8 V to 3.6 V
Operating Temperature Range
- 65 C to + 150 C
Package / Case
HVQFN-33
Mounting Style
SMD/SMT
Factory Pack Quantity
260
- Current page: 530 of 538
- Download datasheet (5Mb)
NXP Semiconductors
14.7.2.3
14.7.2.4
14.7.2.5
Chapter 15: LPC111x/LPC11Cxx I2C-bus controller
15.1
15.2
15.3
15.4
15.5
15.5.1
15.6
15.7
15.7.1
15.7.2
15.7.3
15.7.4
15.7.5
15.7.5.1
15.7.6
15.7.7
15.7.7.1
15.7.7.2
15.7.8
15.7.9
15.7.10
15.8
15.8.1
15.8.2
15.8.3
15.8.4
15.9
15.9.1
15.9.2
15.9.3
15.9.4
15.9.5
15.9.6
15.9.7
15.9.8
15.9.9
15.9.10
15.10
15.10.1
15.10.2
UM10398
User manual
How to read this chapter . . . . . . . . . . . . . . . . 232
Basic configuration . . . . . . . . . . . . . . . . . . . . 232
Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 232
Applications . . . . . . . . . . . . . . . . . . . . . . . . . . 232
General description . . . . . . . . . . . . . . . . . . . . 233
Pin description . . . . . . . . . . . . . . . . . . . . . . . . 234
Register description . . . . . . . . . . . . . . . . . . . 234
I
I
Details of I
2
2
C operating modes . . . . . . . . . . . . . . . . . . . 242
C implementation and operation . . . . . . . . 245
SPI format with CPOL=0,CPHA=1 . . . . . . . . 227
SPI format with CPOL = 1,CPHA = 0 . . . . . . 227
SPI format with CPOL = 1,CPHA = 1 . . . . . . 229
I
I
0x4000 0000) . . . . . . . . . . . . . . . . . . . . . . . . 235
I
237
I
I
0x4000 000C) . . . . . . . . . . . . . . . . . . . . . . . . 237
I
(I2C0SCLH - 0x4000 0010 and I2C0SCLL-
0x4000 0014) . . . . . . . . . . . . . . . . . . . . . . . . 238
Selecting the appropriate I
cycle . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 238
I
0x4000 0018) . . . . . . . . . . . . . . . . . . . . . . . . 239
I
- 0x4000 001C) . . . . . . . . . . . . . . . . . . . . . . . 239
Interrupt in Monitor mode . . . . . . . . . . . . . . . 240
Loss of arbitration in Monitor mode . . . . . . . 241
I
0x4000 00[20, 24, 28]) . . . . . . . . . . . . . . . . . 241
I
0x4000 002C) . . . . . . . . . . . . . . . . . . . . . . . . 241
I
0x4000 00[30, 34, 38, 3C]) . . . . . . . . . . . . . . 242
Master Transmitter mode . . . . . . . . . . . . . . . 242
Master Receiver mode . . . . . . . . . . . . . . . . . 243
Slave Receiver mode . . . . . . . . . . . . . . . . . . 244
Slave Transmitter mode . . . . . . . . . . . . . . . . 245
Input filters and output stages. . . . . . . . . . . . 246
Address Registers, ADDR0 to ADDR3 . . . . . 247
Address mask registers, MASK0 to MASK3. 247
Comparator. . . . . . . . . . . . . . . . . . . . . . . . . . 247
Shift register, DAT. . . . . . . . . . . . . . . . . . . . . 247
Arbitration and synchronization logic . . . . . . 247
Serial clock generator . . . . . . . . . . . . . . . . . . 248
Timing and control . . . . . . . . . . . . . . . . . . . . 249
Control register, CONSET and CONCLR . . . 249
Status decoder and status register . . . . . . . . 249
Master Transmitter mode . . . . . . . . . . . . . . . 250
Master Receiver mode . . . . . . . . . . . . . . . . . 254
2
2
2
2
2
2
2
2
2
2
2
C Fast-mode Plus . . . . . . . . . . . . . . . . . . . 233
C Control Set register (I2C0CONSET -
C Status register (I2C0STAT - 0x4000 0004) . . .
C Data register (I2C0DAT - 0x4000 0008) . 237
C Slave Address register 0 (I2C0ADR0-
C SCL HIGH and LOW duty cycle registers
C Control Clear register (I2C0CONCLR -
C Monitor mode control register (I2C0MMCTRL
C Slave Address registers (I2C0ADR[1, 2, 3] -
C Data buffer register (I2C0DATA_BUFFER -
C Mask registers (I2C0MASK[0, 1, 2, 3] -
2
C operating modes. . . . . . . . . . . 249
2
C data rate and duty
All information provided in this document is subject to legal disclaimers.
Rev. 12 — 24 September 2012
14.7.3
14.7.3.1
15.10.3
15.10.4
15.10.5
15.10.5.1 STAT = 0xF8 . . . . . . . . . . . . . . . . . . . . . . . . 263
15.10.5.2 STAT = 0x00 . . . . . . . . . . . . . . . . . . . . . . . . 263
15.10.6
15.10.6.1 Simultaneous Repeated START conditions from
15.10.6.2 Data transfer after loss of arbitration . . . . . . 265
15.10.6.3 Forced access to the I
15.10.6.4 I
15.10.6.5 Bus error . . . . . . . . . . . . . . . . . . . . . . . . . . . 266
15.10.7
15.10.8
15.10.9
15.10.10 The state service routines . . . . . . . . . . . . . . 267
15.10.11 Adapting state services to an application. . . 267
15.11
15.11.1
15.11.2
15.11.3
15.11.4
15.11.5
15.11.5.1 State: 0x00 . . . . . . . . . . . . . . . . . . . . . . . . . . 268
15.11.5.2 Master States . . . . . . . . . . . . . . . . . . . . . . . . 268
15.11.5.3 State: 0x08 . . . . . . . . . . . . . . . . . . . . . . . . . . 268
15.11.5.4 State: 0x10 . . . . . . . . . . . . . . . . . . . . . . . . . . 269
15.11.6
15.11.6.1 State: 0x18 . . . . . . . . . . . . . . . . . . . . . . . . . . 269
15.11.6.2 State: 0x20 . . . . . . . . . . . . . . . . . . . . . . . . . . 269
15.11.6.3 State: 0x28 . . . . . . . . . . . . . . . . . . . . . . . . . . 269
15.11.6.4 State: 0x30 . . . . . . . . . . . . . . . . . . . . . . . . . . 270
15.11.6.5 State: 0x38 . . . . . . . . . . . . . . . . . . . . . . . . . . 270
15.11.7
15.11.7.1 State: 0x40 . . . . . . . . . . . . . . . . . . . . . . . . . . 270
15.11.7.2 State: 0x48 . . . . . . . . . . . . . . . . . . . . . . . . . . 270
15.11.7.3 State: 0x50 . . . . . . . . . . . . . . . . . . . . . . . . . . 270
15.11.7.4 State: 0x58 . . . . . . . . . . . . . . . . . . . . . . . . . . 271
15.11.8
15.11.8.1 State: 0x60 . . . . . . . . . . . . . . . . . . . . . . . . . . 271
15.11.8.2 State: 0x68 . . . . . . . . . . . . . . . . . . . . . . . . . . 271
15.11.8.3 State: 0x70 . . . . . . . . . . . . . . . . . . . . . . . . . . 271
15.11.8.4 State: 0x78 . . . . . . . . . . . . . . . . . . . . . . . . . . 272
15.11.8.5 State: 0x80 . . . . . . . . . . . . . . . . . . . . . . . . . . 272
15.11.8.6 State: 0x88 . . . . . . . . . . . . . . . . . . . . . . . . . . 272
15.11.8.7 State: 0x90 . . . . . . . . . . . . . . . . . . . . . . . . . . 272
15.11.8.8 State: 0x98 . . . . . . . . . . . . . . . . . . . . . . . . . . 273
15.11.8.9 State: 0xA0. . . . . . . . . . . . . . . . . . . . . . . . . . 273
15.11.9
15.11.9.1 State: 0xA8. . . . . . . . . . . . . . . . . . . . . . . . . . 273
15.11.9.2 State: 0xB0. . . . . . . . . . . . . . . . . . . . . . . . . . 273
Software example . . . . . . . . . . . . . . . . . . . . . 267
Semiconductor Microwire frame format . . . . 229
Setup and hold time requirements on CS with
respect to SK in Microwire mode . . . . . . . . . 231
Slave Receiver mode. . . . . . . . . . . . . . . . . . 257
Slave Transmitter mode . . . . . . . . . . . . . . . . 261
Miscellaneous states . . . . . . . . . . . . . . . . . . 263
Some special cases . . . . . . . . . . . . . . . . . . . 264
two masters . . . . . . . . . . . . . . . . . . . . . . . . . 264
SDA . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 266
I
Initialization . . . . . . . . . . . . . . . . . . . . . . . . . 267
I
Initialization routine . . . . . . . . . . . . . . . . . . . 267
Start Master Transmit function . . . . . . . . . . . 267
Start Master Receive function . . . . . . . . . . . 268
I
Non mode specific states. . . . . . . . . . . . . . . 268
Master Transmitter states . . . . . . . . . . . . . . 269
Master Receive states . . . . . . . . . . . . . . . . . 270
Slave Receiver states . . . . . . . . . . . . . . . . . 271
Slave Transmitter states . . . . . . . . . . . . . . . 273
2
2
2
2
C-bus obstructed by a LOW level on SCL or
C state service routines . . . . . . . . . . . . . . . 266
C interrupt service . . . . . . . . . . . . . . . . . . . 267
C interrupt routine . . . . . . . . . . . . . . . . . . . 268
Chapter 29: Supplementary information
2
C-bus. . . . . . . . . . . . 265
UM10398
© NXP B.V. 2012. All rights reserved.
530 of 538
Related parts for LPC1113FHN33/303,5
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
Part Number:
Description:
NXP Semiconductors designed the LPC2420/2460 microcontroller around a 16-bit/32-bitARM7TDMI-S CPU core with real-time debug interfaces that include both JTAG andembedded trace
Manufacturer:
NXP Semiconductors
Datasheet:
Part Number:
Description:
NXP Semiconductors designed the LPC2458 microcontroller around a 16-bit/32-bitARM7TDMI-S CPU core with real-time debug interfaces that include both JTAG andembedded trace
Manufacturer:
NXP Semiconductors
Datasheet:
Part Number:
Description:
NXP Semiconductors designed the LPC2468 microcontroller around a 16-bit/32-bitARM7TDMI-S CPU core with real-time debug interfaces that include both JTAG andembedded trace
Manufacturer:
NXP Semiconductors
Datasheet:
Part Number:
Description:
NXP Semiconductors designed the LPC2470 microcontroller, powered by theARM7TDMI-S core, to be a highly integrated microcontroller for a wide range ofapplications that require advanced communications and high quality graphic displays
Manufacturer:
NXP Semiconductors
Datasheet:
Part Number:
Description:
NXP Semiconductors designed the LPC2478 microcontroller, powered by theARM7TDMI-S core, to be a highly integrated microcontroller for a wide range ofapplications that require advanced communications and high quality graphic displays
Manufacturer:
NXP Semiconductors
Datasheet:
Part Number:
Description:
The Philips Semiconductors XA (eXtended Architecture) family of 16-bit single-chip microcontrollers is powerful enough to easily handle the requirements of high performance embedded applications, yet inexpensive enough to compete in the market for hi
Manufacturer:
NXP Semiconductors
Datasheet:
Part Number:
Description:
The Philips Semiconductors XA (eXtended Architecture) family of 16-bit single-chip microcontrollers is powerful enough to easily handle the requirements of high performance embedded applications, yet inexpensive enough to compete in the market for hi
Manufacturer:
NXP Semiconductors
Datasheet:
Part Number:
Description:
The XA-S3 device is a member of Philips Semiconductors? XA(eXtended Architecture) family of high performance 16-bitsingle-chip microcontrollers
Manufacturer:
NXP Semiconductors
Datasheet:
Part Number:
Description:
The NXP BlueStreak LH75401/LH75411 family consists of two low-cost 16/32-bit System-on-Chip (SoC) devices
Manufacturer:
NXP Semiconductors
Datasheet:
Part Number:
Description:
The NXP LPC3130/3131 combine an 180 MHz ARM926EJ-S CPU core, high-speed USB2
Manufacturer:
NXP Semiconductors
Datasheet:
Part Number:
Description:
The NXP LPC3141 combine a 270 MHz ARM926EJ-S CPU core, High-speed USB 2
Manufacturer:
NXP Semiconductors
Part Number:
Description:
The NXP LPC3143 combine a 270 MHz ARM926EJ-S CPU core, High-speed USB 2
Manufacturer:
NXP Semiconductors
Part Number:
Description:
The NXP LPC3152 combines an 180 MHz ARM926EJ-S CPU core, High-speed USB 2
Manufacturer:
NXP Semiconductors
Part Number:
Description:
The NXP LPC3154 combines an 180 MHz ARM926EJ-S CPU core, High-speed USB 2
Manufacturer:
NXP Semiconductors
Part Number:
Description:
Standard level N-channel enhancement mode Field-Effect Transistor (FET) in a plastic package using NXP High-Performance Automotive (HPA) TrenchMOS technology
Manufacturer:
NXP Semiconductors
Datasheet: