PIC16F873-04E/SO Microchip Technology, PIC16F873-04E/SO Datasheet - Page 451
![no-image](/images/manufacturer_photos/0/4/439/microchip_technology_sml.jpg)
PIC16F873-04E/SO
Manufacturer Part Number
PIC16F873-04E/SO
Description
IC,MICROCONTROLLER,8-BIT,PIC CPU,CMOS,SOP,28PIN,PLASTIC
Manufacturer
Microchip Technology
Series
PIC® 16Fr
Datasheets
1.PIC16F616T-ISL.pdf
(8 pages)
2.PIC16F688T-ISL.pdf
(688 pages)
3.PIC16F873-04SO.pdf
(218 pages)
4.PIC16F873-04SO.pdf
(5 pages)
5.PIC16F873-04SO.pdf
(5 pages)
6.PIC16F873-04SO.pdf
(4 pages)
Specifications of PIC16F873-04E/SO
Rohs Compliant
YES
Core Processor
PIC
Core Size
8-Bit
Speed
4MHz
Connectivity
I²C, SPI, UART/USART
Peripherals
Brown-out Detect/Reset, POR, PWM, WDT
Number Of I /o
22
Program Memory Size
7KB (4K x 14)
Program Memory Type
FLASH
Eeprom Size
128 x 8
Ram Size
192 x 8
Voltage - Supply (vcc/vdd)
4 V ~ 5.5 V
Data Converters
A/D 5x10b
Oscillator Type
External
Operating Temperature
-40°C ~ 125°C
Package / Case
28-SOIC (7.5mm Width)
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Other names
PIC16F87304E/SO
- PIC16F616T-ISL PDF datasheet
- PIC16F688T-ISL PDF datasheet #2
- PIC16F873-04SO PDF datasheet #3
- PIC16F873-04SO PDF datasheet #4
- PIC16F873-04SO PDF datasheet #5
- PIC16F873-04SO PDF datasheet #6
- Current page: 451 of 688
- Download datasheet (3Mb)
24.3.2
24.3.3
24.3.4
24.3.5
24.3.6
1997 Microchip Technology Inc.
Sleep Operation
Effects of a Reset
Slope A/D Comparator
Analog MUX
Programmable Current Source
The Slope A/D may operate when the device is in Sleep mode. For the Slope A/D to do a con-
version during Sleep mode, the Slope A/D module must have a device clock. For a clock to be
present the OSCOFF bit must be cleared before going to SLEEP. Also the REFOFF and ADOFF
bits must be cleared to ensure that the results reflect the voltage on the input channel. By doing
an A/D conversion during Sleep mode, the result has improved accuracy due to a reduction of
system noise.
When the device clock is disabled, the Slope A/D Timer (ADTMRH:ADTMRL) stops increment-
ing. Even if the Slope A/D module is not disabled, the slope A/D cannot wake-up the device. This
is because the ADCIF bit cannot be set, which is one of the control bits used to wake the device
from SLEEP mode. When the device awakes, if the comparator value has tripped, the capture
and interrupt will occur. The value in the ADCAP registers is meaningless.
For maximum power savings, all analog components of the Slope A/D module should be disabled
(no conversion in progress).
After any device reset, the Slope A/D module is disabled (lowest current state) and the device
I/O are configured as analog channels.
This module includes a high gain comparator for Slope A/D conversions. The non-inverting
input terminal of the Slope A/D comparator is connected to the output of an analog MUX through
an RC low-pass filter. The inverting input terminal is connected to the external ramp capacitor.
The output of the comparator is used to cause the capture event to occur. This causes the value
in the ADTMR registers to be loaded into the ADCAP registers. This output will also cause the
ADCIF bit to be set.
A total of 16 channels are internally multiplexed to the single Slope A/D comparator positive input.
Four configuration bits (ADCON0<7:4>) select the channel to be converted.
Four configuration bits (ADCON1<7:4>) are used to control a programmable current source for
generating the ramp voltage to the Slope A/D comparator. This allows compensation for full-scale
input voltage, clock frequency and the external capacitor tolerance variations.
Setting the ADRST bit disconnects the current source from the CDAC pin. Current flow begins
when the ADRST bit is cleared.
The programmable current source output is tied to the CDAC pin. This current source is used to
charge an external capacitor, which generates the ramp voltage for the Slope A/D comparator
(Figure
24-1).
Section 24. Slope A/D
DS31024A-page 24-9
24
Related parts for PIC16F873-04E/SO
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
![PIC16F873](/images/manufacturer_photos/0/4/440/microchip_technology_inc__tmb.jpg)
Part Number:
Description:
Manufacturer:
Microchip Technology Inc.
Datasheet:
![PIC16F873-04/SO](/photos/6/59/65909/150-28-soic_tmb.jpg)
Part Number:
Description:
IC MCU FLASH 4KX14 EE 28SOIC
Manufacturer:
Microchip Technology
Datasheet:
![PIC16F873-04/SP](/photos/6/59/65908/150-28-dip_tmb.jpg)
Part Number:
Description:
IC MCU FLASH 4KX14 EE 28DIP
Manufacturer:
Microchip Technology
Datasheet:
![PIC16F873-20/SO](/photos/6/59/65909/150-28-soic_tmb.jpg)
Part Number:
Description:
IC MCU FLASH 4KX14 EE 28SOIC
Manufacturer:
Microchip Technology
Datasheet:
![PIC16F873-20/SP](/photos/6/59/65908/150-28-dip_tmb.jpg)
Part Number:
Description:
IC MCU FLASH 4KX14 EE 28DIP
Manufacturer:
Microchip Technology
Datasheet:
![PIC16F873-04I/SO](/photos/6/59/65909/150-28-soic_tmb.jpg)
Part Number:
Description:
IC MCU FLASH 4KX14 EE 28SOIC
Manufacturer:
Microchip Technology
Datasheet:
![PIC16F873-20I/SO](/photos/6/59/65909/150-28-soic_tmb.jpg)
Part Number:
Description:
IC MCU FLASH 4KX14 EE 28SOIC
Manufacturer:
Microchip Technology
Datasheet:
![PIC16F873-20I/SP](/photos/6/59/65908/150-28-dip_tmb.jpg)
Part Number:
Description:
IC MCU FLASH 4KX14 EE 28DIP
Manufacturer:
Microchip Technology
Datasheet:
![PIC16F873-04I/SP](/photos/6/59/65908/150-28-dip_tmb.jpg)
Part Number:
Description:
IC MCU FLASH 4KX14 EE 28DIP
Manufacturer:
Microchip Technology
Datasheet:
![PIC16F873-10E/SP](/photos/6/59/65908/150-28-dip_tmb.jpg)
Part Number:
Description:
IC MCU FLASH 4KX14 EE 28DIP
Manufacturer:
Microchip Technology
Datasheet:
![PIC16F873-10E/SO](/photos/6/59/65909/150-28-soic_tmb.jpg)
Part Number:
Description:
IC MCU FLASH 4KX14 EE 28SOIC
Manufacturer:
Microchip Technology
Datasheet:
![PIC16F873-04E/SP](/images/manufacturer_photos/0/4/439/microchip_technology_tmb.jpg)
Part Number:
Description:
IC,MICROCONTROLLER,8-BIT,PIC CPU,CMOS,DIP,28PIN,PLASTIC
Manufacturer:
Microchip Technology
Datasheet:
![TC1014-2.7VCT](/images/manufacturer_photos/0/4/440/microchip_technology_inc__tmb.jpg)
Part Number:
Description:
Manufacturer:
Microchip Technology Inc.
Datasheet: