PIC18F86J90T-I/PT Microchip Technology, PIC18F86J90T-I/PT Datasheet - Page 313

no-image

PIC18F86J90T-I/PT

Manufacturer Part Number
PIC18F86J90T-I/PT
Description
Segmented LCD, 96KB Flash, 4KB RAM, 12 MIPS, NanoWatt 80 TQFP 12x12x1mm T/R
Manufacturer
Microchip Technology
Series
PIC® 18Fr

Specifications of PIC18F86J90T-I/PT

Core Processor
PIC
Core Size
8-Bit
Speed
48MHz
Connectivity
I²C, SPI, UART/USART
Peripherals
Brown-out Detect/Reset, LCD, LVD, POR, PWM, WDT
Number Of I /o
67
Program Memory Size
64KB (32K x 16)
Program Memory Type
FLASH
Ram Size
3.8K x 8
Voltage - Supply (vcc/vdd)
2 V ~ 3.6 V
Data Converters
A/D 12x10b
Oscillator Type
Internal
Operating Temperature
-40°C ~ 85°C
Package / Case
80-TFQFP
Processor Series
PIC18F
Core
PIC
Data Bus Width
8 bit
Data Ram Size
3923 B
Interface Type
AUSART, EUSART, I2C, SPI
Maximum Clock Frequency
48 MHz
Number Of Programmable I/os
67
Number Of Timers
4
Maximum Operating Temperature
+ 85 C
Mounting Style
SMD/SMT
3rd Party Development Tools
52715-96, 52716-328, 52717-734, 52712-325, EWPIC18
Minimum Operating Temperature
- 40 C
On-chip Adc
10 bit, 12 Channel
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
For Use With
AC162079 - HEADER MPLAB ICD2 18F85J90 64/80AC164328 - MODULE SKT FOR 80TQFP
Eeprom Size
-
Lead Free Status / Rohs Status
 Details

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
PIC18F86J90T-I/PT
Manufacturer:
Microchip Technology
Quantity:
10 000
EXAMPLE 24-1:
 2010 Microchip Technology Inc.
#include "p18cxxx.h"
/**************************************************************************/
/*Setup CTMU *****************************************************************/
/**************************************************************************/
void setup(void)
{ //CTMUCON - CTMU Control register
/**************************************************************************/
//Setup AD converter;
/**************************************************************************/
}
ADCON2bits.ACQT=1;
ADCON2bits.ADCS=2;
// ADCON1
ADCON1bits.ADCAL=0;
ADCON1bits.PCFG=0xC;
// ADCON0
ADCON0bits.VCFG0 =0;
ADCON0bits.VCFG1 =0;
ADCON0bits.CHS=2;
ADCON0bits.ADON=1;
CTMUCONH = 0x00;
CTMUCONL = 0X90;
//CTMU continues to run when emulator is stopped,CTMU continues
//to run in idle mode,Time Generation mode disabled, Edges are blocked
//No edge sequence order, Analog current source not grounded, trigger
//output disabled, Edge2 polarity = positive level, Edge2 source =
//source 0, Edge1 polarity = positive level, Edge1 source = source 0,
// Set Edge status bits to zero
//CTMUICON - CTMU Current Control Register
CTMUICON = 0x01;
TRISA=0x04;
// ADCON2
ADCON2bits.ADFM=1;
SETUP FOR CTMU CALIBRATION ROUTINES
//make sure CTMU is disabled
//0.55uA, Nominal - No Adjustment
//set channel 2 as an input
// Resulst format 1= Right justified
// Acquition time 7 = 20TAD 2 = 4TAD 1=2TAD
// Clock conversion bits 6= FOSC/64 2=FOSC/32
// Normal A/D conversion operation
// Configures AN0 to AN2 as analog
// Vref+ = AVdd
// Vref- = AVss
// Select ADC channel
// Turn on ADC
PIC18F87J90 FAMILY
DS39933D-page 313

Related parts for PIC18F86J90T-I/PT