PIC32MX Peripherals (Overview)

Last modified by Microchip on 2023/11/09 09:00

PIC32MX device block diagram
 

PIC32MX devices incorporate a variety of innovative peripherals that allow them to interface with the external world.

The peripherals are connected to the CPU core via two peripheral buses which enable you to optimize peripheral operating speed while allowing the CPU to run at maximum speed (100 MHz):

  • SYSCLK Peripheral Bus
    • Peripherals operating at the CPU speed
  • PBCLK Peripheral Bus
    • Peripherals operating at a lower speed

Please visit the "PIC32MX Oscillator" page to learn more about the oscillator system and how to set up the clocks for SYSCLK and PBCLK.

Available peripherals in PIC32MX cover many categories and contain several key features:

Direct Memory Access (DMA)

  • Up to eight channels with automatic data size detection

  • Programmable Cyclic Redundancy Check (CRC)
  • Six additional channels dedicated to USB, Ethernet, and CAN modules

Communications Interfaces

  • USB 2.0-compliant Full-Speed (12 Mbit/s) On-The-Go (OTG) controller

  • CAN module (with dedicated DMA channels):
    • 2.0 B Active with DeviceNet™ addressing support
  • Six Universal Asynchronous Receiver Transmitter (UART) modules (20 Mbps):
    • Supports LIN 1.2 and IrDA® protocols
  • Up to four 4-wire Serial Peripheral Interface (SPI) modules
  • Up to five I2C modules (up to 1 Mbaud) with SMBus support
  • Parallel Master Port (PMP)
  • Peripheral Pin Select (PPS) to enable function to remap to digital I/O pins

PPS is offered on select PIC32MX devices. Please review the device datasheet for availability.

Hi-Speed Communications Interfaces

  • 10/100 Mbps Ethernet MAC with MII and RMII interface

Timers & Input Capture/Output Compare/PWM

  • Five 16-bit or up to two 32-bit timers/counters
  • Five Output Compare (OC) modules
  • Five Input Capture (IC) modules
  • Real-Time Clock and Calendar (RTCC) Module

Digital Input/Output

  • 5 V-tolerant pins with up to 22 mA source/sink
  • Selectable open drain, pull-ups, and pull-downs
  • External interrupts on all I/O pins

Analog Input/Output

  • ADC Module:
    • 10-bit 1 Msps rate with one Sample and Hold (S&H)
    • 16 analog inputs
    • Can operate during Sleep mode
  • Flexible and independent Analog-to-Digital Converters (ADC) trigger sources
  • Comparators:
    • Two dual-input Comparator modules
    • Programmable references with 32 voltage points

Audio/Graphics/Touch Interfaces

  • External graphics interface with up to 34 PMP pins:
    • Interface to external graphics controller
    • Capable of driving LCD directly with DMA and internal or external memory
  • Audio data communication: I2S, LJ, RJ, USB
  • Audio data control interface: SPI and I2C
  • Audio data master clock:
    • Generation of fractional clock frequencies
    • Can be synchronized with USB clock
    • Can be tuned at run-time
  • Charge Time Measurement Unit (CTMU)
  • Supports capacitive mTouch™ sensing solution
  • Provides high-resolution time measurement (1 ns)

Audio/Touch interfaces are available on select PIC32MX devices. Please review the device datasheet for availability.

Peripheral modules are fully documented in the family reference manual sections, available from the device's web page. Refer to the specific device datasheet for the list of applicable peripheral modules.