PIC18F67K22-I/MR Microchip Technology, PIC18F67K22-I/MR Datasheet - Page 181

no-image

PIC18F67K22-I/MR

Manufacturer Part Number
PIC18F67K22-I/MR
Description
128kB Flash, 4kB RAM, 1kB EE, NanoWatt XLP, GP 64 QFN 9x9x0.9mm TUBE
Manufacturer
Microchip Technology
Series
PIC® XLP™ 18Fr
Datasheet

Specifications of PIC18F67K22-I/MR

Core Processor
PIC
Core Size
8-Bit
Speed
64MHz
Connectivity
I²C, LIN, SPI, UART/USART
Peripherals
Brown-out Detect/Reset, LVD, POR, PWM, WDT
Number Of I /o
53
Program Memory Size
128KB (64K x 16)
Program Memory Type
FLASH
Eeprom Size
1K x 8
Ram Size
4K 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-VFQFN Exposed Pad
Lead Free Status / Rohs Status
Lead free / RoHS Compliant

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
PIC18F67K22-I/MRRSL
Manufacturer:
FSC
Quantity:
250
12.7
PORTF is a 7-bit wide, bidirectional port. The
corresponding Data Direction and Output Latch registers
are TRISF and LATF. All pins on PORTF are
implemented with Schmitt Trigger input buffers. Each pin
is individually configurable as an input or output.
Pins, RF1 through RF6, may be used as comparator
inputs or outputs by setting the appropriate bits in the
CMCON register. To use RF<7:1> as digital inputs, it is
also necessary to turn off the comparators.
TABLE 12-11: PORTF FUNCTIONS
 2009-2011 Microchip Technology Inc.
RF1/AN6/C2OUT/
CTDIN
RF2/AN7/C1OUT
RF3/AN8/C2INB/
CTMUI
RF4/AN9/C2INA
RF5/AN10/CV
C1INB
Legend:
Note 1: On device Resets, pins, RF<7:1>, are
Pin Name
PORTF, LATF and TRISF Registers
2: To configure PORTF as a digital I/O, turn
O = Output, I = Input, ANA = Analog Signal, DIG = Digital Output, ST = Schmitt Trigger Buffer Input,
TTL = TTL Buffer Input, x = Don’t care (TRIS bit does not affect port direction or is overridden for this option).
configured as analog inputs and are read
as ‘0’.
off the comparators and clear ANCON1
and ANCON2 to digital.
REF
/
Function
C2OUT
C1OUT
CTMUI
CTDIN
C2INB
C2INA
CV
C1INB
AN10
AN6
AN7
AN8
AN9
RF1
RF2
RF3
RF4
RF5
REF
Setting
TRIS
0
1
1
0
1
0
1
1
0
0
1
1
1
x
0
1
1
1
0
1
1
x
1
I/O
O
O
O
O
O
O
O
O
O
I
I
I
I
I
I
I
I
I
I
I
I
I
I
Type
ANA
ANA
ANA
ANA
ANA
ANA
ANA
ANA
ANA
DIG
DIG
DIG
DIG
DIG
DIG
DIG
I/O
ST
ST
ST
ST
ST
ST
LATF<1> data output; not affected by analog input.
PORTF<1> data input; disabled when analog input is enabled.
A/D Input Channel 6. Default configuration on POR.
Comparator 2 output; takes priority over port data.
CTMU pulse delay input.
LATF<2> data output; not affected by analog input.
PORTF<2> data input; disabled when analog input is enabled.
A/D Input Channel 7. Default configuration on POR.
Comparator 1 output; takes priority over port data.
LATF<3> data output; not affected by analog input.
PORTF<3> data input; disabled when analog input is enabled.
A/D Input Channel 8 and Comparator C2+ input. Default input
configuration on POR; not affected by analog output.
Comparator 2 Input B.
CTMU pulse generator charger for the C2INB comparator input.
LATF<4> data output; not affected by analog input.
PORTF<4> data input; disabled when analog input is enabled.
A/D Input Channel 9 and Comparator C2- input. Default input
configuration on POR; does not affect digital output.
Comparator 2 Input A.
LATF<5> data output; not affected by analog input. Disabled when
CV
PORTF<5> data input; disabled when analog input is enabled.
Disabled when CV
A/D Input Channel 10 and Comparator C1+ input. Default input
configuration on POR.
Comparator voltage reference output. Enabling this feature disables
digital I/O.
Comparator 1 Input B.
REF
PIC18F87K22 FAMILY
output is enabled.
EXAMPLE 12-6:
CLRF
CLRF
BANKSEL
MOVLW
MOVWF
MOVLW
MOVWF
BANKSEL
MOVLW
MOVWF
REF
PORTF
LATF
ANCON1
1Fh
ANCON1
0Fh
ANCON
TRISF
0CEh
TRISF
output is enabled.
Description
; Initialize PORTF by
; clearing output
; data latches
; Alternate method
; to clear output
; data latches
; Select bank with ANCON1 register
; Make AN6, AN7 and AN5 digital
;
; Make AN8, AN9, AN10 and AN11
; Set PORTF as digital I/O
; Select bank with TRISF register
; Value used to
; initialize data
; direction
; Set RF3:RF1 as inputs
; RF5:RF4 as outputs
; RF7:RF6 as inputs
digital
INITIALIZING PORTF
DS39960D-page 181

Related parts for PIC18F67K22-I/MR