PIC18F65K80-E/MR Microchip Technology, PIC18F65K80-E/MR Datasheet - Page 257

ECAN, 32KB Flash, 4KB RAM, 16 MIPS, 12-bit ADC, CTMU 64 QFN 9x9x0.9mm TUBE

PIC18F65K80-E/MR

Manufacturer Part Number
PIC18F65K80-E/MR
Description
ECAN, 32KB Flash, 4KB RAM, 16 MIPS, 12-bit ADC, CTMU 64 QFN 9x9x0.9mm TUBE
Manufacturer
Microchip Technology
Series
PIC® XLP™ 18Fr
Datasheet

Specifications of PIC18F65K80-E/MR

Core Processor
PIC
Core Size
8-Bit
Speed
64MHz
Connectivity
ECAN, I²C, LIN, SPI, UART/USART
Peripherals
Brown-out Detect/Reset, LVD, POR, PWM, WDT
Number Of I /o
54
Program Memory Size
32KB (16K x 16)
Program Memory Type
FLASH
Eeprom Size
1K x 8
Ram Size
3.6K x 8
Voltage - Supply (vcc/vdd)
1.8 V ~ 5.5 V
Data Converters
A/D 11x12b
Oscillator Type
Internal
Operating Temperature
-40°C ~ 125°C
Package / Case
*
Processor Series
PIC18F65K80
Core
PIC
Data Bus Width
8 bit
Data Ram Size
1 KB
Interface Type
I2C, SPI, USART
Maximum Clock Frequency
64 MHz
Number Of Programmable I/os
54
Number Of Timers
5
Operating Supply Voltage
1.8 V to 5.5 V
Maximum Operating Temperature
+ 125 C
Mounting Style
SMD/SMT
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
18.9
The CTMU, along with an internal diode, can be used
to measure the temperature. The ADC can be con-
nected to the internal diode and the CTMU module can
EXAMPLE 18-6:
 2011 Microchip Technology Inc.
// Initialize CTMU
CTMUICON = 0x03;
CTMUCONHbits.CTMUEN = 1;
CTMUCONLbits.EDG1STAT = 1;
// Initialize ADC
ADCON0 = 0xE5;
ADCON1 = 0x00;
ADCON2 = 0xBE;
ADCON0bits.GO = 1;
while(ADCON0bits.G0);
Temp = ADRES;
Note:
Measuring Temperature
CTMU Module
The temperature diode is not calibrated or standardized; the user must calibrate the diode to their application.
ROUTINE FOR TEMPERATURE MEASUREMENT USING INTERNAL DIODE
with
// Enable ADC and connect to Internal diode
//Right Justified
// Start conversion
// Read ADC results (inversely proportional to temperature)
the
Preliminary
PIC18F66K80 FAMILY
source the current to the diode. The ADC reading will
reflect the temperature. With the increase, the ADC
readings will go low. This can be used for low-cost
temperature measurement applications.
DS39977C-page 257

Related parts for PIC18F65K80-E/MR