当前位置:首页 > 嵌入式 > 嵌入式教程
[导读]基于LPC2930设计的高速USB-OTG接口方案

LPC2930是集成了ARM968E-S CPU核和两个TCM区块的MCU,工作频率高达125MHz,并具有全速USB 2.0 Host/OTG/Device控制器,CAN和LIN,56 kB SRAM,外接存储器接口,三个10位ADC和多种串行接口,可广泛应用在消费电子,工业和通信市场。本文介绍了LPC2930主要特性和优势,整体方框图和各种功能的方框图,包括时钟区框图,调制和取样控制子系统(MSCSS)方框图,ADC方框图,PWM方框图,PCRSS方框图,CGU0和CGU1方框图,时钟发生架构图和PLL方框图以及自供电USB接口框图与USB OTG端口配置图。

The LPC2930 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, external memory interface, three 10-bit ADCs, and multiple serial and parallel interfaces in a single chip targeted at consumer, industrial, and communication markets. To optimize system power consumption, the LPC2930 has a very flexible Clock Generation Unit (CGU) that provides dynamic clock gating and scaling.

LPC2930主要特性和优势:

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 TCM (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.

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.

Processor wake-up from power-down via external interrupt pins, CAN, or LIN activity.

Configurable clock-out pin for driving external system clocks.

Flexible Reset Generator Unit (RGU) able to control resets of individual modules.

Flexible Clock-Generation Unit (CGU) able to control clock frequency of individual 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 dividers.

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 individual 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.

−40℃pplication  to +85℃ ambient operating temperature range.

图1。LPC2930方框图
[!--empirenews.page--]
图2。LPC2930时钟区框图

图3。LPC2930调制和取样控制子系统(MSCSS)方框图

图4。LPC2930 ADC方框图

图5。LPC2930 PWM方框图

图6。LPC2930 PCRSS方框图

图7。LPC2930 CGU0方框图

图8。LPC2930时钟发生架构图

图9。LPC2930 PLL方框图
[!--empirenews.page--]
图10。LPC2930 CGU1方框图

图11。LPC2930 自供电USB接口框图

图12。LPC2930 总线供电USB接口框图

图13。LPC2930 USB端口配置图:USB端口1 OTG双规设备,USB端口2主机

图13。LPC2930 USB OTG端口配置图:USB端口1 主机,USB端口2主机

图14。LPC2930 USB OTG端口配置图:USB端口2 设备,USB端口1主机
本站声明: 本文章由作者或相关机构授权发布,目的在于传递更多信息,并不代表本站赞同其观点,本站亦不保证或承诺内容真实性等。需要转载请联系该专栏作者,如若文章内容侵犯您的权益,请及时联系本站删除。
换一批
延伸阅读

随着科技的飞速发展,电子产品在我们日常生活中扮演着越来越重要的角色。而在这些电子产品中,接口作为连接设备与外部设备的桥梁,其重要性不言而喻。其中,Type-C接口作为一种新型的接口标准,因其独特的优势,逐渐成为了众多电子...

关键字: 电子产品 Type-C 接口

在这篇文章中,小编将对端口的相关内容和情况加以介绍以帮助大家增进对它的了解程度,和小编一起来阅读以下内容吧。

关键字: 端口 控制端口

随着电动汽车的普及,充电桩作为电动汽车的重要基础设施,越来越受到人们的关注。然而,对于许多电动汽车用户来说,直流充电桩和交流充电桩的接口和区别仍然是一个令人困惑的问题。本文将从接口和区别两个方面,详细探讨直流充电桩和交流...

关键字: 电动汽车 接口 充电桩

武汉2023年9月19日 /美通社/ -- 目前,在国家政策和市场需求双重驱动下,国内数据库行业呈现出百花齐放的态势。充分竞争的市场环境下,达梦数据连续数年保持中国数据库管理系统市场占有率前列地位,成为当之无愧的国产数据...

关键字: DM DSC 国家电网 接口

深圳2023年9月15日 /美通社/ -- 9月14-15日,2023全球AI芯片峰会(GACS 2023)在深圳正式举行。峰会以【AI 大时代 逐鹿芯世界】为主题,共探AI芯片的产学研用,邀请了清华大学教授、中国半导体...

关键字: 接口 芯科 内存 AC

Type-C接口已经成为当今市场上备受青睐的接口之一。它以其小巧轻便、高速传输、支持多种协议等特点,吸引了越来越多的关注。

关键字: Type-C 接口 USB

USB-C和Type-C是两种不同的USB接口类型,它们在外观、结构和功能上有一些区别。下面将详细介绍这两种接口类型的区别和特点,帮助大家更好地了解和认识它们。

关键字: usb-c type-c 接口

USB接口是现代电子设备中常用的接口之一,它具有通用性强、传输速度快、易于使用等特点。USB接口的应用范围非常广泛,从智能手机、笔记本电脑到电脑外设、智能家居等都可以看到它的身影。在USB接口的发展历程中,出现了多种不同...

关键字: USB 接口

USB接口是一种常见的串行接口,它的全称是Universal Serial Bus,由USB Implementers Forum制定。USB接口具有通用性强、传输速度快、支持多种设备同时连接等优点,因此在现代电子设备中...

关键字: USB 接口 串行接口

总线(Bus)是计算机各种功能部件之间传送信息的公共通信干线,它是由导线组成的传输线束, 按照计算机所传输的信息种类,计算机的总线可以划分为数据总线、地址总线和控制总线,分别用来传输数据、数据地址和控制信号。

关键字: 总线 计算机 接口
关闭
关闭