PIC18F87K90-I/PTRSL Microchip Technology, PIC18F87K90-I/PTRSL Datasheet - Page 371

no-image

PIC18F87K90-I/PTRSL

Manufacturer Part Number
PIC18F87K90-I/PTRSL
Description
MCU PIC 128K FLASH XLP 80TQFP
Manufacturer
Microchip Technology
Series
PIC® XLP™ 18Fr

Specifications of PIC18F87K90-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, LCD, POR, PWM, WDT
Number Of I /o
69
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 24x12b
Oscillator Type
Internal
Operating Temperature
-40°C ~ 85°C
Package / Case
80-TFQFP
Controller Family/series
PIC18
Eeprom Memory Size
1024Byte
Ram Memory Size
4096Byte
Cpu Speed
16MIPS
No. Of Timers
11
Processor Series
PIC18F
Core
PIC
Data Bus Width
8 bit
Data Ram Size
4 KB
Interface Type
I2C, SPI
Maximum Clock Frequency
64 MHz
Number Of Timers
11
Operating Supply Voltage
1.8 V to 5.5 V
Maximum Operating Temperature
+ 125 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
12 bit, 24 Channel
A/d Bit Size
12 bit
A/d Channels Available
24
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Lead Free Status / RoHS Status
Lead free / RoHS Compliant, Lead free / RoHS Compliant

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
PIC18F87K90-I/PTRSL
Manufacturer:
Maxim
Quantity:
89
Part Number:
PIC18F87K90-I/PTRSL
Manufacturer:
Microchip Technology
Quantity:
10 000
23.0
The Analog-to-Digital (A/D) Converter module in the
PIC18F87K90 family of devices has 16 inputs for the
64-pin devices and 24 inputs for the 80-pin devices.
This module allows conversion of an analog input
signal to a corresponding signed 12-bit digital number.
The module has these registers:
• A/D Control Register 0 (ADCON0)
• A/D Control Register 1 (ADCON1)
• A/D Control Register 2 (ADCON2)
• A/D Port Configuration Register 0 (ANCON0)
• A/D Port Configuration Register 1 (ANCON1)
• A/D Port Configuration Register 2 (ANCON2)
• ADRESH (the upper A/D Results register)
• ADRESL (the lower A/D Results register)
The ADCON0 register, shown in Register 23-1, con-
trols the operation of the A/D module. The ADCON1
register, shown in Register 23-2, configures the voltage
reference and special trigger selection. The ADCON2
register, shown in Register 23-3, configures the A/D
clock source and programmed acquisition time and
justification.
 2010 Microchip Technology Inc.
12-BIT ANALOG-TO-DIGITAL
CONVERTER (A/D) MODULE
Preliminary
PIC18F87K90 FAMILY
23.1
The converter in PIC18F87K90 family devices is
implemented as a differential A/D where the differential
voltage between two channels is measured and
converted to digital values (see Figure 23-1).
The converter also can be configured to measure a
voltage from a single input by clearing the CHSN bits
(ADCON1<2:0>). With this configuration, the negative
channel input is connected internally to AV
Figure 23-2).
FIGURE 23-1:
Differential conversion feeds the two input channels to
a unity gain differential amplifier. The positive channel
input is selected using the CHS bits (ADCON0<6:2>)
and the negative channel input is selected using the
CHSN bits (ADCON1<2:0>).
The output from the amplifier is fed to the A/D convert,
as shown in Figure 23-1. The 12-bit result is available
on the ADRESH and ADRESL registers. There is also
a sign bit, along with the 12-bit result, indicating if the
result is a positive or negative value.
FIGURE 23-2:
In the Single Channel Measurement mode, the
negative input is connected to A
CHSN bits (ADCON1<2:0>).
Positive input
CHS<4:0>
CHSN<2:0>
= 000
Positive input
CHS<4:0>
Negative input
CHSN<2:0>
Differential A/D Converter
AV
SS
+
+
DIFFERENTIAL CHANNEL
MEASUREMENT
SINGLE CHANNEL
MEASUREMENT
VSS
DS39957B-page 371
by clearing the
ADC
ADC
SS
(see

Related parts for PIC18F87K90-I/PTRSL