LPC2939設(shè)計(jì)在MCU USB接口技術(shù)的應(yīng)用
出處:幸福永遠(yuǎn) 發(fā)布于:2011-09-02 08:38:22
LPC2939以ARM968E-S CPU為內(nèi)核,在一個(gè)芯片中集成了兩個(gè)操作頻率高達(dá)125MHz的TCM模塊、全速USB2.0主機(jī)/OTG/設(shè)備控制器、CAN和LIN、56KB SRAM、768KB Flash存儲(chǔ)器、外部存儲(chǔ)器接口、3個(gè)10位ADC和多個(gè)串行、并行接口,定位于消費(fèi)應(yīng)用、工業(yè)、醫(yī)療、通信和汽車制造業(yè)市場(chǎng)。為了使系統(tǒng)功耗化,LPC2939具有一個(gè)非常靈活的時(shí)鐘產(chǎn)生單元(CGU),可提供動(dòng)態(tài)時(shí)鐘門控和調(diào)節(jié)。本文介紹了LPC2939主要特性, 方框圖,以及各種USB,USB OTG接口方框圖。
MCU(MicroControlUnit)中文名稱為微控制單元,又稱單片微型計(jì)算機(jī)(SingleChipMicrocomputer)或者單片機(jī),是指隨著大規(guī)模集成電路的出現(xiàn)及其發(fā)展,將計(jì)算機(jī)的CPU、RAM、ROM、定時(shí)計(jì)數(shù)器和多種I/O接口集成在一片芯片上,形成芯片級(jí)的計(jì)算機(jī),為不同的應(yīng)用場(chǎng)合做不同組合控制。微控制器在經(jīng)過這幾年不斷地研究,發(fā)展,歷經(jīng)4位,8位,到現(xiàn)在的16位及32位,甚至64位。產(chǎn)品的成熟度,以及投入廠商之多,應(yīng)用范圍之廣,真可謂之空前。目前在國(guó)外大廠因開發(fā)較早,產(chǎn)品線廣,所以技術(shù),而本土廠商則以多功能為產(chǎn)品導(dǎo)向取勝。但不可諱言的,本土廠商的價(jià)格戰(zhàn)是對(duì)外商造成威脅的關(guān)鍵因素
LPC2939: ARM9 microcontroller with CAN, LIN, and USB
The LPC2939 combine an ARM968E-S CPU core with two integrated TCM blocks operating at frequencies of up to 125 MHz, Full-speed USB 2.0 Host/OTG/Device controller, CAN and LIN, 56 kB SRAM, 768 kB flash memory, external memory interface,three 10-bit ADCs, and multiple serial and parallel interfaces in a single chip targeted at consumer, industrial, medical, and communication markets. To optimize system power
consumption, the LPC2939 has a very flexible Clock Generation Unit (CGU) that provides dynamic clock gating and scaling.
LPC2939主要特性和優(yōu)勢(shì):
ARM968E-S processor running at frequencies of up to 125 MHz maximum.
Multilayer AHB system bus at 125 MHz with four separate layers.
On-chip memory:
Two Tightly Coupled Memories (TCM), 32 kB Instruction (ITCM), 32 kB Data TCM (DTCM)
Two separate internal Static RAM (SRAM) instances; 32 kB SRAM and 16 kB SRAM
8 kB ETB SRAM, also usable for code execution and data
768 kB high-speed flash program memory
16 kB true EEPROM, byte-erasable/programmable
Dual-master, eight-channel GPDMA controller on the AHB multilayer matrix which can be used with the SPI interfaces and the UARTs, as well as for memory-to-memory transfers including the TCM memories
External Static Memory Controller (SMC) with eight memory banks; up to 32-bit data bus; up to 24-bit address bus
Serial interfaces:
USB 2.0 full-speed Host/OTG/Device controller with dedicated DMA controller and on-chip device PHY
Two-channel CAN controller supporting FullCAN and extensive message filtering
Two LIN master controllers with full hardware support for LIN communication. The LIN interface can be configured as UART to provide two additional UART interfaces.
Two 550 UARTs with 16-byte Tx and Rx FIFO depths, DMA support, modem control, and RS-485/EIA-485 (9-bit) support
Three full-duplex Q-SPIs with four slave-select lines; 16 bits wide; 8 locations deep;Tx FIFO and Rx FIFO
Two I2C-bus interfaces
Other peripherals:
One 10-bit ADC with 5.0 V measurement range and eight input channels with conversion times as low as 2.44 ?s per channel
Two 10-bit ADCs, 8-channels each, with 3.3 V measurement range provide an additional 16 analog inputs with conversion times as low as 2.44 ?s per channel. Each channel provides a compare function to minimize interrupts.
Multiple trigger-start option for all ADCs: timer, PWM, other ADC, and external signal input
Four 32-bit timers each containing four capture-and-compare registers linked to I/Os
Four six-channel PWMs (Pulse-Width Modulators) with capture and trap functionality
Two dedicated 32-bit timers to schedule and synchronize PWM and ADC
Quadrature encoder interface that can monitor one external quadrature encoder
32-bit watchdog with timer change protection, running on safe clock
Up to 152 general-purpose I/O pins with programmable pull-up, pull-down, or bus keeper
Vectored Interrupt Controller (VIC) with 16 priority levels
Up to 22 level-sensitive external interrupt pins, including USB, CAN and LIN wake-up features
Configurable clock-out pin for driving external system clocks
Processor wake-up from power-down via external interrupt pins and CAN or LIN activity
Flexible Reset Generator Unit (RGU) able to control resets of inpidual modules
Flexible Clock-Generation Unit (CGU) able to control clock frequency of inpidual modules:
On-chip very low-power ring oscillator; fixed frequency of 0.4 MHz; always on to provide a Safe_Clock source for system monitoring
On-chip crystal oscillator with a recommended operating range from 10 MHz to 25 MHz. PLL input range 10 MHz to 25 MHz.
On-chip PLL allows CPU operation up to a maximum CPU rate of 125 MHz
Generation of up to 11 base clocks
Seven fractional piders
Second, dedicated CGU with its own PLL generates USB clocks and a configurable clock output
Highly configurable system Power Management Unit (PMU):
clock control of inpidual modules
allows minimization of system operating power consumption in any configuration
Standard ARM test and debug interface with real-time in-circuit emulator
Boundary-scan test supported
ETM/ETB debug functions with 8 kB of dedicated SRAM also accessible for application code and data storage
Dual power supply:
CPU operating voltage: 1.8 V ? 5 %
I/O operating voltage: 2.7 V to 3.6 V; inputs tolerant up to 5.5 V
208-pin LQFP package

