PIC16F870-I/SS Microchip Technology, PIC16F870-I/SS Datasheet - Page 206
PIC16F870-I/SS
Manufacturer Part Number
PIC16F870-I/SS
Description
IC MCU FLASH 2KX14 EE 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-I/SS
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
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
USART
Maximum Clock Frequency
20 MHz
Number Of Programmable I/os
22
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, DV164120
Minimum Operating Temperature
- 40 C
On-chip Adc
28 bit
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
For Use With
I3-DB16F871 - BOARD DAUGHTER ICEPIC3AC164307 - 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
Company:
Part Number:
PIC16F870-I/SS
Manufacturer:
EPCOS
Quantity:
1 000
Part Number:
PIC16F870-I/SS
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
- PIC16F616T-ISL PDF datasheet
- PIC16F688T-ISL PDF datasheet #2
- PIC16F870-ISO PDF datasheet #3
- PIC16F870-ISO PDF datasheet #4
- Current page: 206 of 688
- Download datasheet (3Mb)
PICmicro MID-RANGE MCU FAMILY
14.3
14.3.1
DS31014A-page 14-4
CCP Pin Configuration
Capture Mode
In Capture mode, CCPRxH:CCPRxL captures the 16-bit value of the TMR1 register when an
event occurs on pin CCPx. An event is defined as:
• Every falling edge
• Every rising edge
• Every 4th rising edge
• Every 16th rising edge
An event is selected by control bits CCPxM3:CCPxM0 (CCPxCON<3:0>). When a capture is
made, the interrupt request flag bit, CCPxIF, is set. The CCPxIF bit must be cleared in software.
If another capture occurs before the value in register CCPRx is read, the previous captured value
will be lost.
As can be seen in
Timer1 can also be used as the timebase for other operations. The time between two captures
can easily be computed as the difference between the value of the second capture that of the
first capture. When Timer1 overflows, the TMR1IF bit will be set and if enabled an interrupt will
occur, allowing the time base to be extended to greater than 16-bits.
In Capture mode, the CCPx pin should be configured as an input by setting its corresponding
TRIS bit.
Figure 14-1: Capture Mode Operation Block Diagram
The prescaler can be used to get a very fine average resolution on a constant input frequency.
For example, if we have a stable input frequency and we set the prescaler to 1:16, then the total
error for those 16 periods is 1 T
is 12.5 ns. This technique is only valid where the input frequency is “stable” over the 16 samples.
Without using the prescaler (1:1), each sample would have a resolution of T
Note:
Note:
Timer1 must be running in timer mode or synchronized counter mode for the CCP
module to use the capture feature. In asynchronous counter mode, the capture
operation may not work.
If the CCPx pin is configured as an output, a write to the port can cause a capture
condition.
CCPx Pin
Figure
14-1, a capture does not reset the 16-bit TMR1 register. This is so
edge detect
Q’s
Prescaler
CY
1, 4, 16
and
. This gives an effective resolution of T
CCPxCON<3:0>
Set flag bit CCPxIF
Capture
Enable
CCPRxH
TMR1H
1997 Microchip Technology Inc.
CCPRxL
TMR1L
CY
/16, which at 20 MHz
CY
.
Related parts for PIC16F870-I/SS
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
Part Number:
Description:
IC MCU FLASH 2KX14 EE 28SOIC
Manufacturer:
Microchip Technology
Datasheet:
Part Number:
Description:
IC MCU FLASH 2KX14 EE 28DIP
Manufacturer:
Microchip Technology
Datasheet:
Part Number:
Description:
IC MCU CMOS 20MHZ 2K FLASH 28DIP
Manufacturer:
Microchip Technology
Datasheet:
Part Number:
Description:
IC MCU CMOS 20MHZ 2K FLSH 28SSOP
Manufacturer:
Microchip Technology
Datasheet:
Part Number:
Description:
28 PIN, 3.5KB ENH FLASH, 128 RAM, 22 I/O,
Manufacturer:
Microchip Technology
Datasheet:
Part Number:
Description:
IC MCU FLASH 4KX14 EEPROM 18DIP
Manufacturer:
Microchip Technology
Datasheet:
Part Number:
Description:
IC MCU FLASH 4KX14 EEPROM 18SOIC
Manufacturer:
Microchip Technology
Datasheet:
Part Number:
Description:
IC MCU FLASH 4KX14 EEPROM 20SSOP
Manufacturer:
Microchip Technology
Datasheet:
Part Number:
Description:
IC MCU FLASH 4KX14 EEPROM 28QFN
Manufacturer:
Microchip Technology
Datasheet:
Part Number:
Description:
IC MCU FLASH 4KX14 EEPROM 18SOIC
Manufacturer:
Microchip Technology
Datasheet:
Part Number:
Description:
IC MCU FLASH 4KX14 EEPROM 20SSOP
Manufacturer:
Microchip Technology
Datasheet:
Part Number:
Description:
IC MCU FLASH 4KX14 EEPROM 28QFN
Manufacturer:
Microchip Technology
Datasheet:
Part Number:
Description:
IC,MICROCONTROLLER,8-BIT,PIC CPU,CMOS,DIP,18PIN,PLASTIC
Manufacturer:
Microchip Technology
Datasheet:
Part Number:
Description:
IC, 8BIT MCU, PIC16F, 32MHZ, SOIC-18
Manufacturer:
Microchip Technology
Datasheet:
Part Number:
Description:
IC, 8BIT MCU, PIC16F, 32MHZ, SSOP-20
Manufacturer:
Microchip Technology
Datasheet: