PIC32MM0256GPM064 FAMILY 32-Bit Flash Microcontroller with MIPS32 microAptiv UC Core, Low Power and USB Operating Conditions Peripheral Features 2.0V to 3.6V, -40C to +85C, DC to 25 MHz USB 2.0 Compliant Full-Speed and Low-Speed Device, Host and On-The-Go (OTG) Controller: Low-Power Modes - Dedicated DMA - Device mode operation from FRC oscillator Low-Power modes: no crystal oscillator required - Idle CPU off, peripherals run from system clock Atomic Set, Clear and Invert Operation on Select - Sleep CPU and peripherals off: Peripheral Registers - Fast wake-up Sleep with retention High-Current Sink/Source - Low-power Sleep with retention Independent, Low-Power 32 kHz Timer Oscillator 0.65 A Sleep current for RAM Retention Three 4-Wire SPI modules: Regulator mode and 5 A for Regulator Standby mode - 16-byte FIFO On-Chip 1.8V Voltage Regulator (VREG) - Variable width On-Chip Ultra Low-Power Retention Regulator 2 - I S mode 2 Three I C Master and Slave w/Address Masking and High-Performance 32-Bit RISC CPU IPMI Support microAptiv UC 32-Bit Core with 5-Stage Pipeline Three Enhanced Addressable UARTs: microMIPS Instruction Set for 35% Smaller Code and - RS-232, RS-485 and LIN/J2602 support 98% Performance compared to MIPS32 Instructions - IrDA with on-chip hardware encoder and decoder 1.53 DMIPS/MHz (37 DMIPS) (Dhrystone 2.1) Performance External Edge and Level Change Interrupt on All Ports 3.17 CoreMark /MHz (79 CoreMark) Performance Hardware Real-Time Clock and Calendar (RTCC) 16-Bit/32-Bit Wide Instructions with 32-Bit Wide Data Path Up to 24 Peripheral Pin Select (PPS) Remappable Pins Two Sets of 32 Core Register Files (32-bit) to Reduce 21 Total 16-Bit Timers: Interrupt Latency - Three dedicated 16-bit timers/counters Single-Cycle 32x16 Multiply and Two-Cycle 32x32 Multiply - Two can be concatenated to form a 32-bit timer 64-Bit, Zero Wait State Flash with ECC to Maximize - Two additional 16-bit timers in each MCCP and Endurance/Retention SCCP module, totaling 18 Capture/Compare/PWM/Timer modules: Microcontroller Features - Two 16-bit timers or one 32-bit timer in each module Up to 256K Flash Memory - PWM resolution down to 21 ns - 20,000 Erase/Write Cycle Endurance - Three Multiple Output (MCCP) modules: - Flexible configuration as PWM, input capture, - 20 Years Minimum Data Retention output compare or timers - Self-Programmable under Software Control - Six PWM outputs Up to 32K SRAM Memory - Programmable dead time Multiple Interrupt Vectors with Individually - Auto-shutdown Programmable Priority - Six Single Output (SCCP) modules: Fail-Safe Clock Monitor mode - Flexible configuration as PWM, input capture, Configurable Watchdog Timer with On-Chip, Low-Power output compare or timers RC Oscillator - Single PWM output Programmable Code Protection Reference Clock Output (REFO) Selectable Oscillator Options Including: Four Configurable Logic Cells (CLC) with Internal - High-precision, 8 MHz (FRC) internal RC Connections to Select Peripherals and PPS oscillator 2x/3x/4x/6x/12x/24x PLL, which can be 4-Channel Hardware DMA with Automatic Data Size clocked from FRC or the Primary Oscillator Detection and CRC Engine - Primary high-speed, crystal/resonator oscillator or external clock Debug Features Two Programming and Debugging Interfaces: - 2-wire ICSP interface with non-intrusive access and real-time data exchange with application -4-wire MIPS standard Enhanced JTAG interface IEEE Standard 1149.2 Compatible (JTAG) Boundary Scan 2016-2017 Microchip Technology Inc. DS60001387C-page 1PIC32MM0256GPM064 FAMILY - 10-bit 300k samples/second conversion rate Analog Features (single Sample-and-Hold) Three Analog Comparators with Input Multiplexing - Sleep mode operation Programmable High/Low-Voltage Detect (HLVD) - Low-voltage boost for input 5-Bit Comparator Voltage Reference DAC with Pin Output - Band gap reference input feature Up to 24-Channel, Software-Selectable 10/12-Bit SAR - Windowed threshold compare feature Analog-to-Digital Converter (ADC): - Auto-scan feature - 12-bit 200K samples/second conversion rate Brown-out Reset (BOR) (single Sample-and-Hold) TABLE 1: PIC32MM0256GPM064 FAMILY DEVICES Remappable Peripherals Device PIC32MM0064GPM028 28 64 16 21/18 21 18 3 3 3 6 4 3 12 3 Yes Yes 3 Yes SSOP/QFN/ UQFN PIC32MM0128GPM028 28 128 16 21/18 21 18 3 3 3 6 4 3 12 3 Yes Yes 3 Yes SSOP/QFN/ UQFN PIC32MM0256GPM028 28 256 32 21/18 21 18 3 3 3 6 4 3 12 3 Yes Yes 3 Yes SSOP/QFN/ UQFN PIC32MM0064GPM036 36/40 64 16 27/20 21 20 3 3 3 6 4 3 15 3 Yes Yes 3 Yes VQFN/UQFN PIC32MM0128GPM036 36/40 128 16 27/20 21 20 3 3 3 6 4 3 15 3 Yes Yes 3 Yes VQFN/UQFN PIC32MM0256GPM036 36/40 256 32 27/20 21 20 3 3 3 6 4 3 15 3 Yes Yes 3 Yes VQFN/UQFN PIC32MM0064GPM048 48 64 16 38/24 21 24 3 3 3 6 4 3 17 3 Yes Yes 3 Yes UQFN/TQFP PIC32MM0128GPM048 48 128 16 38/24 21 24 3 3 3 6 4 3 17 3 Yes Yes 3 Yes UQFN/TQFP PIC32MM0256GPM048 48 256 32 38/24 21 24 3 3 3 6 4 3 17 3 Yes Yes 3 Yes UQFN/TQFP PIC32MM0064GPM064 64 64 16 52/24 21 24 3 3 3 6 4 3 20 3 Yes Yes 3 Yes QFN/TQFP PIC32MM0128GPM064 64 128 16 52/24 21 24 3 3 3 6 4 3 20 3 Yes Yes 3 Yes QFN/TQFP PIC32MM0256GPM064 64 256 32 52/24 21 24 3 3 3 6 4 3 20 3 Yes Yes 3 Yes QFN/TQFP Note 1: UART1 has assigned pins. UART2 and UART3 are remappable. 2: SPI1 and SPI3 have assigned pins. SPI2 is remappable. 3: SCCP can be configured as a PWM with 1 output, input capture, output compare, 2 x 16-bit timers or 1 x 32-bit timer. 4: MCCP can be configured as a PWM with up to 6 outputs, input capture, output compare, 2 x 16-bit timers or 1 x 32-bit timer. DS60001387C-page 2 2016-2017 Microchip Technology Inc. Pins Program Memory (Kbytes) Data Memory (Kbytes) General Purpose I/O/PPS 16-Bit Timers Maximum PWM Outputs Maximum Dedicated 16-Bit Timers (1) UART /LIN/J2602 (4) MCCP (3) SCCP CLC (2) 2 SPI /I S 10/12-Bit ADC (External Channels) Comparators CRC RTCC 2 I C USB Packages