PIC18F67K22-I/PTRSL Microchip Technology, PIC18F67K22-I/PTRSL Datasheet - Page 179
![no-image](/images/manufacturer_photos/0/4/439/microchip_technology_sml.jpg)
PIC18F67K22-I/PTRSL
Manufacturer Part Number
PIC18F67K22-I/PTRSL
Description
MCU PIC 128K FLASH XLP 64TQFP
Manufacturer
Microchip Technology
Series
PIC® XLP™ 18Fr
Datasheets
1.PIC16F722-ISS.pdf
(8 pages)
2.PIC18F65K22T-IPTRSL.pdf
(548 pages)
3.PIC18F65K22T-IPTRSL.pdf
(10 pages)
Specifications of PIC18F67K22-I/PTRSL
Core Size
8-Bit
Program Memory Size
128KB (64K x 16)
Core Processor
PIC
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 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-TFQFP
Controller Family/series
PIC18
Eeprom Memory Size
1024Byte
Ram Memory Size
3862Byte
Cpu Speed
16MIPS
No. Of Timers
11
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Available stocks
Company
Part Number
Manufacturer
Quantity
Price
Company:
Part Number:
PIC18F67K22-I/PTRSL
Manufacturer:
Microchip Technology
Quantity:
10 000
- PIC16F722-ISS PDF datasheet
- PIC18F65K22T-IPTRSL PDF datasheet #2
- PIC18F65K22T-IPTRSL PDF datasheet #3
- Current page: 179 of 548
- Download datasheet (5Mb)
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
2010 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
—
Preliminary
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
DS39960B-page 179
Related parts for PIC18F67K22-I/PTRSL
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
![PIC18F67K22-I/MRRSL](/photos/18/99/189964/4388451_tmb.jpg)
Part Number:
Description:
MCU PIC 128K FLASH XLP 64QFN
Manufacturer:
Microchip Technology
Datasheet:
![PIC18F67K22-E/MR](/images/manufacturer_photos/0/4/439/microchip_technology_tmb.jpg)
Part Number:
Description:
128kB Flash, 4kB RAM, 1kB EE, NanoWatt XLP, GP 64 QFN 9x9x0.9mm TUBE
Manufacturer:
Microchip Technology
Datasheet:
![PIC18F67K22-E/PT](/images/manufacturer_photos/0/4/439/microchip_technology_tmb.jpg)
Part Number:
Description:
128kB Flash, 4kB RAM, 1kB EE, NanoWatt XLP, GP 64 TQFP 10x10x1mm TRAY
Manufacturer:
Microchip Technology
Datasheet:
![PIC18F67K22-I/MR](/images/manufacturer_photos/0/4/439/microchip_technology_tmb.jpg)
Part Number:
Description:
128kB Flash, 4kB RAM, 1kB EE, NanoWatt XLP, GP 64 QFN 9x9x0.9mm TUBE
Manufacturer:
Microchip Technology
Datasheet:
![PIC18F67K22-I/PT](/images/manufacturer_photos/0/4/439/microchip_technology_tmb.jpg)
Part Number:
Description:
128kB Flash, 4kB RAM, 1kB EE, NanoWatt XLP, GP 64 TQFP 10x10x1mm TRAY
Manufacturer:
Microchip Technology
![TC1014-2.7VCT](/images/manufacturer_photos/0/4/440/microchip_technology_inc__tmb.jpg)
Part Number:
Description:
Manufacturer:
Microchip Technology Inc.
Datasheet:
![TC1014-5.0VCT](/images/manufacturer_photos/0/4/440/microchip_technology_inc__tmb.jpg)
Part Number:
Description:
Manufacturer:
Microchip Technology Inc.
Datasheet:
![TC1055-2.5VCT](/images/manufacturer_photos/0/4/440/microchip_technology_inc__tmb.jpg)
Part Number:
Description:
Manufacturer:
Microchip Technology Inc.
Datasheet:
![TC1055-2.7VCT](/images/manufacturer_photos/0/4/440/microchip_technology_inc__tmb.jpg)
Part Number:
Description:
Manufacturer:
Microchip Technology Inc.
Datasheet:
![TC1055-2.8VCT](/images/manufacturer_photos/0/4/440/microchip_technology_inc__tmb.jpg)
Part Number:
Description:
Manufacturer:
Microchip Technology Inc.
Datasheet:
![TC1055-4.0VCT](/images/manufacturer_photos/0/4/440/microchip_technology_inc__tmb.jpg)
Part Number:
Description:
Manufacturer:
Microchip Technology Inc.
Datasheet: