English
Language : 

PIC18F66K22-I Datasheet, PDF (537/550 Pages) Microchip Technology – PIC18F87K22 Family Data Sheet
PIC18F87K22 FAMILY
Core Features
Easy Migration ............................................................ 10
Extended Instruction Set............................................... 9
External Memory Bus (EMB) ........................................ 9
Memory Options............................................................ 9
nanoWatt Technology ................................................... 9
Oscillator Options and Features ................................... 9
CPFSEQ ........................................................................... 448
CPFSGT ........................................................................... 449
CPFSLT ............................................................................ 449
Crystal Oscillator/Ceramic Resonator ................................. 50
Customer Change Notification Service ............................. 547
Customer Notification Service........................................... 547
Customer Support............................................................. 547
D
Data Addressing Modes.................................................... 105
Comparing Addressing Modes with the
Extended Instruction Set Enabled .................... 109
Direct......................................................................... 105
Indexed Literal Offset................................................ 108
BSR .................................................................. 110
Instructions Affected ......................................... 108
Mapping Access Bank ...................................... 110
Indirect ...................................................................... 105
Inherent and Literal ................................................... 105
Data EEPROM
Code Protection ........................................................ 429
Data EEPROM Memory
Associated Registers ................................................ 138
EEADR and EEADRH Registers .............................. 133
EECON1 and EECON2 Registers ............................ 133
Operation During Code-Protect ................................ 137
Overview ................................................................... 133
Reading..................................................................... 135
Spurious Write Protection ......................................... 137
Using......................................................................... 137
Write Verify ............................................................... 135
Writing....................................................................... 135
Data Memory ...................................................................... 94
Access Bank ............................................................... 96
Bank Select Register (BSR)........................................ 94
Extended Instruction Set........................................... 108
General Purpose Registers......................................... 96
Memory Maps
PIC18FX5K22/X7KJ22 Devices ......................... 95
Special Function Registers ................................. 97
Special Function Registers (SFRs)............................. 97
DAW.................................................................................. 450
DC Characteristics
CTMU Current Source .............................................. 498
PIC18F87K22 Family (Industrial).............................. 497
Power-Down and Supply Current ............................. 488
Supply Voltage.......................................................... 487
DCFSNZ ........................................................................... 451
DECF ................................................................................ 450
DECFSZ............................................................................ 451
Default System Clock.......................................................... 49
Details on Individual Family Members ................................ 11
Development Support ....................................................... 481
Device Overview ................................................................... 9
Features (64-Pin Devices) .......................................... 12
Features (80-Pin Devices) .......................................... 12
Direct Addressing.............................................................. 106
E
Effect on Standard PIC18 Instructions.............................. 478
Effects of Power-Managed Modes on Various
Clock Sources ............................................................ 55
Electrical Characteristics .................................................. 485
Enhanced Capture/Compare/PWM (ECCP)..................... 259
Capture Mode. See Capture.
Compare Mode. See Compare.
Enhanced PWM Mode.............................................. 265
Auto-Restart ..................................................... 274
Auto-Shutdown ................................................. 272
Direction Change in Full-Bridge
Output Mode............................................. 271
Full-Bridge Application...................................... 269
Full-Bridge Mode .............................................. 269
Half-Bridge Application ..................................... 268
Half-Bridge Application Examples .................... 275
Half-Bridge Mode.............................................. 268
Output Relationships (Active-High and
Active-Low)............................................... 266
Output Relationships Diagram.......................... 267
Programmable Dead-Band Delay..................... 275
Shoot-Through Current..................................... 275
Start-up Considerations.................................... 272
Outputs and Configuration........................................ 262
Timer Resources ...................................................... 262
Enhanced Capture/Compare/PWM (ECCP) and
Timer1/2/3/4/6/8/10/12
Associated Registers................................................ 279
Enhanced Universal Synchronous Asynchronous
Receiver Transmitter (EUSART). See EUSART.
Equations
16 x 16 Signed Multiplication Algorithm.................... 140
16 x 16 Unsigned Multiplication Algorithm................ 140
A/D Acquisition Time ................................................ 362
A/D Minimum Charging Time ................................... 362
Calculating the Minimum Required
Acquisition Time ............................................... 362
Errata .................................................................................... 8
EUSART
Asynchronous Mode................................................. 337
12-Bit Break Transmit and Receive.................. 344
Associated Registers, Receive......................... 341
Associated Registers, Transmit........................ 339
Auto-Wake-up on Sync Break .......................... 342
Receiver ........................................................... 340
Reception Sequence ........................................ 340
Reception with Address Detect Enabled
Sequence ................................................. 340
Setting up 9-Bit Mode with Address Detect ...... 340
Transmission Sequence ................................... 337
Transmitter ....................................................... 337
Baud Rate Generator
Operation in Power-Managed Mode................. 331
Baud Rate Generator (BRG) .................................... 331
Associated Registers........................................ 332
Auto-Baud Rate Detect..................................... 335
Baud Rate Error, Calculating............................ 332
Baud Rates, Asynchronous Modes .................. 333
High Baud Rate Select (BRGH Bit) .................. 331
Sampling .......................................................... 331
 2009-2011 Microchip Technology Inc.
DS39960D-page 537