PIC16LF871-I/PT Microchip Technology, PIC16LF871-I/PT Datasheet - Page 83
![IC PIC MCU FLASH 2KX14 44TQFP](/photos/6/82/68251/c04-076_pt_sml.jpg)
PIC16LF871-I/PT
Manufacturer Part Number
PIC16LF871-I/PT
Description
IC PIC MCU FLASH 2KX14 44TQFP
Manufacturer
Microchip Technology
Series
PIC® 16Fr
Specifications of PIC16LF871-I/PT
Core Size
8-Bit
Program Memory Size
3.5KB (2K x 14)
Core Processor
PIC
Speed
20MHz
Connectivity
UART/USART
Peripherals
Brown-out Detect/Reset, POR, PWM, WDT
Number Of I /o
33
Program Memory Type
FLASH
Eeprom Size
64 x 8
Ram Size
128 x 8
Voltage - Supply (vcc/vdd)
2 V ~ 5.5 V
Data Converters
A/D 8x10b
Oscillator Type
External
Operating Temperature
-40°C ~ 85°C
Package / Case
44-TQFP, 44-VQFP
Controller Family/series
PIC16LF
No. Of I/o's
33
Eeprom Memory Size
64Byte
Ram Memory Size
128Byte
Cpu Speed
20MHz
No. Of Timers
3
Processor Series
PIC16LF
Core
PIC
Data Bus Width
8 bit
Data Ram Size
128 B
Interface Type
PSP, USART
Maximum Clock Frequency
20 MHz
Number Of Programmable I/os
33
Number Of Timers
8
Operating Supply Voltage
2 V to 5.5 V
Maximum Operating Temperature
+ 85 C
Mounting Style
SMD/SMT
3rd Party Development Tools
52715-96, 52716-328, 52717-734
Development Tools By Supplier
PG164130, DV164035, DV244005, DV164005, PG164120, ICE2000, DM163022
Minimum Operating Temperature
- 40 C
On-chip Adc
28 bit
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
Company:
Part Number:
PIC16LF871-I/PT
Manufacturer:
TI
Quantity:
212
Company:
Part Number:
PIC16LF871-I/PT
Manufacturer:
MICROCHIP
Quantity:
3 000
Company:
Part Number:
PIC16LF871-I/PT
Manufacturer:
Microchip Technology
Quantity:
10 000
Part Number:
PIC16LF871-I/PT
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
These steps should be followed for doing an A/D
Conversion:
1.
2.
FIGURE 10-1:
2003 Microchip Technology Inc.
Note 1: Not available on the PIC16F870 device.
Configure the A/D module:
Configure A/D interrupt (if desired):
• Configure analog pins/voltage reference and
• Select A/D input channel (ADCON0)
• Select A/D conversion clock (ADCON0)
• Turn on A/D module (ADCON0)
• Clear ADIF bit
• Set ADIE bit
• Set PEIE bit
• Set GIE bit
digital I/O (ADCON1)
Converter
A/D
A/D BLOCK DIAGRAM
(Reference
(Reference
Voltage)
Voltage)
V
V
REF
REF
-
+
(Input Voltage)
PCFG3:PCFG0
PCFG3:PCFG0
V
AIN
V
V
DD
SS
3.
4.
5.
6.
7.
Wait the required acquisition time.
Start conversion:
• Set GO/DONE bit (ADCON0)
Wait for A/D conversion to complete, by either:
• Polling for the GO/DONE bit to be cleared
• Waiting for the A/D interrupt
Read
(ADRESH:ADRESL), clear bit ADIF if required.
For the next conversion, go to step 1 or step 2,
as required. The A/D conversion time per bit is
defined as T
required before the next acquisition starts.
(with interrupts enabled); OR
CHS2:CHS0
A/D
PIC16F870/871
111
110
101
100
011
010
001
000
AD
. A minimum wait of 2 T
Result
register
RA1/AN1
RE2/AN7
RA2/AN2/V
RA0/AN0
DS30569B-page 81
RE1/AN6
RE0/AN5
RA5/AN4
RA3/AN3/V
(1)
(1)
(1)
REF
AD
REF
pair
+
-
is