LPC1313FBD48,151 NXP Semiconductors, LPC1313FBD48,151 Datasheet - Page 326

IC MCU 32BIT 32KB FLASH 48LQFP

LPC1313FBD48,151

Manufacturer Part Number
LPC1313FBD48,151
Description
IC MCU 32BIT 32KB FLASH 48LQFP
Manufacturer
NXP Semiconductors
Series
LPC13xxr
Datasheets

Specifications of LPC1313FBD48,151

Program Memory Type
FLASH
Program Memory Size
32KB (32K x 8)
Package / Case
48-LQFP
Core Processor
ARM® Cortex-M3™
Core Size
32-Bit
Speed
72MHz
Connectivity
I²C, Microwire, SPI, SSI, UART/USART
Peripherals
Brown-out Detect/Reset, POR, WDT
Number Of I /o
42
Ram Size
8K x 8
Voltage - Supply (vcc/vdd)
2 V ~ 3.6 V
Data Converters
A/D 8x10b
Oscillator Type
Internal
Operating Temperature
-40°C ~ 85°C
Processor Series
LPC13
Core
ARM Cortex M3
Data Bus Width
32 bit
Interface Type
I2C, UART
Maximum Clock Frequency
72 MHz
Number Of Timers
2
Operating Supply Voltage
3.3 V
Maximum Operating Temperature
+ 85 C
Mounting Style
SMD/SMT
3rd Party Development Tools
MDK-ARM, RL-ARM, ULINK2
Development Tools By Supplier
OM11041
Minimum Operating Temperature
- 40 C
On-chip Adc
10 bit, 8 Channel
Cpu Family
LPC1000
Device Core
ARM Cortex-M3
Device Core Size
32b
Frequency (max)
72MHz
Total Internal Ram Size
8KB
# I/os (max)
42
Number Of Timers - General Purpose
4
Operating Supply Voltage (typ)
3.3V
Operating Supply Voltage (max)
3.6V
Operating Supply Voltage (min)
2V
Instruction Set Architecture
RISC
Operating Temp Range
-40C to 85C
Operating Temperature Classification
Industrial
Mounting
Surface Mount
Pin Count
48
Package Type
LQFP
Package
48LQFP
Family Name
LPC1000
Maximum Speed
72 MHz
Number Of Programmable I/os
42
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
For Use With
568-4918 - KIT DEV FOR LPC1313622-1005 - USB IN-CIRCUIT PROG ARM7 LPC2K
Eeprom Size
-
Lead Free Status / Rohs Status
Lead free / RoHS Compliant
Other names
568-4914
935289651151

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
LPC1313FBD48,151
Manufacturer:
MAXIM
Quantity:
1 560
Part Number:
LPC1313FBD48,151
Quantity:
9 999
Part Number:
LPC1313FBD48,151
Manufacturer:
NXP Semiconductors
Quantity:
10 000
NXP Semiconductors
Chapter 9: LPC13xx USB device controller
9.1
9.2
9.3
9.4
9.5
9.6
9.6.1
9.6.2
9.6.3
9.6.4
9.6.5
9.6.6
9.7
9.8
9.9
9.9.1
9.9.2
9.9.3
9.9.4
9.9.5
9.10
9.10.1
9.10.1.1
9.10.1.2
9.10.1.3
9.10.1.4
9.10.2
9.10.2.1
9.10.2.2
9.10.3
9.10.3.1
9.10.3.2
9.10.3.3
9.10.3.4
9.10.3.5
Chapter 10: LPC13xx USB on-chip drivers
10.1
10.2
10.3
10.3.1
10.3.2
UM10375
User manual
How to read this chapter . . . . . . . . . . . . . . . . 126
Basic configuration . . . . . . . . . . . . . . . . . . . . 126
Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . 126
Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 127
Fixed endpoint configuration . . . . . . . . . . . . 127
General description . . . . . . . . . . . . . . . . . . . . 128
Operational overview . . . . . . . . . . . . . . . . . . 129
Pin description . . . . . . . . . . . . . . . . . . . . . . . . 130
Clocking and power control . . . . . . . . . . . . . 130
Register description . . . . . . . . . . . . . . . . . . . 132
How to read this chapter . . . . . . . . . . . . . . . . 155
Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . 155
USB driver functions . . . . . . . . . . . . . . . . . . . 155
Analog transceiver . . . . . . . . . . . . . . . . . . . . 128
Serial Interface Engine (SIE) . . . . . . . . . . . . 128
Endpoint RAM (EP_RAM) . . . . . . . . . . . . . . 128
EP_RAM access control . . . . . . . . . . . . . . . . 128
Register interface . . . . . . . . . . . . . . . . . . . . . 129
SoftConnect . . . . . . . . . . . . . . . . . . . . . . . . . 129
Power requirements . . . . . . . . . . . . . . . . . . . 130
Clocks. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 130
Power management support . . . . . . . . . . . . 131
Remote wake-up . . . . . . . . . . . . . . . . . . . . . 132
Interrupts. . . . . . . . . . . . . . . . . . . . . . . . . . . . 132
Device interrupt registers . . . . . . . . . . . . . . . 133
USB Device Interrupt Status register
(USBDevIntSt - 0x4002 0000) . . . . . . . . . . . 133
USB Device Interrupt Enable register
(USBDevIntEn - 0x4002 0004) . . . . . . . . . . . 134
USB Device Interrupt Clear register
(USBDevIntClr - 0x4002 0008) . . . . . . . . . . . 134
USB Device Interrupt Set register (USBDevIntSet
- 0x4002 000C). . . . . . . . . . . . . . . . . . . . . . . 135
SIE command code registers . . . . . . . . . . . . 135
USB Command Code register (USBCmdCode -
0x4001 8010) . . . . . . . . . . . . . . . . . . . . . . . . 135
USB Command Data register (USBCmdData -
0x4002 0014) . . . . . . . . . . . . . . . . . . . . . . . . 136
USB data transfer registers . . . . . . . . . . . . . 136
USB Receive Data register (USBRxData - 0x4002
0018) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 136
USB Transmit Data register (USBTxData - 0x4002
021C) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 136
USB Receive Packet Length register
(USBRxPLen - 0x4002 0020) . . . . . . . . . . . . 137
USB Transmit Packet Length register
(USBTxPLen - 0x4002 0024) . . . . . . . . . . . . 137
USB Control register (USBCtrl - 0x4002
0028) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 138
Clock and pin initialization . . . . . . . . . . . . . . 155
USB initialization. . . . . . . . . . . . . . . . . . . . . . 156
All information provided in this document is subject to legal disclaimers.
Rev. 2 — 7 July 2010
9.10.3.5.1 Data transfer . . . . . . . . . . . . . . . . . . . . . . . . 138
9.10.4
9.10.4.1
9.11
9.11.1
9.11.2
9.11.3
9.11.4
9.11.5
9.11.6
9.11.7
9.11.8
9.11.9
9.11.10
9.11.11
9.11.12
9.11.13
9.11.14
9.12
9.12.1
9.12.2
9.13
9.13.1
9.13.2
9.13.3
9.13.4
9.13.5
9.14
9.14.1
9.14.2
10.3.3
10.3.4
10.4
10.4.1
10.4.2
Chapter 21: LPC13xx Supplementary information
Serial interface engine command description . .
140
USB device controller initialization . . . . . . . 149
Functional description . . . . . . . . . . . . . . . . . 150
Double-buffered endpoint operation . . . . . . 152
Calling the USB device driver . . . . . . . . . . . 156
Miscellaneous registers . . . . . . . . . . . . . . . . 139
USB Device FIQ Select register (USBDevFIQSel
- 0x4002 002C) . . . . . . . . . . . . . . . . . . . . . . 139
Set Address (Command: 0xD0, Data: write
1 byte) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 142
Configure Device (Command: 0xD8, Data: write 1
byte) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 142
Set Mode (Command: 0xF3, Data: write
1 byte) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 142
Read Interrupt Status (Command: 0xF4, Data:
read 2 bytes) . . . . . . . . . . . . . . . . . . . . . . . . 143
Read Current Frame Number (Command: 0xF5,
Data: read 1 or 2 bytes) . . . . . . . . . . . . . . . . 143
Read Chip ID (Command: 0xFD, Data: read 2
bytes) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 144
Set Device Status (Command: 0xFE, Data: write 1
byte) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 144
Get Device Status (Command: 0xFE, Data: read 1
byte) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 145
Get Error Code (Command: 0xFF, Data: read 1
byte) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 145
Select Endpoint (Command: 0x00 - 0x09 Data:
read 1 byte (optional)) . . . . . . . . . . . . . . . . . 146
Select Endpoint/Clear Interrupt (Command:
0x40 - 0x47, Data: read 1 byte) . . . . . . . . . . 147
Set Endpoint Status (Command: 0x40 - 0x49,
Data: write 1 byte (optional)) . . . . . . . . . . . . 147
Clear Buffer (Command: 0xF2, Data: read 1 byte
(optional)). . . . . . . . . . . . . . . . . . . . . . . . . . . 148
Validate Buffer (Command: 0xFA, Data:
none) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 149
USB clock configuration. . . . . . . . . . . . . . . . 149
USB device controller initialization. . . . . . . . 150
Data flow from the Host to the Device . . . . . 150
Data flow from the Device to the Host . . . . . 151
Interrupt based transfer . . . . . . . . . . . . . . . . 151
Isochronous transfer . . . . . . . . . . . . . . . . . . 151
Automatic stall feature . . . . . . . . . . . . . . . . . 152
Bulk endpoints . . . . . . . . . . . . . . . . . . . . . . . 152
Isochronous endpoints . . . . . . . . . . . . . . . . . 154
USB connect . . . . . . . . . . . . . . . . . . . . . . . . 156
USB interrupt handler . . . . . . . . . . . . . . . . . 156
USB mass storage driver . . . . . . . . . . . . . . . 157
USB human interface driver. . . . . . . . . . . . . 158
UM10375
© NXP B.V. 2010. All rights reserved.
328 of 333

Related parts for LPC1313FBD48,151