English
Language : 

PIC18F2331 Datasheet, PDF (7/396 Pages) Microchip Technology – 28/40/44-Pin Enhanced Flash Microcontrollers with nanoWatt Technology, High Performance PWM and A/D
PIC18F2331/2431/4331/4431
Table of Contents
1.0 Device Overview .......................................................................................................................................................................... 7
2.0 Oscillator Configurations ............................................................................................................................................................ 21
3.0 Power-Managed Modes ............................................................................................................................................................. 31
4.0 Reset .......................................................................................................................................................................................... 45
5.0 Memory Organization ................................................................................................................................................................. 57
6.0 Flash Program Memory.............................................................................................................................................................. 75
7.0 Data EEPROM Memory ............................................................................................................................................................. 85
8.0 8 X 8 Hardware Multiplier ........................................................................................................................................................... 89
9.0 Interrupts .................................................................................................................................................................................... 91
10.0 I/O Ports ................................................................................................................................................................................... 107
11.0 Timer0 Module ......................................................................................................................................................................... 133
12.0 Timer1 Module ......................................................................................................................................................................... 137
13.0 Timer2 Module ......................................................................................................................................................................... 143
14.0 Timer5 Module ......................................................................................................................................................................... 145
15.0 Capture/Compare/PWM (CCP) Modules ................................................................................................................................. 151
16.0 Motion Feedback Module ......................................................................................................................................................... 159
17.0 Power Control PWM Module .................................................................................................................................................... 181
18.0 Synchronous Serial Port (SSP) Module ................................................................................................................................... 211
19.0 Enhanced Universal Synchronous Asynchronous Receiver Transmitter (EUSART) ............................................................... 221
20.0 10-bit High-Speed Analog-to-Digital Converter (A/D) Module.................................................................................................. 243
21.0 Low-Voltage Detect .................................................................................................................................................................. 261
22.0 Special Features of the CPU.................................................................................................................................................... 267
23.0 Instruction Set Summary .......................................................................................................................................................... 287
24.0 Development Support............................................................................................................................................................... 331
25.0 Electrical Characteristics .......................................................................................................................................................... 337
26.0 Preliminary DC and AC Characteristics Graphs and Tables.................................................................................................... 371
27.0 Packaging Information.............................................................................................................................................................. 373
Appendix A: Revision History............................................................................................................................................................. 379
Appendix B: Device Differences ........................................................................................................................................................ 379
Appendix C: Conversion Considerations ........................................................................................................................................... 380
Appendix D: Migration from Baseline to Enhanced Devices.............................................................................................................. 380
Appendix E: Migration from Mid-range to Enhanced Devices ........................................................................................................... 381
Appendix F: Migration from High-end to Enhanced Devices ............................................................................................................. 381
INDEX ................................................................................................................................................................................................ 383
On-Line Support................................................................................................................................................................................. 391
Systems Information and Upgrade Hot Line ...................................................................................................................................... 391
Reader Response .............................................................................................................................................................................. 392
PIC18F2331/2431/4331/4431 Product Identification System ............................................................................................................ 393
 2003 Microchip Technology Inc.
Preliminary
DS39616B-page 5