USB with NXP Microcontrollers

Document created by jorge_plascencia Employee on Apr 25, 2016Last modified by jorge_plascencia Employee on Apr 26, 2016
Version 2Show Document
  • View in full screen mode

Introduction

The Universal Serial Bus (USB) is the most-successful interface in personal computing today. Fast, reliable, and easy-to-use, you will find this interface everywhere — on personal computers, computer peripherals, monitors, mobile devices, audio and video equipment, and most other consumer electronic products.

 

NXP leads the market in USB-equipped ARM microcontrollers providing more than 80 options for Cortex-M4, Cortex-M3, Cortex-M0, ARM9, and ARM7 microcontrollers (see comparison table and products below). NXP's portfolio of high-speed and full-speed device/host/OTG USB-enabled microcontrollers offers special USB features (like on-chip HS PHY and ROM drivers), free software, and comprehensive support to help you move quickly from design concept to production.

 


NXP Advantages

NXP's microcontroller portfolio features the latest USB technologies, including full- and high-speed USB 2.0 device, host, and On-The-Go (OTG) functions. NXP supports all four transfer types: control, interrupt, bulk, and, in particular, isochronous, which is required for streaming audio. NXP MCUs provide designers a range of special USB features that improve overall performance and speed time-to-market:
  • Fully-Certified USB Products
  • On-Chip ROM Drivers
  • Integrated Hi-Speed and/or Full-Speed PHY
  • Free USB Host and Device Software
  • Additional USB Features

Fully-Certified USB Products

NXP is a leading member of the USB-IF, the organization that maintains the USB specifications and verifies USB compliance. NXP's USB-equipped ARM MCUs are submitted for certification, so designers can be certain that their systems will deliver the best in reliability and plug-and-play operation. As of the end of 2008, most of our USB 2.0-based processors with host and device functions have been certified; the OTG function is in-process. A complete list of compliant products appears on the USB-IF web site, www.usb.org.

On-Chip USB ROM Drivers

NXP's on-board USB ROM drivers pack the entire USB stack, USB classes, and low-level drivers right into the microcontroller's ROM, eliminating the need to develop and debug this complex software yourself. Placing the USB drivers in the ROM frees up valuable memory space that you can then use for your application. These drivers have been thoroughly tested by NXP and outside test houses and are used to gain USB logo certification after passing the rigorous testing requirements at USB-IF.

Integrated Hi-Speed and/or Full-Speed PHY

A full-speed or high-speed PHY is integrated into NXP's USB microcontrollers and provides the bridge between the digital and modulated parts of the interface. The integration of the PHY on the MCU saves component cost and simplifies system design. For example, the LPC1800 and LPC4300 microcontrollers support two channels of High-Speed USB 2.0 Host/Device/OTG and have an on-chip High-Speed PHY.

Free USB Host and Device Software

USB development doesn't have to be expensive or difficult. To help you save time and money, NXP provides complete ready-to-go USB example applications for host and device modes that work out of the box on multiple tool chains — all at no charge. In addition to NXP's own complimentary USB packages, NXP partners with leading software companies to provide state-of-the-art USB firmware. For a complete list of USB software options, please see the Support section of this page.

Additional USB Features

NXP's additional USB features include the following:
  • Host controllers are OHCI-/EHCI-compliant.
  • Dedicated DMA lets the USB interface operate with minimal CPU intervention.
  • SoftConnect™ uses software to determine when a USB device will connect to the bus.
  • GoodLink™ uses an LED to indicate that a USB device has been enumerated and configured on the bus. (To save power, the LED is turned off during suspend.)
  • Double-buffering maximizes throughput on bulk and isochronous endpoints.
  • Multiple USB ports let devices be configured as hosts, devices, or both.
  • USB data buffer provides flexible configuration of endpoint FIFO sizes.

Products

NXP offers more than 80 USB MCU options for Cortex-M0, Cortex-M3, Cortex-M4, ARM9, and ARM7 microcontrollers (see the comparison table and products below). NXP MCUs special USB features include:

Comparison Table

