PIC16F872-I/SS Microchip Technology, PIC16F872-I/SS Datasheet - Page 394

IC MCU FLASH 2KX14 EE 28SSOP

PIC16F872-I/SS

Manufacturer Part Number
PIC16F872-I/SS
Description
IC MCU FLASH 2KX14 EE 28SSOP
Manufacturer
Microchip Technology
Series
PIC® 16Fr

Specifications of PIC16F872-I/SS

Core Size
8-Bit
Program Memory Size
3.5KB (2K x 14)
Core Processor
PIC
Speed
20MHz
Connectivity
I²C, SPI
Peripherals
Brown-out Detect/Reset, POR, PWM, WDT
Number Of I /o
22
Program Memory Type
FLASH
Eeprom Size
64 x 8
Ram Size
128 x 8
Voltage - Supply (vcc/vdd)
4 V ~ 5.5 V
Data Converters
A/D 5x10b
Oscillator Type
External
Operating Temperature
-40°C ~ 85°C
Package / Case
28-SSOP
Controller Family/series
PIC16F
No. Of I/o's
22
Eeprom Memory Size
64Byte
Ram Memory Size
128Byte
Cpu Speed
20MHz
No. Of Timers
3
Processor Series
PIC16F
Core
PIC
Data Bus Width
8 bit
Data Ram Size
128 B
Interface Type
I2C, SPI, SSP
Maximum Clock Frequency
20 MHz
Number Of Programmable I/os
22
Number Of Timers
3 bit
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
10 bit
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
For Use With
AC164307 - MODULE SKT FOR PM3 28SSOPAC164020 - MODULE SKT PROMATEII 44TQFPXLT28SS-1 - SOCKET TRANSITION ICE 28SSOP
Lead Free Status / Rohs Status
 Details

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
PIC16F872-I/SS
Manufacturer:
MICROCHIP
Quantity:
1 400
Part Number:
PIC16F872-I/SS
Manufacturer:
Microchip Technology
Quantity:
1 867
Part Number:
PIC16F872-I/SS
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
PICmicro MID-RANGE MCU FAMILY
21.7
DS31021A-page 21-10
A/D Conversions
Example 21-2
inputs. The analog reference (V
conversion clock is F
Clearing the GO/DONE bit during a conversion will abort the current conversion. The ADRES
register will NOT be updated with the partially completed A/D conversion sample. That is, the
ADRES register will continue to contain the value of the last completed conversion (or the last
value written to the ADRES register). After the A/D conversion is aborted, a 2T
before the next acquisition is started. After this 2T
on the selected channel.
Example 21-2:
Figure 21-4: A/D Conversion T
;
;
;
;
Note:
Ensure that the required sampling time for the selected input
channel has elapsed. Then the conversion may be started.
BSF
CLRF
BSF
BCF
MOVLW
MOVWF
BCF
BSF
BSF
BSF
Set GO bit
T
:
:
:
AD
1 T
The GO/DONE bit should NOT be set in the same instruction that turns on the A/D,
due to the required acquition time requirement.
Holding capacitor is disconnected
from analog input
show how to perform an A/D conversion. The I/O pins are configured as analog
STATUS, RP0
ADCON1
PIE1,
STATUS, RP0
0xC1
ADCON0
PIR1,
INTCON, PEIE
INTCON, GIE
ADCON0, GO
AD
b7
Doing an A/D Conversion
2 T
RC
. The conversion is performed on the AN0 channel.
AD
b6
ADIE
ADIF
3 T
AD
b5
REF
AD
4 T
) is the device V
Cycles
; Select Bank1
; Configure A/D inputs
; Enable A/D interrupts
; Select Bank0
; RC Clock, A/D is on, Channel 0 is selected
;
; Clear A/D interrupt flag bit
; Enable peripheral interrupts
; Enable all interrupts
; Start A/D Conversion
; The ADIF bit will be set and the GO/DONE
; bit is cleared upon completion of the
;
b4
AD
5 T
A/D Conversion.
Holding capacitor is connected to analog input
b3
AD
6 T
AD
DD
wait, an acquisition is automatically started
. The A/D interrupt is enabled, and the A/D
b2
AD
Next Q4: ADRES is loaded
7 T
AD
b1
8 T
GO bit is cleared
ADIF bit is set
1997 Microchip Technology Inc.
AD
b0
9 T
AD
b0
AD
10
wait is required
T
AD
11

Related parts for PIC16F872-I/SS