English
Language : 

PIC24FJ128GA Datasheet, PDF (224/232 Pages) Microchip Technology – General Purpose, 16-Bit Flash Microcontrollers
PIC24FJ128GA FAMILY
E
Electrical Characteristics................................................... 201
Absolute Maximum Ratings ...................................... 201
ENVREG pin ..................................................................... 185
Equations
A/D Conversion Clock Period ................................... 171
Calculating the PWM Period ..................................... 112
Calculation for Maximum PWM Resolution............... 112
Relationship Between Device and
SPI Clock Speed............................................... 122
UART Baud Rate with BRGH = 0 ............................. 132
UART Baud Rate with BRGH = 1 ............................. 132
Errata .................................................................................... 6
F
Flash Configuration Words.......................................... 26, 179
Flash Program Memory....................................................... 45
Control Registers ........................................................ 46
Operations .................................................................. 46
Programming Algorithm .............................................. 48
RTSP Operation.......................................................... 46
Table Instructions........................................................ 45
FSCM
and Device Resets ...................................................... 54
Delay for Crystal and PLL Clock Sources ................... 55
I
I/O Ports .............................................................................. 99
Parallel I/O (PIO)......................................................... 99
Write/Read Timing .................................................... 100
I2C
Clock Rates............................................................... 125
Communicating as Master in a
Single Master Environment............................... 123
Setting Baud Rate When Operating
as Bus Master ................................................... 125
Slave Address Masking ............................................ 125
Implemented Interrupt Vectors (table)................................. 59
In-Circuit Debugger ........................................................... 187
In-Circuit Serial Programming (ICSP) ............................... 187
Input Capture .................................................................... 109
Registers ................................................................... 110
Input Change Notification.................................................. 100
Instruction Set
Overview ................................................................... 191
Summary................................................................... 189
Inter-Integrated Circuit (I2C) ............................................. 123
Internal RC Oscillator
Use with WDT ........................................................... 186
Internet Address................................................................ 225
Interrupt Control and Status Registers................................ 60
IECx ............................................................................ 60
IFSx............................................................................. 60
INTCON1, INTCON2 .................................................. 60
IPCx ............................................................................ 60
Interrupt Controller .............................................................. 57
Interrupt Setup Procedures ................................................. 89
Initialization ................................................................. 89
Interrupt Disable.......................................................... 89
Interrupt Service Routine (ISR) ................................... 89
Trap Service Routine (TSR)........................................ 89
Interrupt Vector Table (IVT) ................................................ 57
Interrupts Coincident with
Power Save Instructions ............................................. 98
M
Memory Organization ......................................................... 25
Microchip Internet Web Site.............................................. 225
MPLAB ASM30 Assembler, Linker, Librarian ................... 198
MPLAB ICD 2 In-Circuit Debugger ................................... 199
MPLAB ICE 2000 High-Performance
Universal In-Circuit Emulator .................................... 199
MPLAB ICE 4000 High-Performance
Universal In-Circuit Emulator .................................... 199
MPLAB Integrated Development
Environment Software .............................................. 197
MPLAB PM3 Device Programmer .................................... 199
MPLINK Object Linker/MPLIB Object Librarian ................ 198
O
Open-Drain Configuration................................................. 100
Oscillator Configuration ...................................................... 91
Clock Switching Mode Configuration Bits ................... 92
Control Registers ........................................................ 92
CLKDIV............................................................... 92
OSCCON............................................................ 92
OSCTUN ............................................................ 92
Output Compare ............................................................... 111
Registers .................................................................. 114
P
Packaging ......................................................................... 213
Details....................................................................... 214
Marking ..................................................................... 213
Pad Configuration Map ....................................................... 37
Parallel Master Port (PMP) ............................................... 139
PICSTART Plus Development Programmer..................... 200
Pinout Descriptions
PIC24FJ128GA Family ............................................... 11
POR and Long Oscillator Start-up Times ........................... 54
Power-on Reset (POR)
and On-Chip Voltage Regulator................................ 185
Power-Saving Features ...................................................... 97
Power-Saving Modes
Doze ........................................................................... 98
Instruction-Based........................................................ 97
Idle...................................................................... 98
Sleep .................................................................. 97
Program Address Space..................................................... 25
Memory Map for PIC24FJ128GA
Family Devices ................................................... 25
Program and Data Memory Spaces
Interfacing ................................................................... 40
Program Memory
Data Access Using Table Instructions ........................ 42
Hard Memory Vectors................................................. 26
Interrupt Vector ........................................................... 26
Organization ............................................................... 26
Reading Data Using Program Space Visibility............ 43
Reset Vector ............................................................... 26
Table Instructions
TBLRDH ............................................................. 42
TBLRDL.............................................................. 42
Program Space
Address Construction ................................................. 41
Addressing.................................................................. 40
Data Access from, Address Generation ..................... 41
Program Verification and Code Protection ....................... 187
Programmer’s Model .......................................................... 19
DS39747C-page 222
Preliminary
© 2006 Microchip Technology Inc.