PIC18F65K22-E/PT Microchip Technology, PIC18F65K22-E/PT Datasheet - Page 250

no-image

PIC18F65K22-E/PT

Manufacturer Part Number
PIC18F65K22-E/PT
Description
32kB Flash, 2kB RAM, 1kB EE, NanoWatt XLP, GP 64 TQFP 10x10x1mm TRAY
Manufacturer
Microchip Technology
Series
PIC® XLP™ 18Fr
Datasheet

Specifications of PIC18F65K22-E/PT

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
32KB (16K x 16)
Program Memory Type
FLASH
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 ~ 125°C
Package / Case
64-TQFP
Lead Free Status / Rohs Status
Lead free / RoHS Compliant

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
PIC18F65K22-E/PT
Manufacturer:
Microchip Technology
Quantity:
10 000
PIC18F87K22 FAMILY
19.1.2
When operating in Output mode (the Compare or PWM
modes), the drivers for the CCPx pins can be optionally
configured as open-drain outputs. This feature allows
the voltage level on the pin to be pulled to a higher level
through an external pull-up resistor and allows the
output to communicate with external circuits without the
need for additional level shifters.
The open-drain output option is controlled by the
CCPxOD bits (ODCON2<7:0>). Setting the appropri-
ate bit configures the pin for the corresponding module
for open-drain operation.
19.1.3
The pin assignment for CCP6/7/8/9 (Capture input,
Compare and PWM output) can change, based on the
device configuration.
The ECCPMX Configuration bit (CONFIG3H<1>)
determines the pin to which CCP6/7/8/9 is multiplexed.
The pin assignments for these CCP modules are given
in
TABLE 19-4:
DS39960D-page 250
ECCPMX
(Default)
Value
Table
1
0
19-4.
OPEN-DRAIN OUTPUT OPTION
PIN ASSIGNMENT FOR CCP6,
CCP7, CCP8 AND CCP9
CCP6
RE6
RH7
CCP PIN ASSIGNMENT
CCP7
Pin Mapped to
RE5
RH6
CCP8
RE4
RH5
CC9
RE3
RH4
capture feature, the used timers must be running in Timer
19.2
In Capture mode, the CCPR4H:CCPR4L register pair
captures the 16-bit value of the Timer register selected
in the CCPTMRS1 when an event occurs on the CCP4
pin. An event is defined as one of the following:
• Every falling edge
• Every rising edge
• Every 4th rising edge
• Every 16th rising edge
The event is selected by the mode select bits,
CCP4M<3:0> (CCP4CON<3:0>). When a capture is
made, the interrupt request flag bit, CCP4IF (PIR4<1>),
is set. (It must be cleared in software.) If another
capture occurs before the value in CCPR4 is read, the
old captured value is overwritten by the new captured
value.
Figure 19-1
19.2.1
In Capture mode, the appropriate CCPx pin should be
configured as an input by setting the corresponding
TRIS direction bit.
19.2.2
For the available timers (1/3/5/7) to be used for the
mode or Synchronized Counter mode. In Asynchronous
Counter mode, the capture operation may not work.
The timer to be used with each CCP module is selected
in the CCPTMRSx registers. (See
Modules and Timer
Details of the timer assignments for the CCP modules
are given in
Note:
Capture Mode
shows the Capture mode block diagram.
CCP PIN CONFIGURATION
If RC1 or RE7 is configured as a CCP4
output, a write to the port causes a
capture condition.
TIMER1/3/5/7 MODE SELECTION
Table 19-2
 2009-2011 Microchip Technology Inc.
Resources”.)
and
Table
19-3.
Section 19.1.1 “CCP

Related parts for PIC18F65K22-E/PT