Datasheet
PIC18F6390/6490/8390/8490
DS39629C-page 10 © 2007 Microchip Technology Inc.
FIGURE 1-1: PIC18F6X90 (64-PIN) BLOCK DIAGRAM
Instruction
Decode and
Control
PORTA
PORTB
PORTC
RA4/T0CKI/SEG14
RA5/AN4/HLVDIN/SEG15
RB0/INT0
RC0/T1OSO/T13CKI
RC1/T1OSI/CCP2
(1)
RC2/CCP1
/SEG13
RC3/SCK/SCL
RC4/SDI/SDA
RC5/SDO
/SEG12
RC6/TX1/CK1
RC7/RX1/DT1
RA3/AN3/VREF+/SEG17
RA2/AN2/VREF-/SEG16
RA1/AN1
RA0/AN0
RB1/INT1/SEG8
Data Latch
Data Memory
(3.9 Kbytes)
Address Latch
Data Address<12>
12
Access
BSR
FSR0
FSR1
FSR2
inc/dec
logic
Address
4
12
4
PCH PCL
PCLATH
8
31 Level Stack
Program Counter
PRODLPRODH
8 x 8 Multiply
8
BITOP
8
8
ALU<8>
Address Latch
Program Memory
(48/64 Kbytes)
Data Latch
20
8
8
Table Pointer<21>
inc/dec logic
21
8
Data Bus<8>
Table Latch
8
IR
12
3
RB2/INT2/SEG9
RB3/INT3/SEG10
PCLATU
PCU
PORTD
RD7/SEG7:RD0/SEG0
OSC2/CLKO
(3)
/RA6
Note 1: CCP2 is multiplexed with RC1 when Configuration bit, CCP2MX, is set, or RE7 when CCP2MX is not set.
2: RG5 is only available when MCLR
functionality is disabled.
3: OSC1/CLKI and OSC2/CLKO are only available in select oscillator modes and when these pins are not being used as digital I/O.
Refer to Section 2.0 “Oscillator Configurations” for additional information.
RB4/KBI0/SEG11
RB5/KBI1
RB6/KBI2/PGC
RB7/KBI3/PGD
EUSART1
Comparators
MSSP
Timer2Timer1 Timer3Timer0
HLVD
CCP1
BOR
ADC
10-Bit
W
Instruction Bus <16>
STKPTR
Bank
8
State Machine
Control Signals
Decode
8
8
Power-up
Timer
Oscillator
Start-up Timer
Power-on
Reset
Watchdog
Timer
OSC1
(3)
OSC2
(3)
VDD,
Brown-out
Reset
Internal
Oscillator
Fail-Safe
Clock Monitor
Precision
Reference
Band Gap
V
SS
MCLR
(2)
Block
INTRC
Oscillator
8 MHz
Oscillator
Single-Supply
Programming
In-Circuit
Debugger
T1OSI
T1OSO
OSC1/CLKI
(3)
/RA7
PORTE
LCDBIAS1
LCDBIAS2
LCDBIAS3
COM0
RE4/COM1
RE5/COM2
RE6/COM3
RE7/CCP2
(1)
/SEG31
PORTF
RF0/AN5
/SEG18
RF1/AN6/C2OUT
/SEG19
RF2/AN7/C1OUT
/SEG20
RF3/AN8
/SEG21
RF4/AN9
/SEG22
RF5/AN10/CVREF
/SEG23
RF6/AN11
/SEG24
RF7/SS
/SEG25
PORTG
RG0
/SEG30
RG1/TX2/CK2
/SEG29
RG2/RX2/DT2
/SEG28
RG3
/SEG27
RG4
/SEG26
MCLR/VPP/RG5
(2)
AUSART2CCP2
LCD
Driver
ROM Latch