圖1.LPC2939方框圖
圖2.LPC2939自供電設(shè)備USB接口方框圖
圖3.LPC2939總線供電設(shè)備USB接口方框圖
圖4.LPC2939 USB OTG端口配置:USB端口1 OTG雙任務(wù)設(shè)備,USB端口2主機(jī)
圖5.LPC2939 USB OTG端口配置:USB端口1主機(jī),USB端口2主機(jī)
圖6.LPC2939 USB OTG端口配置:USB端口2設(shè)備,USB端口1主機(jī)
版權(quán)與免責(zé)聲明
凡本網(wǎng)注明“出處:維庫(kù)電子市場(chǎng)網(wǎng)”的所有作品,版權(quán)均屬于維庫(kù)電子市場(chǎng)網(wǎng),轉(zhuǎn)載請(qǐng)必須注明維庫(kù)電子市場(chǎng)網(wǎng),http://udpf.com.cn,違反者本網(wǎng)將追究相關(guān)法律責(zé)任。
本網(wǎng)轉(zhuǎn)載并注明自其它出處的作品,目的在于傳遞更多信息,并不代表本網(wǎng)贊同其觀點(diǎn)或證實(shí)其內(nèi)容的真實(shí)性,不承擔(dān)此類作品侵權(quán)行為的直接責(zé)任及連帶責(zé)任。其他媒體、網(wǎng)站或個(gè)人從本網(wǎng)轉(zhuǎn)載時(shí),必須保留本網(wǎng)注明的作品出處,并自負(fù)版權(quán)等法律責(zé)任。
如涉及作品內(nèi)容、版權(quán)等問題,請(qǐng)?jiān)谧髌钒l(fā)表之日起一周內(nèi)與本網(wǎng)聯(lián)系,否則視為放棄相關(guān)權(quán)利。
- 深入解析嵌入式 OPENAMP 框架:開啟異核通信新時(shí)代2025/7/22 16:27:29
- 一文快速了解OPENWRT基礎(chǔ)知識(shí)2025/7/14 16:59:04
- 獨(dú)立 ADC 優(yōu)勢(shì)大揭秘:為何不可替代?2025/7/7 16:21:04
- 深入剖析:嵌入式中 RS485、RS422 和 RS232 的特點(diǎn)差異2025/7/5 15:07:54
- 揭秘嵌入式 MCU:浮點(diǎn)數(shù)據(jù)處理難點(diǎn)及應(yīng)對(duì)策略2025/6/20 15:19:07
- 薄膜、MLCC和陶瓷片式電容:EMI 安規(guī)電容器該選誰(shuí)?一文講清楚!
- 西門子推出TessentIJTAGPro,加速?gòu)?fù)雜半導(dǎo)體設(shè)計(jì)與測(cè)試進(jìn)程
- 用大容量MLCC代替聚合物電容器,有哪些優(yōu)點(diǎn)
- 恒玄BES2800芯片:6nm工藝+雙核M55+藍(lán)牙5.4的融合之作
- VW60330-2013大眾端子壓接標(biāo)準(zhǔn)詳細(xì)解讀
- SPI的四種工作模式詳解
- BOOST芯片的VIN與VOUT非常接近時(shí),會(huì)出現(xiàn)什么情況?
- 如何在無線電連接設(shè)備中嵌入安全性
- ADI芯品兼具高精度與低延遲的SAR ADC
- Allegro發(fā)布革命性10MHz TMR電流傳感器ACS3









