Datasheet
© 2009 Microchip Technology Inc. DS39761C-page 471
PIC18F2682/2685/4682/4685
Data EEPROM Memory ................................................... 107
Associated Registers ............................................... 111
EEADR and EEADRH Registers ............................. 107
EECON1 and EECON2 Registers ........................... 107
Operation During Code-Protect ............................... 110
Protection Against Spurious Write ........................... 110
Reading .................................................................... 109
Use ........................................................................... 110
Write Verify .............................................................. 109
Writing ...................................................................... 109
Data Memory ..................................................................... 69
Access Bank .............................................................. 71
Bank Select Register (BSR) ....................................... 69
Extended Instruction Set ............................................ 93
General Purpose Register File ................................... 71
Map for PIC18F268X/468X ........................................ 70
Special Function Registers ........................................ 72
DAW ................................................................................. 384
DC and AC Characteristics .............................................. 455
DC Characteristics ........................................................... 430
Power-Down and Supply Current ............................ 422
Supply Voltage ......................................................... 421
DCFSNZ .......................................................................... 385
DECF ............................................................................... 384
DECFSZ ........................................................................... 385
Development Support ...................................................... 415
Device Differences ........................................................... 465
Device Overview .................................................................. 9
Features (table) .......................................................... 11
New Core Features ...................................................... 9
Device Reset Timers .......................................................... 47
Oscillator Start-up Timer (OST) ................................. 47
PLL Lock Time-out ..................................................... 47
Power-up Timer (PWRT) ........................................... 47
Direct Addressing ............................................................... 91
Disable Mode ................................................................... 327
E
ECAN Module
Baud Rate Setting .................................................... 335
Bit Time Partitioning ................................................. 335
Bit Timing Configuration Registers .......................... 340
Calculating T
Q, Nominal Bit Rate and Nominal Bit Time
338
CAN Interrupts ......................................................... 342
Acknowledge ................................................... 344
Bus Activity Wake-up ....................................... 344
Bus-Off ............................................................. 344
Code Bits ......................................................... 343
Error ................................................................. 344
Message Error ................................................. 343
Receive ............................................................ 343
Receiver Bus Passive ...................................... 344
Receiver Overflow ........................................... 344
Receiver Warning ............................................ 344
Transmit ........................................................... 343
Transmitter Bus Passive .................................. 344
Transmitter Warning ........................................ 344
CAN Message Buffers ............................................. 329
Dedicated Receive ........................................... 329
Dedicated Transmit .......................................... 329
Programmable Auto-RTR ................................ 330
Programmable Transmit/Receive .................... 329
CAN Message Transmission ................................... 330
Aborting ........................................................... 330
Initiating ........................................................... 330
Priority ............................................................. 331
CAN Modes of Operation ........................................ 327
CAN Registers ......................................................... 277
Baud Rate ....................................................... 314
Control and Status ........................................... 277
Controller Map ................................................. 322
Dedicated Receive Buffers .............................. 290
Dedicated Transmit Buffers ............................. 284
I/O Control ....................................................... 317
Interrupt ........................................................... 318
Configuration Mode ................................................. 327
Disable Mode ........................................................... 327
Error Detection ........................................................ 341
Acknowledge ................................................... 341
Bit .................................................................... 341
CRC ................................................................. 341
Error States ..................................................... 341
Form ................................................................ 341
Modes and Counters ....................................... 341
Stuff Bit ............................................................ 341
Error Modes State (diagram) ................................... 342
Error Recognition Mode ........................................... 328
Filter-Mask Truth (table) .......................................... 333
Functional Modes .................................................... 328
Mode 0 (Legacy Mode) .................................... 328
Mode 1 (Enhanced Legacy Mode) .................. 328
Mode 2 (Enhanced FIFO Mode) ...................... 329
Information Processing Time (IPT) .......................... 338
Lengthening a Bit Period ......................................... 339
Listen Only Mode ..................................................... 328
Loopback Mode ....................................................... 328
Message Acceptance Filters and Masks ......... 305, 333
Message Acceptance Mask and
Filter Operation ................................................ 334
Message Reception ................................................. 332
Enhanced FIFO Mode ..................................... 333
Priority ............................................................. 332
Time-Stamping ................................................ 333
Normal Mode ........................................................... 327
Oscillator Tolerance ................................................. 340
Overview .................................................................. 275
Phase Buffer Segments ........................................... 338
Programmable TX/RX and Auto-RTR Buffers ......... 297
Programming Time Segments ................................. 340
Propagation Segment .............................................. 338
Sample Point ........................................................... 338
Shortening a Bit Period ............................................ 340
Synchronization ....................................................... 339
Hard ................................................................. 339
Resynchronization ........................................... 339
Rules ............................................................... 339
Synchronization Segment ........................................ 338
Time Quanta ............................................................ 338
Values for ICODE (table) ......................................... 343
Effect on Standard PIC Instructions ................................. 412
Electrical Characteristics ................................................. 419