PIC16F1518-E/SP Microchip Technology, PIC16F1518-E/SP Datasheet - Page 142

28-pin, 28KB Flash, 1024B RAM, 10-bit ADC, 2xCCP, SPI, MI2C, EUSART, 2.3V-5.5V 2

PIC16F1518-E/SP

Manufacturer Part Number
PIC16F1518-E/SP
Description
28-pin, 28KB Flash, 1024B RAM, 10-bit ADC, 2xCCP, SPI, MI2C, EUSART, 2.3V-5.5V 2
Manufacturer
Microchip Technology
Series
PIC® XLP™ 16Fr
Datasheet

Specifications of PIC16F1518-E/SP

Processor Series
PIC16F151x
Core
PIC
Data Bus Width
8 bit
Program Memory Type
Flash
Program Memory Size
16 KB
Data Ram Size
1 KB
Interface Type
I2C, SPI, USART
Maximum Clock Frequency
20 MHz
Number Of Programmable I/os
25
Number Of Timers
3
Operating Supply Voltage
2.3 V to 5.5 V
Maximum Operating Temperature
+ 125 C
Mounting Style
Through Hole
Package / Case
PDIP-28
Core Processor
PIC
Core Size
8-Bit
Speed
20MHz
Connectivity
I²C, LIN, SPI, UART/USART
Peripherals
Brown-out Detect/Reset, POR, PWM, WDT
Number Of I /o
25
Eeprom Size
-
Ram Size
1K x 8
Voltage - Supply (vcc/vdd)
2.3 V ~ 5.5 V
Data Converters
A/D 17x10b
Oscillator Type
Internal
Operating Temperature
-40°C ~ 125°C
Lead Free Status / Rohs Status
 Details
PIC16(L)F1516/7/8/9
16.1
When configuring and using the ADC the following
functions must be considered:
• Port configuration
• Channel selection
• ADC voltage reference selection
• ADC conversion clock source
• Interrupt control
• Result formatting
16.1.1
The ADC can be used to convert both analog and
digital signals. When converting analog signals, the I/O
pin should be configured for analog by setting the
associated
Section 12.0 “I/O Ports”
16.1.2
There are up to 30 channel selections available:
• AN<19:8, 4:0> pins (PIC16(L)F1516/8 only)
• AN<27:0> pins (PIC16(L)F1517/9 only)
• Temperature Indicator
• FVR (Fixed Voltage Reference) Output
Refer to
(FVR)”
Module” for more information on these channel selec-
tions.
The CHS bits of the ADCON0 register determine which
channel is connected to the sample and hold circuit.
When changing channels, a delay is required before
starting the next conversion. Refer to
“ADC Operation”
16.1.3
The ADPREF bits of the ADCON1 register provides
control of the positive voltage reference. The positive
voltage reference can be:
• V
• V
• FVR 2.048V
• FVR 4.096V (Not available on LF devices)
See
for more details on the fixed voltage reference.
DS41452B-page 142
Note:
REF
DD
Section 14.0 “Fixed Voltage Reference (FVR)”
+ pin
and Section 15.0 “Temperature Indicator
ADC Configuration
Section 14.0 “Fixed Voltage Reference
PORT CONFIGURATION
Analog voltages on any pin that is defined
as a digital input may cause the input buf-
fer to conduct excess current.
CHANNEL SELECTION
ADC VOLTAGE REFERENCE
TRIS
for more information.
and
for more information.
ANSEL
bits.
Section 16.2
Refer
Preliminary
to
16.1.4
The source of the conversion clock is software select-
able via the ADCS bits of the ADCON1 register. There
are seven possible clock options:
• F
• F
• F
• F
• F
• F
• F
The time to complete one bit conversion is defined as
T
ods as shown in
For correct conversion, the appropriate T
tion must be met. Refer to the A/D conversion require-
ments in
more information.
priate ADC clock selections.
AD
Note:
OSC
OSC
OSC
OSC
OSC
OSC
RC
. One full 10-bit conversion requires 11.5 T
(dedicated internal oscillator)
/2
/4
/8
/16
/32
/64
Section 25.0 “Electrical Specifications”
Unless using the F
system clock frequency will change the
ADC
adversely affect the ADC result.
CONVERSION CLOCK
Figure
Table 16-1
clock
16-2.
 2011 Microchip Technology Inc.
frequency,
gives examples of appro-
RC
, any changes in the
which
AD
specifica-
AD
may
peri-
for

Related parts for PIC16F1518-E/SP