
2007 Microchip Technology Inc.
Preliminary
DS39770B-page 405
PIC18F85J90 FAMILY
Timer2 ..............................................................................141
Associated Registers ...............................................142
Interrupt ....................................................................142
Operation .................................................................141
Output ......................................................................142
PR2 Register ............................................................153
TMR2 to PR2 Match Interrupt ..................................153
Timer3 ..............................................................................143
16-Bit Read/Write Mode ...........................................145
Associated Registers ...............................................145
Operation .................................................................144
Oscillator ..........................................................143, 145
Overflow Interrupt ............................................143, 145
Special Event Trigger (CCP) ....................................145
TMR3H Register ......................................................143
TMR3L Register .......................................................143
Timing Diagrams
A/D Conversion ........................................................385
Acknowledge Sequence ..........................................222
Asynchronous Reception .................................241, 257
Asynchronous Transmission ............................239, 255
Asynchronous Transmission (Back to Back) ...239, 255
Automatic Baud Rate Calculation ............................237
Auto-Wake-up Bit (WUE) During Normal Operation 242
Auto-Wake-up Bit (WUE) During Sleep ...................242
Baud Rate Generator with Clock Arbitration ............216
BRG Overflow Sequence .........................................237
BRG Reset Due to SDA Arbitration During Start Condi-
tion ...................................................................225
Bus Collision During a Repeated Start Condition (Case
1) ......................................................................226
Bus Collision During a Repeated Start Condition (Case
2) ......................................................................226
Bus Collision During a Start Condition (SCL = 0) ....225
Bus Collision During a Stop Condition (Case 1) ......227
Bus Collision During a Stop Condition (Case 2) ......227
Bus Collision During Start Condition (SDA Only) .....224
Bus Collision for Transmit and Acknowledge ...........223
Capture/Compare/PWM ...........................................373
CLKO and I/O ..........................................................370
Clock Synchronization .............................................209
Clock/Instruction Cycle ..............................................62
EUSART/AUSART Synchronous Receive (Master/
Slave) ...............................................................383
EUSART/AUSART Synchronous Transmission (Master/
Slave) ...............................................................383
Example SPI Master Mode (CKE = 0) .....................374
Example SPI Master Mode (CKE = 1) .....................375
Example SPI Slave Mode (CKE = 0) .......................376
Example SPI Slave Mode (CKE = 1) .......................377
External Clock (All Modes Except PLL) ...................368
Fail-Safe Clock Monitor ............................................293
First Start Bit Timing ................................................217
I
2
C Bus Data ............................................................379
I
2
C Bus Start/Stop Bits .............................................378
I
2
C Master Mode (7 or 10-Bit Transmission) ...........220
I
2
C Master Mode (7-Bit Reception) ..........................221
I
2
C Slave Mode (10-Bit Reception, SEN = 0) ..........205
I
2
C Slave Mode (10-Bit Reception, SEN = 0, ADMSK =
01001) ..............................................................206
I
2
C Slave Mode (10-Bit Reception, SEN = 1) ..........211
I
2
C Slave Mode (10-Bit Transmission) .....................207
I
2
C Slave Mode (7-bit Reception, SEN = 0) .............202
I
2
C Slave Mode (7-bit Reception, SEN = 0, ADMSK =
01011) ..............................................................203
I
2
C Slave Mode (7-Bit Reception, SEN = 1) ............ 210
I
2
C Slave Mode (7-Bit Transmission) ...................... 204
I
2
C Slave Mode General Call Address Sequence (7 or
10-Bit Address Mode) ...................................... 212
I
2
C Stop Condition Receive or Transmit Mode ........ 222
LCD Interrupt in Quarter Duty Cycle Drive .............. 180
LCD Sleep Entry/Exit When SLPEN = 1 or CS1:CS0 = 00
......................................................................... 181
MSSP I
2
C Bus Data ................................................ 381
MSSP I
2
C Bus Start/Stop Bits ................................. 381
PWM Output ............................................................ 153
Repeated Start Condition ........................................ 218
Reset, Watchdog Timer (WDT), Oscillator Start-up Timer
(OST) and Power-up Timer (PWRT) ............... 371
Send Break Character Sequence ............................ 243
Slave Synchronization ............................................. 191
Slow Rise Time (MCLR Tied to V
DD
, V
DD
Rise > T
PWRT
)
........................................................................... 49
SPI Mode (Master Mode) ........................................ 190
SPI Mode (Slave Mode, CKE = 0) ........................... 192
SPI Mode (Slave Mode, CKE = 1) ........................... 192
Synchronous Reception (Master Mode, SREN) ..... 246,
260
Synchronous Transmission ............................. 244, 258
Synchronous Transmission (Through TXEN) .. 245, 259
Time-out Sequence on Power-up (MCLR Not Tied to
V
DD
), Case 1 ..................................................... 48
Time-out Sequence on Power-up (MCLR Not Tied to
V
DD
), Case 2 ..................................................... 49
Time-out Sequence on Power-up (MCLR Tied to V
DD
,
V
DD
Rise Tpwrt) ................................................. 48
Timer0 and Timer1 External Clock .......................... 372
Transition for Entry to Idle Mode ............................... 42
Transition for Entry to SEC_RUN Mode .................... 39
Transition for Entry to Sleep Mode ............................ 41
Transition for Two-Speed Start-up (INTRC to HSPLL) ..
291
Transition for Wake From Idle to Run Mode .............. 42
Transition for Wake from Sleep (HSPLL) .................. 41
Transition From RC_RUN Mode to PRI_RUN Mode . 40
Transition From SEC_RUN Mode to PRI_RUN Mode
(HSPLL) ............................................................. 39
Transition to RC_RUN Mode ..................................... 40
Type-A in 1/2 MUX, 1/2 Bias Drive .......................... 170
Type-A in 1/2 MUX, 1/3 Bias Drive .......................... 172
Type-A in 1/3 MUX, 1/2 Bias Drive .......................... 174
Type-A in 1/3 MUX, 1/3 Bias Drive .......................... 176
Type-A in 1/4 MUX, 1/3 Bias Drive .......................... 178
Type-A/Type-B in Static Drive ................................. 169
Type-B in 1/2 MUX, 1/2 Bias Drive .......................... 171
Type-B in 1/2 MUX, 1/3 Bias Drive .......................... 173
Type-B in 1/3 MUX, 1/2 Bias Drive .......................... 175
Type-B in 1/3 MUX, 1/3 Bias Drive .......................... 177
Type-B in 1/4 MUX, 1/3 Bias Drive .......................... 179