PIC24FJ128GA010 FAMILY 64/80/100-Pin, General Purpose, 16-Bit Flash Microcontrollers High-Performance CPU: Analog Features: 10-Bit, Up to 16-Channel Analog-to-Digital Converter Modified Harvard Architecture Up to 16 MIPS Operation 32 MHz - 500 ksps conversion rate - Conversion available during Sleep and Idle 8 MHz Internal Oscillator with 4x PLL Option and Multiple Divide Options Dual Analog Comparators with Programmable Input/Output Configuration 17-Bit x 17-Bit Single-Cycle Hardware Multiplier Peripheral Features: 32-Bit by 16-Bit Hardware Divider 16 x 16-Bit Working Register Array Two 3-Wire/4-Wire SPI modules, Supporting C Compiler Optimized Instruction Set Architecture: 4 Frame modes with 8-Level FIFO Buffer 2 - 76 base instructions Two I C modules Support Multi-Master/Slave - Flexible addressing modes mode and 7-Bit/10-Bit Addressing Two Address Generation Units for Separate Read Two UART modules: and Write Addressing of Data Memory - Supports RS-232, RS-485 and LIN/J2602 - On-chip hardware encoder/decoder for IrDA Special Microcontroller Features: - Auto-wake-up on Start bit Operating Voltage Range of 2.0V to 3.6V - Auto-Baud Detect - 4-level FIFO buffer Flash Program Memory: - 1000 erase/write cycles Parallel Master Slave Port (PMP/PSP): - Supports 8-bit or 16-bit data - 20-year data retention minimum Self-Reprogrammable under Software Control - Supports 16 address lines Hardware Real-Time Clock/Calendar (RTCC): Selectable Power Management modes: - Sleep, Idle and Alternate Clock modes - Provides clock, calendar and alarm functions Programmable Cyclic Redundancy Check (CRC) Fail-Safe Clock Monitor Operation: - Detects clock failure and switches to on-chip, - User-programmable polynomial - 8/16-level FIFO buffer low-power RC oscillator On-Chip 2.5V Regulator Five 16-Bit Timers/Counters with Programmable Prescaler JTAG Boundary Scan and Programming Support Power-on Reset (POR), Power-up Timer (PWRT) Five 16-Bit Capture Inputs Five 16-Bit Compare/PWM Outputs and Oscillator Start-up Timer (OST) Flexible Watchdog Timer (WDT) with On-Chip, High-Current Sink/Source (18 mA/18 mA) on All I/O Pins Low-Power RC Oscillator for Reliable Operation In-Circuit Serial Programming (ICSP) and Configurable, Open-Drain Output on Digital I/O Pins Up to 5 External Interrupt Sources In-Circuit Emulation (ICE) via 2 Pins 5.5V Tolerant Input (digital pins only) Program SRAM Timers 10-Bit 2 Device Pins Memory SPI I C (Bytes) 16-Bit A/D (ch) (Bytes) PIC24FJ64GA006 64 64K 8K 5 5 5 2 2 2 16 2 Y Y PIC24FJ96GA006 64 96K 8K 5 5 5 2 2 2 16 2 Y Y PIC24FJ128GA006 64 128K 8K 5 5 5 2 2 2 16 2 Y Y PIC24FJ64GA008 80 64K 8K 5 5 5 2 2 2 16 2 Y Y PIC24FJ96GA008 80 96K 8K 5 5 5 2 2 2 16 2 Y Y PIC24FJ128GA008 80 128K 8K 5 5 5 2 2 2 16 2 Y Y PIC24FJ64GA010 100 64K 8K 5 5 5 2 2 2 16 2 Y Y PIC24FJ96GA010 100 96K 8K 5 5 5 2 2 2 16 2 Y Y PIC24FJ128GA010 100 128K 8K 5 5 5 2 2 2 16 2 Y Y 2005-2012 Microchip Technology Inc. DS39747F-page 1 Capture Input Compare/ PWM Output UART Comparators PMP/PSP JTAGPIC24FJ128GA010 FAMILY Pin Diagrams (1) 64-Pin TQFP/QFN 48 SOSCO/T1CK/CN0/RC14 1 PMD5/RE5 47 SOSCI/CN1/RC13 PMD6/RE6 2 46 OC1/RD0 PMD7/RE7 3 45 IC4/PMCS1/INT4/RD11 PMA5/SCK2/CN8/RG6 4 44 IC3/PMCS2/INT3/RD10 PMA4/SDI2/CN9/RG7 5 43 IC2/U1CTS/INT2/RD9 PMA3/SDO2/CN10/RG8 6 42 IC1/RTCC/INT1/RD8 MCLR 7 41 PIC24FJXXGA006 Vss PMA2/SS2/CN11/RG9 8 PIC24FJXXXGA006 40 OSC2/CLKO/RC15 VSS 9 39 VDD OSC1/CLKI/RC12 10 38 VDD C1IN+/AN5/CN7/RB5 11 37 C1IN-/AN4/CN6/RB4 SCL1/RG2 12 36 C2IN+/AN3/CN5/RB3 SDA1/RG3 13 35 C2IN-/AN2/SS1/CN4/RB2 U1RTS/BCLK1/SCK1/INT0/RF6 14 34 PGC1/EMUC1/VREF-/AN1/CN3/RB1 U1RX/SDI1/RF2 15 PGD1/EMUD1/PMA6/VREF+/AN0/CN2/RB0 33 U1TX/SDO1/RF3 16 Legend: Shaded pins indicate pins that are tolerant to up to +5.5 VDC. Note 1: Bottom pad of QFN package must be connected to VSS. DS39747F-page 2 2005-2012 Microchip Technology Inc. 17 PGC2/EMUC2/AN6/OCFA/RB6 64 PMD4/RE4 PGD2/EMUD2/AN7/RB7 18 63 PMD3/RE3 AVDD 19 62 PMD2/RE2 20 AVSS 61 PMD1/RE1 U2CTS/C1OUT/AN8/RB8 21 60 PMD0/RE0 PMA7/C2OUT/AN9/RB9 22 RF1 59 58 RF0 TMS/PMA13/CVREF/AN10/RB10 23 57 ENVREG 24 TDO/PMA12/AN11/RB11 56 VCAP/VDDCORE VSS 25 55 CN16/RD7 VDD 26 54 CN15/RD6 TCK/PMA11/AN12/RB12 27 PMRD/CN14/RD5 53 TDI/PMA10/AN13/RB13 28 PMWR/OC5/IC5/CN13/RD4 52 29 PMA1/U2RTS/BCLK2/AN14/RB14 PMBE/OC4/RD3 51 PMA0/AN15/OCFB/CN12/RB15 30 OC3/RD2 50 31 PMA9/U2RX/SDA2/CN17/RF4 OC2/RD1 49 PMA8/U2TX/SCL2/CN18/RF5 32