PIC16LF876A-I/SS Microchip Technology, PIC16LF876A-I/SS Datasheet - Page 129
![IC MCU FLASH 8KX14 EE A/D 28SSOP](/photos/6/81/68119/150-28-ssop_sml.jpg)
PIC16LF876A-I/SS
Manufacturer Part Number
PIC16LF876A-I/SS
Description
IC MCU FLASH 8KX14 EE A/D 28SSOP
Manufacturer
Microchip Technology
Series
PIC® 16Fr
Specifications of PIC16LF876A-I/SS
Core Size
8-Bit
Program Memory Size
14KB (8K x 14)
Core Processor
PIC
Speed
10MHz
Connectivity
I²C, SPI, UART/USART
Peripherals
Brown-out Detect/Reset, POR, PWM, WDT
Number Of I /o
22
Program Memory Type
FLASH
Eeprom Size
256 x 8
Ram Size
368 x 8
Voltage - Supply (vcc/vdd)
2 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
PIC16LF
No. Of I/o's
22
Eeprom Memory Size
256Byte
Ram Memory Size
368Byte
Cpu Speed
20MHz
No. Of Timers
3
Package
28SSOP
Device Core
PIC
Family Name
PIC16
Maximum Speed
20 MHz
Operating Supply Voltage
2.5|3.3|5 V
Data Bus Width
8 Bit
Number Of Programmable I/os
22
Interface Type
I2C/SPI/USART
On-chip Adc
5-chx10-bit
Number Of Timers
3
Core
PIC
Processor Series
PIC16LF
Maximum Clock Frequency
20 MHz
Data Ram Size
368 B
Data Rom Size
256 B
Mounting Style
SMD/SMT
Height
1.75 mm
Length
10.2 mm
Maximum Operating Temperature
+ 85 C
Minimum Operating Temperature
- 40 C
Supply Voltage (max)
5.5 V
Supply Voltage (min)
2 V
Width
5.3 mm
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Lead Free Status / RoHS Status
Lead free / RoHS Compliant, Lead free / RoHS Compliant
Other names
PIC16LF876AI/SS
Available stocks
Company
Part Number
Manufacturer
Quantity
Price
Part Number:
PIC16LF876A-I/SS
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
11.0
The Analog-to-Digital (A/D) Converter module has five
inputs for the 28-pin devices and eight for the 40/44-pin
devices.
The conversion of an analog input signal results in a
corresponding 10-bit digital number. The A/D module
has high and low-voltage reference input that is soft-
ware selectable to some combination of V
or RA3.
The A/D converter has a unique feature of being able
to operate while the device is in Sleep mode. To
operate in Sleep, the A/D clock must be derived from
the A/D’s internal RC oscillator.
REGISTER 11-1:
2003 Microchip Technology Inc.
ANALOG-TO-DIGITAL
CONVERTER (A/D) MODULE
bit 7-6
bit 5-3
bit 2
bit 1
bit 0
ADCON0 REGISTER (ADDRESS 1Fh)
bit 7
Legend:
R = Readable bit
- n = Value at POR
ADCS1:ADCS0: A/D Conversion Clock Select bits (ADCON0 bits in bold)
CHS2:CHS0: Analog Channel Select bits
000 = Channel 0 (AN0)
001 = Channel 1 (AN1)
010 = Channel 2 (AN2)
011 = Channel 3 (AN3)
100 = Channel 4 (AN4)
101 = Channel 5 (AN5)
110 = Channel 6 (AN6)
111 = Channel 7 (AN7)
GO/DONE: A/D Conversion Status bit
When ADON = 1:
1 = A/D conversion in progress (setting this bit starts the A/D conversion which is automatically
0 = A/D conversion not in progress
Unimplemented: Read as ‘0’
ADON: A/D On bit
1 = A/D converter module is powered up
0 = A/D converter module is shut-off and consumes no operating current
ADCS1
<ADCS2>
R/W-0
ADCON1
Note:
cleared by hardware when the A/D conversion is complete)
0
0
0
0
1
1
1
1
The PIC16F873A/876A devices only implement A/D channels 0 through 4; the
unimplemented selections are reserved. Do not select any unimplemented
channels with these devices.
ADCS0
R/W-0
<ADCS1:ADCS0>
DD
ADCON0
, V
00
01
10
11
00
01
10
11
SS
, RA2
R/W-0
CHS2
W = Writable bit
‘1’ = Bit is set
F
F
F
F
F
F
F
F
OSC
OSC
OSC
RC
OSC
OSC
OSC
RC
(clock derived from the internal A/D RC oscillator)
(clock derived from the internal A/D RC oscillator)
/2
/8
/32
/4
/16
/64
R/W-0
CHS1
The A/D module has four registers. These registers are:
• A/D Result High Register (ADRESH)
• A/D Result Low Register (ADRESL)
• A/D Control Register 0 (ADCON0)
• A/D Control Register 1 (ADCON1)
The ADCON0 register, shown in Register 11-1, con-
trols the operation of the A/D module. The ADCON1
register, shown in Register 11-2, configures the func-
tions of the port pins. The port pins can be configured
as analog inputs (RA3 can also be the voltage
reference) or as digital I/O.
Additional information on using the A/D module can be
found in the PICmicro
Reference Manual (DS33023).
R/W-0
CHS0
U = Unimplemented bit, read as ‘0’
‘0’ = Bit is cleared
Clock Conversion
GO/DONE
R/W-0
PIC16F87XA
®
Mid-Range MCU Family
x = Bit is unknown
U-0
DS39582B-page 127
—
ADON
R/W-0
bit 0