PIC18F65K90T-I/PT Microchip Technology, PIC18F65K90T-I/PT Datasheet - Page 175

32kB Flash, 2kB RAM, 1kB EE, NanoWatt XLP, LCD 64 TQFP 10x10x1mm T/R

PIC18F65K90T-I/PT

Manufacturer Part Number
PIC18F65K90T-I/PT
Description
32kB Flash, 2kB RAM, 1kB EE, NanoWatt XLP, LCD 64 TQFP 10x10x1mm T/R
Manufacturer
Microchip Technology
Series
PIC® XLP™ 18Fr
Datasheet

Specifications of PIC18F65K90T-I/PT

Processor Series
PIC18F
Core
PIC
Data Bus Width
8 bit
Program Memory Type
Flash
Program Memory Size
32 KB
Data Ram Size
2 KB
Interface Type
I2C, SPI
Maximum Clock Frequency
64 MHz
Number Of Timers
8
Operating Supply Voltage
1.8 V to 5.5 V
Maximum Operating Temperature
+ 125 C
3rd Party Development Tools
52715-96, 52716-328, 52717-734, 52712-325, EWPIC18
Minimum Operating Temperature
- 40 C
On-chip Adc
12 bit, 16 Channel
Core Processor
PIC
Core Size
8-Bit
Speed
64MHz
Connectivity
I²C, LIN, SPI, UART/USART
Peripherals
Brown-out Detect/Reset, LCD, POR, PWM, WDT
Number Of I /o
53
Eeprom Size
1K x 8
Ram Size
2K x 8
Voltage - Supply (vcc/vdd)
1.8 V ~ 5.5 V
Data Converters
A/D 16x12b
Oscillator Type
Internal
Operating Temperature
-40°C ~ 85°C
Package / Case
64-TQFP
Lead Free Status / Rohs Status
 Details

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
PIC18F65K90T-I/PT
Manufacturer:
Microchip Technology
Quantity:
10 000
Part Number:
PIC18F65K90T-I/PTRSL
Manufacturer:
Microchip Technology
Quantity:
10 000
11.8
PORTG is a 5-bit wide, bidirectional port. The
corresponding Data Direction and Output Latch registers
are TRISG and LATG.
PORTG is multiplexed with EUSART, LCD and
CCP/ECCP/Analog/Comparator/RTCC/Timer input func-
tions
pins have Schmitt Trigger input buffers. The open-drain
functionality for the CCPx and UART can be configured
using ODCONx.
RG4 is multiplexed with LCD segment drives controlled
by bits in
RG4/SEG26/RTCC/T7CKI/T5G/CCP5/AN16/P1D/C3INC
pin. The I/O port function is only available when the
segments are disabled.
The RG5 pin is multiplexed with the MCLR pin and is
available only as an input port. To configure this port for
input only, set the MCLRE pin (CONFIG3H<7>).
TABLE 11-14: PORTG FUNCTIONS
 2009-2011 Microchip Technology Inc.
RG0/ECCP3/
P3A
RG1/TX2/CK2/
AN19/C3OUT
Legend:
Pin Name
(Table
PORTG, TRISG and
LATG Registers
O = Output, I = Input, ANA = Analog Signal, DIG = Digital Output, ST = Schmitt Trigger Buffer Input,
x = Don’t care (TRIS bit does not affect port direction or is overridden for this option).
11-14). When operating as I/O, all PORTG
the
Function
ECCP3
C3OUT
LCDSE2
AN19
RG0
RG1
P3A
TX2
CK2
Setting
register
TRIS
0
1
0
1
0
0
1
1
1
1
1
x
I/O
and
O
O
O
O
O
O
O
I
I
I
I
I
as the
Type
ANA
DIG
DIG
DIG
DIG
DIG
DIG
I/O
ST
ST
ST
ST
LATG<0> data output.
PORTG<0> data input.
ECCP3 compare output and ECCP3 PWM output; takes priority over
port data.
ECCP3 capture input.
ECCP3 PWM Output A. May be configured for tri-state during
Enhanced PWM shutdown events.
LATG<1> data output.
PORTG<1> data input.
Synchronous serial data output (EUSART module); takes priority over
port data.
Synchronous serial data input (EUSART module); user must configure
as an input.
Synchronous serial clock input (EUSART module).
A/D Input Channel 19. Default input configuration on POR. Does not
affect digital output.
Comparator 3 output.
PIC18F87K90 FAMILY
When enabling peripheral functions, care should be
taken in defining TRIS bits for each PORTG pin. Some
peripherals override the TRIS bit to make a pin an
output, while other peripherals override the TRIS bit to
make a pin an input. The user should refer to the
corresponding peripheral section for the correct TRIS bit
settings. The pin override value is not loaded into the
TRIS register. This allows read-modify-write of the TRIS
register without concern due to peripheral overrides.
EXAMPLE 11-7:
CLRF
BCF
CLRF
BANKSEL ANCON2
MOVLW
MOVWF
MOVLW
MOVWF
PORTG
CM1CON, CON
LATG
0F0h
ANCON2
04h
TRISG
Description
INITIALIZING PORTG
; Initialize PORTG by
; clearing output
; data latches
; disable
; comparator 1
; Alternate method
; to clear output
; data latches
; make AN16 to AN19
; digital
; Value used to
; initialize data
; direction
; Set RG1:RG0 as
; outputs
; RG2 as input
; RG4:RG3 as inputs
DS39957D-page 175

Related parts for PIC18F65K90T-I/PT