PIC16F871-I/PT Microchip Technology Inc., PIC16F871-I/PT Datasheet - Page 163

no-image

PIC16F871-I/PT

Manufacturer Part Number
PIC16F871-I/PT
Description
44 PIN, 7 KB FLASH, 128 RAM, 33 I/O
Manufacturer
Microchip Technology Inc.
Datasheet

Specifications of PIC16F871-I/PT

A/d Inputs
8-Channel, 10-Bit
Cpu Speed
5 MIPS
Eeprom Memory
64 Bytes
Input Output
33
Interface
USART
Memory Type
Flash
Number Of Bits
8
Package Type
44-pin TQFP
Programmable Memory
3.5K Bytes
Ram Size
128 Bytes
Speed
20 MHz
Timers
2-8-bit, 1-16-bit
Voltage, Range
2-5.5 V
Lead Free Status / Rohs Status
RoHS Compliant part Electrostatic Device

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
PIC16F871-I/PT
Manufacturer:
Microchip Technology
Quantity:
10 000
INDEX
A
A/D ...................................................................................... 79
Absolute Maximum Ratings .............................................. 117
ADCON0 Register............................................................... 13
ADCON1 Register............................................................... 14
ADRESH Registers ............................................................. 13
ADRESL Register ............................................................... 14
Analog-to-Digital Converter. See A/D.
Application Notes
Assembler
Asynchronous Reception
Asynchronous Reception (9-bit Mode)
B
Banking, Data Memory ....................................................... 11
Baud Rate Generator (BRG)
Block Diagrams
 2003 Microchip Technology Inc.
Acquisition Requirements ........................................... 82
ADCON0 Register....................................................... 79
ADCON1 Register....................................................... 79
ADIF Bit....................................................................... 80
ADRESH Register....................................................... 79
ADRESL Register ....................................................... 79
Analog Port Pins ................................................... 41, 42
Associated Registers and Bits .................................... 85
Calculating Acquisition Time....................................... 82
Configuring Analog Port Pins...................................... 83
Configuring the Interrupt ............................................. 81
Configuring the Module............................................... 81
Conversion Clock........................................................ 83
Conversions ................................................................ 84
Delays ......................................................................... 82
Effects of a RESET ..................................................... 85
GO/DONE Bit.............................................................. 80
Internal Sampling Switch (Rss) Impedance ................ 82
Operation During SLEEP ............................................ 85
Result Registers.......................................................... 84
Source Impedance...................................................... 82
Time Delays ................................................................ 82
AN552 (Implementing Wake-up on Key Stroke) ......... 35
AN556 (Implementing a Table Read) ......................... 24
MPASM Assembler................................................... 111
Associated Registers .................................................. 69
Associated Registers .................................................. 71
Associated Registers .................................................. 63
A/D .............................................................................. 81
Analog Input Model ..................................................... 82
Capture Mode Operation ............................................ 56
Compare Mode Operation .......................................... 57
Interrupt Logic ............................................................. 97
On-Chip RESET Circuit .............................................. 91
PIC16F870.................................................................... 5
PIC16F871.................................................................... 6
PORTC (Peripheral Output Override) ......................... 37
PORTD (In I/O Port Mode).......................................... 38
PORTD and PORTE (Parallel Slave Port) .................. 42
PORTE (In I/O Port Mode).......................................... 39
PWM Mode ................................................................. 58
RA3:RA0 and RA5 Pins .............................................. 33
RA4/T0CKI Pin............................................................ 33
RB3:RB0 Pins ............................................................. 35
RB7:RB4 Pins ............................................................. 35
Timer0/WDT Prescaler ............................................... 45
BOR. See Brown-out Reset.
BRGH Bit ............................................................................ 63
Brown-out Reset (BOR).................................... 87, 91, 92, 93
C
C Compilers
Capture/Compare/PWM (CCP) .......................................... 55
CCP. See Capture/Compare/PWM.
CCP1CON Register............................................................ 13
CCP1M0 Bit ........................................................................ 55
CCP1M1 Bit ........................................................................ 55
CCP1M2 Bit ........................................................................ 55
CCP1M3 Bit ........................................................................ 55
CCP1X Bit .......................................................................... 55
CCP1Y Bit .......................................................................... 55
CCPR1H Register......................................................... 13, 55
CCPR1L Register ......................................................... 13, 55
Code Examples
Code Protected Operation
Code Protection .......................................................... 87, 101
Computed GOTO................................................................ 24
Configuration Bits ............................................................... 87
Configuration Word............................................................. 88
Conversion Considerations............................................... 158
Timer1 ........................................................................ 50
Timer2 ........................................................................ 53
USART Asynchronous Receive.................................. 68
USART Asynchronous Receive (9-bit Mode) ............. 70
USART Transmit ........................................................ 66
Watchdog Timer ......................................................... 99
BOR Status (BOR Bit) ................................................ 23
MPLAB C17.............................................................. 112
MPLAB C18.............................................................. 112
MPLAB C30.............................................................. 112
Associated Registers
Capture Mode............................................................. 56
CCP Timer Resources................................................ 55
Compare
Compare Mode........................................................... 57
PWM Mode................................................................. 58
Special Event Trigger and A/D Conversions .............. 57
Changing Between Capture Prescalers ..................... 56
EEPROM Data Read.................................................. 29
EEPROM Data Write .................................................. 29
FLASH Program Read................................................ 30
FLASH Program Write................................................ 31
Indirect Addressing..................................................... 24
Initializing PORTA ...................................................... 33
Saving STATUS, W and PCLATH Registers
Data EEPROM and FLASH Program Memory ........... 31
Capture, Compare and Timer1........................... 59
PWM and Timer2................................................ 60
CCP1IF............................................................... 56
Prescaler ............................................................ 56
Special Trigger Output of CCP1 ......................... 57
Software Interrupt Mode ..................................... 57
Special Event Trigger ......................................... 57
Duty Cycle .......................................................... 58
Example Frequencies/Resolutions (table).......... 59
PWM Period ....................................................... 58
Setup for PWM Operation .................................. 59
in RAM................................................................ 98
PIC16F870/871
DS30569B-page 161

Related parts for PIC16F871-I/PT