Microchip logo
Microchip logo
  • All
  • Products
  • Documents
  • Applications Notes

PIC32 and SAM MCUs USB Quick Selector Guide

Microchip offers a wide range of 32-bit microcontrollers (MCUs) with support for Full-Speed or High-Speed USB, and options for Device, Host and On-The-Go (OTG) modes.

Basic USB Concepts

The Universal Serial Bus has grown to become a common interface in many embedded industrial, medical, automotive, and consumer applications.

pic32usb-intro-collage

Terminology

  • Host: A PC or other computer that enumerates and communicates to the devices.
  • Embedded Host: Embedded products such as set-top boxes, video game Consoles and data loggers that have some of the capabilities of a non-PC host.
  • Device: The peripherals (mice, keyboard, Flash drive, printer) that follow the commands of the host or embedded host.
  • On the Go (OTG): The capability of the application to act as either an embedded host or a device; applications with OTG have a single connector (Micro AB) for host or device role.
  • Dual Role: The capability of the application to act as an embedded host or a device, but have two separate connectors for each role (Type-A connector for host and Type-B connector for device.)
  • Enumeration: The process by which a USB host learns about a USB device that has just been connected to the bus; before the application is able to start running, the host queries the device for various information to determine what type of device it is, what device driver it needs to load for the device, what power requirements the device has, etc.

USB Classes

A USB class categorizes and identifies the device functionality. It serves as a guide to developers/programmers for application development. Some common USB classes are as follows:

  • Audio
  • Mass Storage
  • HID
  • CDC
  • Generic
  • Printer

USB Speeds

USB comes in many different speeds. Full-Speed and High-Speed USB are the most common speeds supported by 32-bit MCUs. The following is a list of the different USB options and their speeds:

USB Verion Maximum Transfer Rate
SuperSpeed+ 10 Gbps
SuperSpeed 5 Gbps
High Speed 480 Mbps
SuperSpeed+ 12 Mbps
SuperSpeed+ 1.5 Mbps

Connector Types and Cables

There are many types of connectors for USB including: Type-A, Type-B, Mini-A, Mini-AB, Mini-B, Micro-AB, Standard A, Standard B, USB 3.0 Micro-B, and Type-C.

The Micro USB connectors are the most common on cell phones for charging and connectivity. The Type-C is the newest connector, designed to support USB 2.0, USB 3.0, USB 3.1 and future USB specifications reaching up to 20 Gbps data rates. This chart describes some of the common cable types.

180115-mc32-diag-mcu32-usb-guide-ps850

USB Controllers and Physical Interfaces (PHYs)

The USB controller handles all of the communication via a USB stack running on the MCU, while, the PHY provides the physical interface to the cable. Microchip's 32-bit MCUs integrate both the controller and PHY.

PIC32 and SAM MCUs USB

PIC32 and SAM MCUs for Full-Speed USB

The following are Microchip’s Full-Speed USB products with OTG, device and host functionality. Note that some MCUs only contain a USB device, while others contain a host and device or OTG functionality.

PIC32MX5 Series (Low Pin Count)

  • 40, 50 MHz Performance
  • Up to 256K Flash/64K RAM
  • USB 2.0 FS OTG
  • 64/36/44 Lead

Entry Level PIC32MX5 Series

  • 40, 50 MHz Performance
  • Up to 512K Flash/64K RAM
  • Full Speed OTG
  • CAN2.0B
  • 64/100 Lead

PIC32MX2 Series (High Pin Count)

  • 40, 50 MHz Performance
  • Up to 512K Flash/64K RAM
  • Full Speed OTG
  • 64/100 Lead

PIC32MX5/6/7 Series

  • 80 MHz Performance
  • Up to 512K Flash/128K RAM
  • Full Speed OTG
  • 10/100 Ethernet
  • CAN2.0B
  • 64/100 Lead
Read More

PIC32MX420/440/460 Series

  • Up to 80 MHz Performance
  • Up to 512K Flash/ 32K RAM
  • Full Speed OTG
  • 64/100 Lead
Read More

