PIC18F6585-I/L Microchip Technology, PIC18F6585-I/L Datasheet - Page 476

Microcontrollers (MCU) 48KB 3328 RAM 52 I/O

PIC18F6585-I/L

Manufacturer Part Number
PIC18F6585-I/L
Description
Microcontrollers (MCU) 48KB 3328 RAM 52 I/O
Manufacturer
Microchip Technology
Datasheet

Specifications of PIC18F6585-I/L

Processor Series
PIC18F
Core
PIC
Data Bus Width
8 bit
Data Ram Size
3.25 KB
Interface Type
I2C/SPI/AUSART/CAN
Maximum Clock Frequency
40 MHz
Number Of Programmable I/os
53
Number Of Timers
5
Maximum Operating Temperature
+ 85 C
Mounting Style
SMD/SMT
3rd Party Development Tools
52715-96, 52716-328, 52717-734, 52712-325, EWPIC18
Development Tools By Supplier
PG164130, DV164035, DV244005, DV164005, PG164120, ICE2000, ICE4000, DV164136, DM183032
Minimum Operating Temperature
- 40 C
On-chip Adc
12-ch x 10-bit
Program Memory Type
Flash
Program Memory Size
48 KB
Package / Case
PLCC-68
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
PIC18F6585/8585/6680/8680
BN ..................................................................................... 374
BNC................................................................................... 375
BNN................................................................................... 375
BNOV ................................................................................ 376
BNZ ................................................................................... 376
BOR. See Brown-out Reset.
BOV................................................................................... 379
BRA................................................................................... 377
Break Character (12-bit)
BRG. See Baud Rate Generator.
Brown-out Reset (BOR) .............................................. 34, 345
BSF ................................................................................... 377
BTFSC .............................................................................. 378
BTFSS............................................................................... 378
BTG................................................................................... 379
BZ...................................................................................... 380
DS30491C-page 474
PORTD in I/O Port Mode .......................................... 133
PORTD in System Bus Mode ................................... 134
PORTE in I/O Mode .................................................. 137
PORTE in System Bus Mode.................................... 137
PORTF
PORTG
PORTH
PORTJ
PORTJ in I/O Mode................................................... 149
PWM (CCP Module) ................................................. 173
Reads from Flash Program
Single Comparator .................................................... 261
Table Read Operation................................................. 83
Table Write Operation ................................................. 84
Table Writes to Flash Program
Timer0 in 16-bit Mode ............................................... 156
Timer0 in 8-bit Mode ................................................. 156
Timer1 ....................................................................... 160
Timer1 (16-bit Read/Write Mode) ............................. 160
Timer2 ....................................................................... 163
Timer3 ....................................................................... 165
Timer3 in 16-bit Read/Write Mode ............................ 165
USART Receive ........................................................ 240
USART Transmit ....................................................... 238
Voltage Reference
Watchdog Timer........................................................ 356
Transmit and Receive ............................................... 243
RF1/AN6/C2OUT and
RF6:RF3 and RF0 Pins..................................... 140
RF7 Pin ............................................................. 140
RG0/CANTX1 Pin ............................................. 142
RG1/CANTX2 Pin ............................................. 143
RG2/CANRX Pin............................................... 143
RG3 Pin ............................................................ 143
RG4/P1D Pin .................................................... 144
RG5/MCLR/V
RH3:RH0 Pins in I/O Mode ............................... 146
RH3:RH0 Pins in
RH7:RH4 Pins in I/O Mode ............................... 146
RJ4:RJ0 Pins in
RJ7:RJ6 Pins in
Memory ............................................................... 87
Memory ............................................................... 89
Output Buffer (example).................................... 267
RF2/AN7/C1OUT Pins .............................. 139
System Bus Mode..................................... 147
System Bus Mode..................................... 150
System Bus Mode..................................... 150
PP
Pin .......................................... 144
C
C Compilers
CALL................................................................................. 380
Capture (CCP Module) ..................................................... 169
Capture, Compare (CCP Module),
Capture/Compare/PWM (CCP) ........................................ 167
Capture/Compare/PWM
CLKO and I/O Timing Requirements ........................ 430, 431
Clocking Scheme/Instruction Cycle .................................... 56
CLRF ................................................................................ 381
CLRWDT .......................................................................... 381
Code Examples
MPLAB C17 .............................................................. 408
MPLAB C18 .............................................................. 408
MPLAB C30 .............................................................. 408
CAN Message Time-Stamp ...................................... 170
CCP Pin Configuration.............................................. 169
CCPRxH:CCPRxL Registers .................................... 169
Software Interrupt ..................................................... 170
Timer1/Timer3 Mode Selection................................. 169
Timer1 and Timer3
Associated Registers ................................................ 172
Capture Mode.
CCP Module ............................................................. 169
CCPRxH Register..................................................... 169
CCPRxL Register ..................................................... 169
Compare Mode.
Interaction of CCP1 and
PWM Mode.
Timer Resources ...................................................... 169
Requirements ........................................................... 435
16 x 16 Signed Multiply Routine ............................... 108
16 x 16 Unsigned Multiply Routine ........................... 108
8 x 8 Signed Multiply Routine ................................... 107
8 x 8 Unsigned Multiply Routine ............................... 107
Changing Between Capture
Changing to Configuration Mode .............................. 281
Data EEPROM Read ................................................ 103
Data EEPROM Refresh Routine............................... 104
Data EEPROM Write ................................................ 103
Erasing a Flash Program
Fast Register Stack .................................................... 56
How to Clear RAM (Bank 1) Using
Initializing PORTA..................................................... 125
Initializing PORTB..................................................... 128
Initializing PORTC .................................................... 131
Initializing PORTD .................................................... 133
Initializing PORTE..................................................... 136
Initializing PORTF..................................................... 139
Initializing PORTG .................................................... 142
Initializing PORTH .................................................... 146
Initializing PORTJ ..................................................... 149
Loading the SSPBUF (SSPSR)
Reading a Flash Program
See Capture (CCP Module).
See Compare (CCP Module).
CCP2 Modules ................................................. 169
See PWM (CCP Module).
Prescalers......................................................... 170
Memory Row ...................................................... 88
Indirect Addressing............................................. 79
Register ............................................................ 192
Memory Word ..................................................... 87
 2004 Microchip Technology Inc.

Related parts for PIC18F6585-I/L