• <li id="00i08"><input id="00i08"></input></li>
  • <sup id="00i08"><tbody id="00i08"></tbody></sup>
    <abbr id="00i08"></abbr>
  • 新聞中心

    EEPW首頁 > 嵌入式系統 > 設計應用 > LPC2939設計在MCU USB接口技術的應用

    LPC2939設計在MCU USB接口技術的應用

    作者: 時間:2012-01-06 來源:網絡 收藏

    以ARM968E-S CPU為內核,在一個芯片中集成了兩個操作頻率高達125MHz的TCM模塊、全速2.0主機/OTG/設備控制器、CAN和LIN、56KB SRAM、768KB Flash存儲器、外部存儲器、3個10位ADC和多個串行、并行,定位于消費、工業、醫療、通信和汽車制造業市場。為了使系統功耗最優化,具有一個非常靈活的時鐘產生單元(CGU),可提供動態時鐘門控和調節。本文介紹了主要特性, 方框圖,以及各種, OTG方框圖。

    本文引用地址:http://www.czjhyjcfj.com/article/149859.htm

    (MicrocontrolUnit)中文名稱為微控制單元,又稱單片微型計算機(singleChipMicrocomputer)或者單片機,是指隨著大規模集成電路的出現及其發展,將計算機的CPU、RAM、ROM、定時計數器和多種I/O接口集成在一片芯片上,形成芯片級的計算機,為不同的場合做不同組合控制。微控制器在經過這幾年不斷地研究,發展,歷經4位,8位,到現在的16位及32位,甚至64位。產品的成熟度,以及投入廠商之多,范圍之廣,真可謂之空前。目前在國外大廠因開發較早,產品線廣,所以領先,而本土廠商則以多功能為產品導向取勝。但不可諱言的,本土廠商的價格戰是對外商造成威脅的關鍵因素

    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主要特性和優勢:

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

    圖1.LPC2939方框圖

    圖2.LPC2939自供電設備USB接口方框圖


    圖3.LPC2939總線供電設備USB接口方框圖

    圖4.LPC2939 USB OTG端口配置:USB端口1 OTG雙任務設備,USB端口2主機

    圖5.LPC2939 USB OTG端口配置:USB端口1主機,USB端口2主機

    圖6.LPC2939 USB OTG端口配置:USB端口2設備,USB端口1主機



    評論


    相關推薦

    技術專區

    關閉
    主站蜘蛛池模板: 昌黎县| 汉源县| 嘉义市| 图木舒克市| 乐安县| 旬阳县| 富平县| 扎囊县| 华阴市| 汝阳县| 湄潭县| 松溪县| 平塘县| 恩施市| 资溪县| 天全县| 讷河市| 潼关县| 泰顺县| 金川县| 天峨县| 麻阳| 阿巴嘎旗| 綦江县| 吴忠市| 武定县| 洛宁县| 磐石市| 盘锦市| 灵川县| 隆化县| 西充县| 葵青区| 潜江市| 余庆县| 石家庄市| 焦作市| 漳平市| 南安市| 农安县| 富宁县|