PIC32MM0064GPL036 FAMILY 32-Bit Flash Microcontroller with MIPS32 microAptiv UC Core with Low Power and Low Pin Count Operating Conditions Peripheral Features 2.0V to 3.6V, -40C to +125C, DC to 25 MHz Atomic Set, Clear and Invert Operation on Select Peripheral Registers 2.0V to 3.6V, -40C to +85C, DC to 25 MHz High-Current Sink/Source 11 mA/16 mA on All Ports Low-Power Modes Independent, Low-Power 32 kHz Timer Oscillator Low-Power modes: Two 4-Wire SPI modules (up to 25 MHz non-PPS, 20 MHz PPS): - Idle: CPU off, peripherals run from system clock - 16-byte FIFO - Sleep: CPU and peripherals off: 2 -I S mode - Fast wake-up Sleep with retention Two UARTs: - Low-power Sleep with retention - RS-232, RS-485 and LIN/J2602 support 0.5 A Sleep Current for Regulator Retention mode and - IrDA with on-chip hardware encoder and decoder 5 A for Regulator Standby mode External Edge and Level Change Interrupt on All Ports On-Chip 1.8V Voltage Regulator (VREG) On-Chip Ultra Low-Power Retention Regulator CRC module Hardware Real-Time Clock and Calendar (RTCC) High-Performance 32-Bit RISC CPU Up to 20 Peripheral Pin Select (PPS) Remappable Pins microAptiv UC 32-Bit Core with 5-Stage Pipeline Seven Total 16-Bit Timers: microMIPS Instruction Set for 35% Smaller Code and - Timer1: Dedicated 16-bit timer/counter 98% Performance compared to MIPS32 Instructions - Two additional 16-bit timers in each MCCP and SCCP DC-25 MHz Operating Frequency module 3.17 CoreMark /MHz (79 CoreMark) Performance Capture/Compare/PWM/Timer modules: 1.53 DMIPS/MHz (37 DMIPS) (Dhrystone 2.1) Performance - Two 16-bit timers or one 32-bit timer in each module 16-Bit/32-Bit Wide Instructions with 32-Bit Wide Data Path - PWM resolution down to 21 ns Two Sets of 32 Core Register Files (32-bit) to Reduce - One Multiple Output (MCCP) module: Interrupt Latency - Flexible configuration as PWM, input capture, output Single-Cycle 32x16 Multiply and Two-Cycle 32x32 Multiply compare or timers Hardware Divide Unit - Six PWM outputs 64-Bit, Zero Wait State Flash with ECC to Maximize - Programmable dead time Endurance/Retention - Auto-shutdown - Two Single Output (SCCP) modules: Microcontroller Features - Flexible configuration as PWM, input capture, output Low Pin Count Packages, Ranging from 20 to 36 Pins, compare or timers including UQFN as Small as 4x4 mm - Single PWM output Up to 64K Flash Memory: Reference Clock Output (REFO) - 20,000 erase/write cycle endurance Two Configurable Logic Cells (CLC) with Internal - 20 years minimum data retention Connections to Select Peripherals and PPS - Self-programmable under software control Debug Features Up to 8K Data Memory Pin-Compatible with Most PIC24 MCU/dsPIC DSC Devices Two Programming and Debugging Interfaces: Multiple Interrupt Vectors with Individually - 2-wire ICSP interface with non-intrusive access Programmable Priority and real-time data exchange with application Fail-Safe Clock Monitor mode -4-wire MIPS standard Enhanced JTAG interface Configurable Watchdog Timer with On-Chip, Low-Power IEEE Standard 1149.2 Compatible (JTAG) Boundary Scan RC Oscillator Programmable Code Protection Selectable Oscillator Options including: - High-precision, 8 MHz internal Fast RC (FRC) oscillator - High-speed crystal/resonator oscillator or external clock - 2x/3x/4x/6x/12x/24x PLL, which can be clocked from the FRC or primary oscillator 2015-2018 Microchip Technology Inc. DS60001324C-page 1PIC32MM0064GPL036 FAMILY Up to 14-Channel, Software-Selectable 10/12-Bit SAR Analog Features Analog-to-Digital Converter (ADC): Two Analog Comparators with Input Multiplexing - 12-bit, up to 222k samples/second conversion rate - 10-bit, up to 250k samples/second conversion rate Programmable High/Low-Voltage Detect (HLVD) - Sleep mode operation 5-Bit DAC with Output Pin - Band gap reference input feature - Windowed threshold compare feature - Auto-scan feature Brown-out Reset (BOR) TABLE 1: PIC32MM0064GPL036 FAMILY DEVICES Remappable Peripherals Device PIC32MM0016GPL020 20 16 4 16/16 7 8 2 1 1 2 2 2 11 2 Yes Yes Yes SSOP/QFN PIC32MM0032GPL020 20 32 8 16/16 7 8 2 1 1 2 2 2 11 2 Yes Yes Yes SSOP/QFN PIC32MM0064GPL020 20 64 8 16/16 7 8 2 1 1 2 2 2 11 2 Yes Yes Yes SSOP/QFN PIC32MM0016GPL028 28 16 4 22/19 7 8 2 1 1 2 2 2 12 2 Yes Yes Yes SSOP/SOIC/ QFN/UQFN PIC32MM0032GPL028 28 32 8 22/19 7 8 2 1 1 2 2 2 12 2 Yes Yes Yes SSOP/ SOIC/ QFN/UQFN PIC32MM0064GPL028 28 64 8 22/19 7 8 2 1 1 2 2 2 12 2 Yes Yes Yes SPDIP/SSOP/ SOIC/QFN/ UQFN PIC32MM0016GPL036 36/40 16 4 29/20 7 8 2 1 1 2 2 2 14 2 Yes Yes Yes VQFN/UQFN PIC32MM0032GPL036 36/40 32 8 29/20 7 8 2 1 1 2 2 2 14 2 Yes Yes Yes VQFN/UQFN PIC32MM0064GPL036 36/40 64 8 29/20 7 8 2 1 1 2 2 2 14 2 Yes Yes Yes VQFN/UQFN Note 1: UART1 has assigned pins. UART2 is remappable. 2: SPI1 has assigned pins. SPI2 is remappable. 3: 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. 4: 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. DS60001324C-page 2 2015-2018 Microchip Technology Inc. Pins Program Memory (Kbytes) Data Memory (Kbytes) General Purpose I/O/PPS 16-Bit Timers Maximum PWM Outputs Maximum (1) UART /LIN/J2602 16-Bit Timers (3) MCCP (4) SCCP CLC (2) 2 SPI /I S 10/12-Bit ADC (Channels) Comparators CRC RTCC JTAG Packages