Datasheet

Table Of Contents
2010 Microchip Technology Inc. DS39770C-page 405
PIC18F85J90 FAMILY
Core Features
Easy Migration ............................................................. 9
Extended Instruction Set .............................................. 9
Memory Options ........................................................... 9
nanoWatt Technology .................................................. 9
Oscillator Options and Features .................................. 9
CPFSEQ .......................................................................... 322
CPFSGT .......................................................................... 323
CPFSLT ........................................................................... 323
Crystal Oscillator/Ceramic Resonator ................................ 39
Customer Change Notification Service ............................ 413
Customer Notification Service .......................................... 413
Customer Support ............................................................ 413
D
Data Addressing Modes ..................................................... 80
Comparing Addressing Modes with
the Extended Instruction Set Enabled ............... 84
Direct .......................................................................... 80
Indexed Literal Offset ................................................. 83
BSR ................................................................... 85
Instructions Affected .......................................... 83
Mapping Access Bank ....................................... 85
Indirect ....................................................................... 80
Inherent and Literal .................................................... 80
Data Memory ..................................................................... 70
Access Bank .............................................................. 73
Bank Select Register (BSR) ....................................... 70
Extended Instruction Set ............................................ 83
General Purpose Registers ........................................ 73
Memory Maps
PIC18FX3J90/X4J90 Devices ........................... 71
PIC18FX5J90 Devices ....................................... 72
Special Function Registers ................................ 74
Special Function Registers ........................................ 74
DAW ................................................................................. 324
DC Characteristics ........................................................... 370
Power-Down and Supply Current ............................ 362
Supply Voltage ......................................................... 361
DCFSNZ .......................................................................... 325
DECF ............................................................................... 324
DECFSZ ........................................................................... 325
Default System Clock ......................................................... 38
Details on Individual Family Members ............................... 10
Development Support ...................................................... 355
Device Overview .................................................................. 9
Features (64-Pin Devices) ......................................... 11
Features (80-Pin Devices) ......................................... 11
Direct Addressing ............................................................... 81
E
Effect on Standard PIC18 Instructions ............................. 352
Effects of Power-Managed Modes on
Various Clock Sources ............................................... 42
Electrical Characteristics .................................................. 359
Enhanced Universal Synchronous Asynchronous Receiver
Transmitter (EUSART). See EUSART.
ENVREG Pin .................................................................... 299
Equations
16 x 16 Signed Multiplication Algorithm ..................... 98
16 x 16 Unsigned Multiplication Algorithm ................. 98
A/D Acquisition Time ............................................... 276
A/D Minimum Charging Time .................................. 276
Calculating the Minimum Required
Acquisition Time .............................................. 276
LCD Static and Dynamic Current ............................ 173
Errata ................................................................................... 7
EUSART
Asynchronous Mode ................................................ 245
12-Bit Break Transmit and Receive ................. 250
Associated Registers, Receive ........................ 248
Associated Registers, Transmit ....................... 246
Auto-Wake-up on Sync Break ......................... 249
Receiver .......................................................... 247
Setting up 9-Bit Mode with Address Detect ..... 247
Transmitter ...................................................... 245
Baud Rate Generator (BRG) ................................... 239
Associated Registers ....................................... 240
Auto-Baud Rate Detect .................................... 243
Baud Rate Error, Calculating ........................... 240
Baud Rates, Asynchronous Modes ................. 241
High Baud Rate Select (BRGH Bit) ................. 239
Operation in Power-Managed Modes .............. 239
Sampling ......................................................... 239
Synchronous Master Mode ...................................... 251
Associated Registers, Receive ........................ 253
Associated Registers, Transmit ....................... 252
Reception ........................................................ 253
Transmission ................................................... 251
Synchronous Slave Mode ........................................ 254
Associated Registers, Receive ........................ 255
Associated Registers, Transmit ....................... 254
Reception ........................................................ 255
Transmission ................................................... 254
Extended Instruction Set
ADDFSR .................................................................. 348
ADDULNK ............................................................... 348
CALLW .................................................................... 349
MOVSF .................................................................... 349
MOVSS .................................................................... 350
PUSHL ..................................................................... 350
SUBFSR .................................................................. 351
SUBULNK ................................................................ 351
External Oscillator Modes .................................................. 39
EC Modes .................................................................. 40
HS Modes .................................................................. 39
F
Fail-Safe Clock Monitor ........................................... 291, 301
Exiting Fail-Safe Operation ...................................... 302
Interrupts in Power-Managed Modes ...................... 302
POR or Wake-up From Sleep .................................. 302
WDT During Oscillator Failure ................................. 301
Fast Register Stack ........................................................... 67
Firmware Instructions ...................................................... 305