PIC18F65K90-I/MR Microchip Technology, PIC18F65K90-I/MR Datasheet - Page 243

32kB Flash, 2kB RAM, 1kB EE, NanoWatt XLP, LCD 64 QFN 9x9x0.9mm TUBE

PIC18F65K90-I/MR

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

Specifications of PIC18F65K90-I/MR

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-VFQFN Exposed Pad
Lead Free Status / Rohs Status
 Details
FIGURE 18-1:
18.2.3
When the Capture mode is changed, a false capture
interrupt may be generated. The user should keep the
CCP4IE bit (PIE4<1>) clear to avoid false interrupts
and should clear the flag bit, CCP4IF, following any
such change in operating mode.
18.2.4
There are four prescaler settings in Capture mode.
They are specified as part of the operating mode
selected by the mode select bits (CCP4M<3:0>).
Whenever the CCP module is turned off, or the CCP
module is not in Capture mode, the prescaler counter
is cleared. This means that any Reset will clear the
prescaler counter.
 2009-2011 Microchip Technology Inc.
Note:
SOFTWARE INTERRUPT
CCP PRESCALER
CCP5 Pin
CCP4 Pin
This block diagram uses CCP4 and CCP5, and their appropriate timers, as an example. For details on all
of the CCP modules and their timer assignments, see
CAPTURE MODE OPERATION BLOCK DIAGRAM
CCP5CON<3:0>
CCP4CON<3:0>
Prescaler
 1, 4, 16
Prescaler
 1, 4, 16
Q1:Q4
4
Edge Detect
Edge Detect
4
4
and
and
Set CCP4IF
Set CCP5IF
C4TSEL0
C4TSEL1
C4TSEL1
C4TSEL0
C5TSEL0
C5TSEL0
PIC18F87K90 FAMILY
Switching from one capture prescaler to another may
generate an interrupt. Doing that also will not clear the
prescaler counter – meaning the first capture may be
from a non-zero prescaler.
Example 18-1
switching between capture prescalers. This example
also clears the prescaler counter and will not generate
the “false” interrupt.
EXAMPLE 18-1:
CLRF
MOVLW NEW_CAPT_PS ; Load WREG with the
MOVWF CCP4CON
Table 18-2
CCP4CON
and
Table
shows the recommended method for
TMR5
Enable
TMR1
Enable
TMR3
Enable
TMR1
Enable
18-3.
CCPR5H
CCPR4H
TMR5H
TMR1H
TMR3H
TMR1H
CHANGING BETWEEN
CAPTURE PRESCALERS
; Turn CCP module off
; new prescaler mode
; value and CCP ON
; Load CCP4CON with
; this value
CCPR5L
CCPR4L
TMR1L
TMR5L
TMR3L
TMR1L
DS39957D-page 243

Related parts for PIC18F65K90-I/MR