PIC32MX430/450/470 Series

  • Up to 120 MHz Performance
  • Up to 512K Flash/128K RAM
  • USB 2.0 FS OTG
  • CAN 2.0B
  • 64/100 Lead
Read More

SAMD11 Series

  • 48 MHz Performance
  • Up to 16K Flash/4K RAM
  • USB 2.1 Device
  • 14/20/24 Lead
Read More

SAM4S

  • 120 MHz Performance
  • Up to 2MB Flash/160K RAM
  • USB 2.0 Device
  • 48/64/100 Lead
Read More

SAMD21 Series

  • 48 MHz Performance
  • Up to 256K Flash/32K RAM
  • USB 2.1 Embedded Host/Device
  • 32/48/64 Lead
Read More

SAM4E

  • 120 MHz Performance
  • Up to 1MB Flash/128K RAM
  • USB 2.0 FS Device
  • 10/100 Ethernet & Dual
  • 100/144 Lead
Read More

SAMDA1 Series (Automotive)

  • 48 MHz Performance
  • Up to 64K Flash/8K RAM
  • FS USB 2.1Embedded Host/Device
  • LIN Support
  • 32/48/64 Lead
Read More

SAMR21 Series (Wireless)

  • 48 MHz Performance
  • Up to 64K Flash/8K RAM
  • FS USB 2.1 Embedded Host/Device
  • Integrated 802.15.4 Transceiver
  • 32/48/64 Lead
Read More

SAML21

  • 48 MHz Performance
  • Up to 256K Flash/ 40K RAM
  • USB 2.1 Embedded Host/Device
  • 32/48/64 Lead
Read More

SAMG55

  • 120 MHz Performance
  • Up to 512K Flash/176K RAM
  • USB 2.0 Device/USB Host OHCI
  • 49/64 Lead
Read More

SAML22

  • 32 MHz Performance
  • Up to 256K Flash/32K RAM
  • USB 2.1 FS Device
  • 48/64/100 Lead
Read More

SAM4L

  • 48 MHz Performance
  • Up to 512K Flash/64K RAM
  • USB 2.0 FS Embedded Host/Device
  • 120 Segment LCD Controller
  • 48/64/100 Lead
Read More

PIC32MK Series

  • 120 MHz Performance
  • Up to 1M Flash/256K RAM
  • Up to Four CAN 2.0B
  • Up to Two FS USB 2.0
  • 64/100 Lead
Read More

SAME5X Family

  • 120 MHz Performance
  • Up to 1M Flash/256K RAM
  • Up to Two CAN 2.0B
  • USB 2.0 Mini Host/Device
  • 10/100 Ethernet
  • 48/64/100/128 Lead
Read More

PIC32MZ Family

  • 200 MHz Performance
  • Up to 2M FLASH/512K RAM
  • USB 2.0 HS OTG
  • 10/100 Ethernet, CAN2.0B
  • 12-bit ADC, Crypto
  • 64/100/124/144 Lead

SAMS70/E70/V70/V71 Family

  • 300 MHz Performance
  • Up to 2M Flash/384K RAM
  • USB 2.0 Mini Host/Device
  • 10/100 Ethernet, Dual CAN-FD 1.0
  • Crypto – AES, TRNG, and ICM (SHA)
  • 64/100/144 Lead

PIC32 and SAM MCUs for High-Speed USB Devices

The following are Microchip's 32-Bit products for High-Speed USB with OTG, host and device functionality.

PIC32MZ Family

  • 200 MHz Performance
  • Up to 2M FLASH/512K RAM
  • USB 2.0 HS OTG
  • 10/100 Ethernet, CAN2.0B
  • 12-bit ADC, Crypto
  • 64/100/124/144 Lead

SAMS70/E70/V70/V71 Family

  • 300 MHz Performance
  • Up to 2M Flash/384K RAM
  • USB 2.0 Mini Host/Device
  • 10/100 Ethernet, Dual CAN-FD 1.0
  • Crypto – AES, TRNG, and ICM (SHA)
  • 64/100/144 Lead