CoreProductOn-Chip ControllerNo. of CntrlsNo. of PortsOn-chip PHYCertified
Device Host OTG
ARM7TDMI-SLPC2141FS--11DeviceFS
LPC2142FS--11DeviceFS
LPC2144FS--11Device-
LPC2146FS--11Device-
LPC2148FS--11DeviceFS
LPC2158FS--11Device-
LPC2361FSFSFS11Device, HostFS
LPC2362FSFSFS11Device, HostFS
LPC2364FS--11DeviceFS
LPC2366FS--11DeviceFS
LPC2368FS--11DeviceFS
LPC2378FS--11DeviceFS
LPC2387FSFSFS11Device, HostFS
LPC2388FSFSFS12Device, HostFS
LPC2420FSFSFS12Device, Host-
LPC2458FSFSFS12Device, Host-
LPC2460FSFSFS12Device, Host-
LPC2468FSFSFS12Device, HostFS
LPC2470FSFSFS12Device, Host-
LPC2478FSFSFS12Device, Host-
LPC2880HS--11DeviceHS
LPC2888HS--11DeviceHS
ARM720TLH79524FS--11Device-
LH79525FS--11Device-
ARM922TLH7A404FSFS-13 (2 host)Device, Host-
LH7A400FS--11Device-
ARM968LPC2921FS--11Device-
LPC2923FS--11Device-
LPC2925FS--11Device-
LPC2926FS FS11Device
LPC2927FS-FS11Device-
LPC2929FS-FS11DeviceFS
LPC2930FSFSFS12Device, Host-
LPC2939FSFSFS12Device, Host-
ARM926EJ-SLPC3180/01FSFSFS11--
LPC3220FSFSFS11--
LPC3230FSFSFS11--
LPC3240FSFSFS11--
LPC3250FSFSFS11--
LPC3130HSHSHS11Device, Host, OTG-
LPC3131HSHSHS11Device, Host, OTGHS
LPC3151HSHSHS11Device, Host, OTG-
LPC3152HSHSHS11Device, Host, OTGHS
LPC3153HSHSHS11Device, Host, OTG-
LPC3154HSHSHS11Device, Host, OTG-
Cortex-M3LPC1342FS--11DeviceFS
LPC1343FS--11DeviceFS
LPC1345FS--11Device-
LPC1346FS--11Device-
LPC1347FS--11Device-
LPC1547FS--11Device-
LPC1548FS--11Device-
LPC1549FS--11DeviceFS
LPC1751FS--11DeviceFS
LPC1752FS--11Device-
LPC1754FSFSFS11Device, Host-
LPC1756FSFSFS11Device, Host-
LPC1758FSFSFS11Device, Host-
LPC1759FSFSFS11Device, Host-
LPC1764FS--11Device-
LPC1765FSFSFS11Device, Host-
LPC1766FSFSFS11Device, Host-
LPC1768FSFSFS11Device, HostFS
LPC1769FSFSFS11Device, Host-
LPC1774FS--11Device-
LPC1776FSFSFS11Device, Host-
LPC1777FSFSFS11Device, Host-
LPC1778FSFSFS11Device, Host-
LPC1785FSFSFS11Device, Host-
LPC1786FSFSFS11Device, Host-
LPC1787FSFSFS11Device, Host-
LPC1788FSFSFS11Device, Host-
LPC1820HSHSHS11Device, Host-
LPC1822HSHSHS11Device, Host-
LPC1823HSHSHS11Device, Host-
LPC1825HSHSHS11Device, Host-
LPC1827HSHSHS11Device, Host-
LPC1830HSHSHS22Device, Host-
LPC1833HSHSHS22Device, Host-
LPC1837HSHSHS22Device, HostFS
LPC1850HSHSHS22Device, HostFS
LPC1853HSHSHS22Device, HostFS
LPC1857HSHSHS22Device, HostFS
Cortex-M4LPC4072FSFSFS12Device, Host, OTG-
LPC4074FSFSFS12Device, Host, OTG-
LPC4076FSFSFS12Device, Host, OTG-
LPC4078FSFSFS12Device, Host, OTG-
LPC4088FSFSFS12Device, Host, OTG-
LPC4320HSHSHS11Device, Host, OTG-
LPC4320HSHSHS11Device, Host, OTG
LPC4322HSHSHS11Device, Host, OTG-
LPC4323HSHSHS11Device, Host, OTG-
LPC4325HSHSHS11Device, Host, OTG-
LPC4327HSHSHS11Device, Host, OTG-
LPC4330HSHSHS22Device, Host, OTG-
LPC4333HSHSHS22Device, Host, OTG-
LPC4337HSHSHS22Device, Host, OTG-
LPC4350HSHSHS22Device, Host, OTG-
LPC4353HSHSHS22Device, Host, OTG-
LPC4357HSHSHS22Device, Host, OTG-
Cortex-M0LPC11U12FS--11Device-
LPC11U13FS--11Device-
LPC11U14FS--11DeviceFS
LPC11U23FS--11Device-
LPC11U24FS--11DeviceLS, FS
LPC11U34FS--11Device-
LPC11U35FS--11Device-
LPC11U36FS--11Device-
LPC11U37FS--11DeviceFS
LPC11U37HFS--11Device-
Cortex-M0+LPC11U67FS--11Device-
LPC11U68FS--11DeviceLS, FS

Support

Software

 

 

Application Notes

Articles

Links

 

 

Attachments

    Outcomes