>
首页 » 解决方案 » NXP LPC1766 USB接口解决方案

NXP LPC1766 USB接口解决方案

作者:  时间:2008-10-20 13:14  来源:eaw
NXP公司的LPC1766是32位ARM Cortex-M3微控制器,集成了带以太网的256KB闪存和64KB SRAM, USB 2.0 Host/Device/OTG, CAN, 12位 ADC和10位DAC. LPC1766 CPU工作频率80MHz,具有3级流水线和Harvard架构,可用于静电计,照明,工业网络和告警系统.本文介绍了LPC1766的主要特性和方框图以及多种USB接口解决方案和端口配置.

LPC1766 32-bit ARM Cortex-M3 microcontroller; 256 kB flash and 64 kB SRAM with Ethernet, USB 2.0 Host/Device/OTG, CAN, 12-bit ADC, and 10-bit DAC.

The LPC1766 is an ARM Cortex-M3 based microcontroller for embedded applications
featuring a high level of integration and low power consumption. The ARM Cortex-M3 is a
next generation core that offers system enhancements such as enhanced debug features
and a higher level of support block integration.
The LPC1766 operates at CPU frequencies of up to 80 MHz. The ARM Cortex-M3 CPU
incorporates a 3-stage pipeline and uses a Harvard architecture with separate local
instruction and data buses as well as a third bus for peripherals. The ARM Cortex-M3
CPU also includes an internal prefetch unit that supports speculative branching.

The peripheral complement of the LPC1766 includes 256 kB of flash memory, 64 kB of
data memory, Ethernet MAC, USB Device/Host/OTG interface, 8-channel general
purpose DMA controller, 4 UARTs, 2 CAN channels, 2 SSP controllers, SPI interface, 3
I2C interfaces, 2-input plus 2-output I2S interface, 8 channel 12-bit ADC, 10-bit DAC,
motor control PWM, Quadrature Encoder interface, 4 general purpose timers, 6-output
general purpose PWM, ultra-low power RTC with separate battery supply, and up to 70
general purpose I/O pins.
The LPC1766 is pin-compatible to the LPC2366 ARM7-based microcontroller.

LPC1766主要特性:
ARM Cortex-M3 processor, running at frequencies of up to 80 MHz. A Memory Protection Unit (MPU) supporting eight regions is included.
ARM Cortex-M3 built-in Nested Vectored Interrupt Controller (NVIC).
256 kB on-chip flash programmimg memory. Enhanced flash memory accelerator enables high-speed 80 MHz operation with zero wait states.
In-System Programming (ISP) and In-Application Programming (IAP) via on-chip boot
loader software.
64 kB on-chip SRAM includes:
32 kB of SRAM on the CPU with local code/data bus for high-performance CPU access.
Two 16 kB SRAM blocks with separate access paths for higher throughput. These SRAM blocks may be used for Ethernet, USB, and DMA memory, as well as for general purpose CPU instruction and data storage.

Eight channel General Purpose DMA controller (GPDMA) on the AHB multilayer
matrix that can be used with the SSP, I2S, UART, the Analog-to-Digital and
Digital-to-Analog converter peripherals, timer match signals, and for
memory-to-memory transfers.
Multilayer AHB matrix interconnect provides a separate bus for each AHB master.

AHB masters include the CPU, General Purpose DMA controller, Ethernet MAC, and
the USB interface. This interconnect provides communication with no arbitration
delays.

Split APB bus allows high throughput with few stalls between the CPU and DMA.
Serial interfaces:
Ethernet MAC with RMII interface and dedicated DMA controller.
USB 2.0 full-speed device/Host/OTG controller with dedicated DMA controller and
on-chip PHY for device, Host, and OTG functions.
Four UARTs with fractional baud rate generation, internal FIFO, DMA support, and
RS-485 support. One UART has modem control I/O, and one UART has IrDA
support.

CAN 2.0B controller with two channels.
SPI controller with synchronous, serial, full duplex communication and
programmable data length.
Two SSP controllers with FIFO and multi-protocol capabilities. The SSP interfaces
can be used with the GPDMA controller.
Two I2C-bus interfaces supporting fast mode with a data rate of 400 kbits/s with
multiple address recognition and monitor mode.
One I2C-bus interface supporting full I2C-bus specification and fast mode plus with
a data rate of 1 Mbit/s with multiple address recognition and monitor mode.

I2S (Inter-IC Sound) interface for digital audio input or output, with fractional rate
control. The I2S interface can be used with the GPDMA. The I2S interface supports
3-wire and 4-wire data transmit and receive as well as master clock input/output.

Other peripherals:
70 General Purpose I/O (GPIO) pins with configurable pull-up/down resistors and a
new, configurable open-drain operating mode.
12-bit Analog-to-Digital Converter (ADC) with input multiplexing among eight pins,
conversion rates up to 1 MHz, and multiple result registers. The 12-bit ADC can be used with the GPDMA controller.
10-bit Digital-to-Analog Converter (DAC) with dedicated conversion timer and DMA support.
Four general purpose timers/counters, with a total of eight capture inputs and ten compare outputs. Each timer block has an external count input and DMA support.
One motor control PWM with support for three-phase motor control.
Quadrature encoder interface that can monitor one external quadrature encoder.
One standard PWM/timer block with external count input.
Real-Time Clock (RTC) with a separate power domain and dedicated RTC oscillator. The RTC block includes 64 bytes of battery-powered backup registers.
Watchdog Timer (WDT) resets the microcontroller within a reasonable amount of time if it enters an erroneous state.
System tick timer, including an external clock input option.
Repetitive interrupt timer provides programmable and repeating timed interrupts.

LPC1766应用:
eMetering
Lighting
Industrial networking
Alarm systems
White goods
Motor control



图1.LPC1766方框图
下面是建议的USB接口解决方案



图2.自带电源设备的LPC1766 USB接口配置



图3.采用总线电源的LPC1766 USB接口配置



图4. LPC1766 USB OTG端口配置



图5. LPC1766 USB主端口配置



图6. LPC1766 USB设备端口配置

相关推荐

LED产业整体迎来加速成长期

LED  照明  2014-01-17

市场分析:2014年将出现LED照明换灯潮

LED  照明  2013-12-31

2014年LED照明业:茫茫市场 路在何方?

LED  照明  2013-12-27

透析LED照明七大市场 解读行业发展现状

LED  照明  2013-12-25

中国照明设计为何走不出国门?

照明  LED  2013-12-25

LED存在劣势 良好开端如何跨越瓶颈

LED  照明  2013-12-23
在线研讨会
焦点