PIC16F870-E/SS Microchip Technology, PIC16F870-E/SS Datasheet - Page 48
![IC MCU CMOS 20MHZ 2K FLSH 28SSOP](/photos/6/81/68119/150-28-ssop_sml.jpg)
PIC16F870-E/SS
Manufacturer Part Number
PIC16F870-E/SS
Description
IC MCU CMOS 20MHZ 2K FLSH 28SSOP
Manufacturer
Microchip Technology
Series
PIC® 16Fr
Datasheets
1.PIC16F616T-ISL.pdf
(8 pages)
2.PIC16F688T-ISL.pdf
(688 pages)
3.PIC16F870-ISO.pdf
(172 pages)
4.PIC16F870-ISO.pdf
(6 pages)
Specifications of PIC16F870-E/SS
Core Processor
PIC
Core Size
8-Bit
Speed
20MHz
Connectivity
UART/USART
Peripherals
Brown-out Detect/Reset, POR, PWM, WDT
Number Of I /o
22
Program Memory Size
3.5KB (2K x 14)
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 ~ 125°C
Package / Case
28-SSOP
For Use With
I3-DB16F871 - BOARD DAUGHTER ICEPIC3
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
- PIC16F616T-ISL PDF datasheet
- PIC16F688T-ISL PDF datasheet #2
- PIC16F870-ISO PDF datasheet #3
- PIC16F870-ISO PDF datasheet #4
- Current page: 48 of 688
- Download datasheet (3Mb)
PICmicro MID-RANGE MCU FAMILY
2.8
DS31002A-page 2-18
Design Tips
Question 1:
Answer 1:
1.
2.
3.
4.
Question 2:
Answer 2:
The gain is too high for this oscillator circuit. Refer to subsection
Ceramic Resonators”
and clock mode (wrong mode may be selected). This is especially possible for low frequency
crystals, like the common 32.768 kHz.
Question 3:
Answer 3:
Changing the value of C1 has some affect on the oscillator frequency. If a SERIES resonant crys-
tal is used, it will resonate at a different frequency than a PARALLEL resonant crystal of the same
frequency call-out.
Question 4:
Answer 4:
Other than the obvious software checks that should be done to investigate losing time, it is pos-
sible that the amplitude of the oscillator output is not high enough to reliably trigger the oscillator
input.
Question 5:
Answer 5:
If the frequency of the device does not matter, you can continue to use the device.
If the frequency of the device does matter, you can purchase a new windowed device, or follow
the suggestion in subsection
Executing a SLEEP instruction with no source for wake-up (such as, WDT, MCLR, or an
Interrupt). Verify that the code does not put device to sleep without providing for wake-up.
If it is possible, try waking it up with a low pulse on MCLR. Powering up with MCLR held
low will also give the crystal oscillator more time to start-up, but the Program Counter will
not advance until the MCLR pin is high.
The wrong clock mode is selected for the desired frequency. For a blank device, the
default oscillator is EXTRC. Most parts come with the clock selected in the default RC
mode, which will not start oscillation with a crystal or resonator. Verify that the clock mode
has been programmed correctly.
The proper power-up sequence has not been followed. If a CMOS part is powered through
an I/O pin prior to power-up, bad things can happen (latch up, improper start-up etc.) It is
also possible for brown-out conditions, noisy power lines at start-up, and slow V
times to cause problems. Try powering up the device with nothing connected to the I/O,
and power-up with a known, good, fast-rise, power supply. It is not as much of a problem
as it may sound, but the possibility exists. Refer to the power-up information in the device
data sheet for considerations on brown-out and power-up sequences.
The C1 and C2 capacitors attached to the crystal have not been connected properly or are
not the correct values. Make sure all connections are correct. The device data sheet val-
ues for these components will almost always get the oscillator running, they just might not
be the optimal values for your design.
When looking at the OSC2 pin after power-up with an oscilloscope, there is
no clock. What can cause this?
The PICmicro starts, but runs at a frequency much higher than the resonant
frequency of the crystal.
The design runs fine, but the frequency is slightly off, what can be done to
adjust this?
The board works fine, then suddenly quits, or loses time.
I’m using a device with the internal RC oscillator and I have accidently
erased the calibration value. What can I do?
to aid in the selection of C2 (may need to be higher) Rs (may be needed)
2.5.1 “Clock Out.”
1997 Microchip Technology Inc.
2.3 “Crystal Oscillators /
DD
rise
Related parts for PIC16F870-E/SS
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
![PIC16F870-I/SO](/photos/6/59/65909/150-28-soic_tmb.jpg)
Part Number:
Description:
IC MCU FLASH 2KX14 EE 28SOIC
Manufacturer:
Microchip Technology
Datasheet:
![PIC16F870-I/SP](/photos/6/59/65908/150-28-dip_tmb.jpg)
Part Number:
Description:
IC MCU FLASH 2KX14 EE 28DIP
Manufacturer:
Microchip Technology
Datasheet:
![PIC16F870-I/SS](/photos/6/81/68119/150-28-ssop_tmb.jpg)
Part Number:
Description:
IC MCU FLASH 2KX14 EE 28SSOP
Manufacturer:
Microchip Technology
Datasheet:
![PIC16F870-E/SP](/photos/6/59/65908/150-28-dip_tmb.jpg)
Part Number:
Description:
IC MCU CMOS 20MHZ 2K FLASH 28DIP
Manufacturer:
Microchip Technology
Datasheet:
![PIC16F870-E/SO](/images/manufacturer_photos/0/4/439/microchip_technology_tmb.jpg)
Part Number:
Description:
28 PIN, 3.5KB ENH FLASH, 128 RAM, 22 I/O,
Manufacturer:
Microchip Technology
Datasheet:
![PIC16F87-I/P](/photos/6/76/67657/18-dip_300mil__tmb.jpg)
Part Number:
Description:
IC MCU FLASH 4KX14 EEPROM 18DIP
Manufacturer:
Microchip Technology
Datasheet:
![PIC16F87-I/SO](/photos/6/76/67656/150-18-soic_tmb.jpg)
Part Number:
Description:
IC MCU FLASH 4KX14 EEPROM 18SOIC
Manufacturer:
Microchip Technology
Datasheet:
![PIC16F87-I/SS](/photos/6/58/65895/150-20-ssop_tmb.jpg)
Part Number:
Description:
IC MCU FLASH 4KX14 EEPROM 20SSOP
Manufacturer:
Microchip Technology
Datasheet:
![PIC16F87-I/ML](/photos/6/81/68120/150-28-qfn_tmb.jpg)
Part Number:
Description:
IC MCU FLASH 4KX14 EEPROM 28QFN
Manufacturer:
Microchip Technology
Datasheet:
![PIC16F87-E/SO](/photos/6/76/67656/150-18-soic_tmb.jpg)
Part Number:
Description:
IC MCU FLASH 4KX14 EEPROM 18SOIC
Manufacturer:
Microchip Technology
Datasheet:
![PIC16F87-E/SS](/photos/6/58/65895/150-20-ssop_tmb.jpg)
Part Number:
Description:
IC MCU FLASH 4KX14 EEPROM 20SSOP
Manufacturer:
Microchip Technology
Datasheet:
![PIC16F87-E/ML](/photos/6/81/68120/150-28-qfn_tmb.jpg)
Part Number:
Description:
IC MCU FLASH 4KX14 EEPROM 28QFN
Manufacturer:
Microchip Technology
Datasheet:
![PIC16F87-E/P](/images/manufacturer_photos/0/4/439/microchip_technology_tmb.jpg)
Part Number:
Description:
IC,MICROCONTROLLER,8-BIT,PIC CPU,CMOS,DIP,18PIN,PLASTIC
Manufacturer:
Microchip Technology
Datasheet:
![PIC16F1826-I/SO](/photos/6/76/67656/150-18-soic_tmb.jpg)
Part Number:
Description:
IC, 8BIT MCU, PIC16F, 32MHZ, SOIC-18
Manufacturer:
Microchip Technology
Datasheet:
![PIC16F1826-I/SS](/photos/6/81/68119/150-28-ssop_tmb.jpg)
Part Number:
Description:
IC, 8BIT MCU, PIC16F, 32MHZ, SSOP-20
Manufacturer:
Microchip Technology
Datasheet: