DOC PREVIEW
MSU ECE 4522 - CMOS FLASH Microcontrollers

This preview shows page 1-2-3-4-5-6-7-8-9-10-73-74-75-76-77-78-79-80-81-82-83-147-148-149-150-151-152-153-154-155-156 out of 156 pages.

Save
View full document
View full document
Premium Document
Do you want full access? Go Premium and unlock all 156 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 156 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 156 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 156 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 156 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 156 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 156 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 156 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 156 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 156 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 156 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 156 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 156 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 156 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 156 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 156 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 156 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 156 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 156 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 156 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 156 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 156 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 156 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 156 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 156 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 156 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 156 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 156 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 156 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 156 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 156 pages.
Access to all documents
Download any document
Ad free experience
Premium Document
Do you want full access? Go Premium and unlock all 156 pages.
Access to all documents
Download any document
Ad free experience

Unformatted text preview:

PIC16F870 871 28 40 Pin 8 Bit CMOS FLASH Microcontrollers Devices Included in this Data Sheet PIC16F871 PDIP Microcontroller Core Features High performance RISC CPU Only 35 single word instructions to learn All single cycle instructions except for program branches which are two cycle Operating speed DC 20 MHz clock input DC 200 ns instruction cycle 2K x 14 words of FLASH Program Memory 128 x 8 bytes of Data Memory RAM 64 x 8 bytes of EEPROM Data Memory Pinout compatible to the PIC16CXXX 28 and 40pin devices Interrupt capability up to 11 sources Eight level deep hardware stack Direct indirect and relative addressing modes Power on Reset POR Power up Timer PWRT and Oscillator Start up Timer OST Watchdog Timer WDT with its own on chip RC oscillator for reliable operation Programmable code protection Power saving SLEEP mode Selectable oscillator options Low power high speed CMOS FLASH EEPROM technology Fully static design In Circuit Serial Programming ICSP via two pins Single 5V In Circuit Serial Programming capability In Circuit Debugging via two pins Processor read write access to program memory Wide operating voltage range 2 0V to 5 5V High Sink Source Current 25 mA Commercial and Industrial temperature ranges Low power consumption 1 6 mA typical 5V 4 MHz 20 A typical 3V 32 kHz 1 A typical standby current 1999 Microchip Technology Inc MCLR VPP THV RA0 AN0 1 40 2 3 39 38 4 37 RA3 AN3 VREF 5 36 RA4 T0CKI 6 7 35 34 RB2 33 RB0 INT VDD RA1 AN1 RA2 AN2 VREF RA5 AN4 RE0 RD AN5 RE1 WR AN6 RE2 CS AN7 VDD VSS 8 9 10 11 12 13 PIC16F871 PIC16F870 Pin Diagram 32 31 RB7 PGD RB6 PGC RB5 RB4 RB3 PGM RB1 VSS 30 RD7 PSP7 29 28 14 27 RD6 PSP6 RD5 PSP5 RD4 PSP4 RC0 T1OSO T1CKI 15 26 RC7 RX DT RC1 T1OSI 16 17 25 24 RC6 TX CK 18 23 19 20 22 21 RC4 RD3 PSP3 OSC1 CLKIN OSC2 CLKOUT RC2 CCP1 RC3 RD0 PSP0 RD1 PSP1 RC5 RD2 PSP2 Peripheral Features Timer0 8 bit timer counter with 8 bit prescaler Timer1 16 bit timer counter with prescaler can be incremented during sleep via external crystal clock Timer2 8 bit timer counter with 8 bit period register prescaler and postscaler One Capture Compare PWM module Capture is 16 bit max resolution is 12 5 ns Compare is 16 bit max resolution is 200 ns PWM max resolution is 10 bit 10 bit multi channel Analog to Digital converter Universal Synchronous Asynchronous Receiver Transmitter USART SCI with 9 bit address detection Parallel Slave Port PSP 8 bits wide with external RD WR and CS controls 40 44 pin only Brown out detection circuitry for Brown out Reset BOR Preliminary DS30569A page 1 PIC16F870 871 Pin Diagrams 28 27 26 25 24 23 22 21 20 19 18 17 16 15 RB7 PGD RB6 PGC RB5 RB4 RB3 PGM RB2 RB1 RB0 INT VDD VSS RC7 RX DT RC6 TX CK RC5 RC4 6 5 4 3 2 1 44 43 42 41 40 PLCC RA3 AN3 VREF RA2 AN2 VREFRA1 AN1 RA0 AN0 MCLR VPP THV NC RB7 PGD RB6 PGC RB5 RB4 NC 1 2 3 4 5 6 7 8 9 10 11 12 13 14 MCLR VPP THV RA0 AN0 RA1 AN1 RA2 AN2 VREFRA3 AN3 VREF RA4 T0CKI RA5 AN4 VSS OSC1 CLKIN OSC2 CLKOUT RC0 T1OSO T1CKI RC1 T1OSI RC2 CCP1 RC3 PIC16F870 DIP SOIC SSOP 18 19 20 21 22 23 24 25 26 27 282 PIC16F871 39 38 37 36 35 34 33 32 31 30 9 RB3 PGM RB2 RB1 RB0 INT VDD VSS RD7 PSP7 RD6 PSP6 RD5 PSP5 RD4 PSP4 RC7 RX DT RC6 TX CK RC5 RC4 RD3 PSP3 RD2 PSP2 RD1 PSP1 RD0 PSP0 RC3 RC2 CCP1 RC1 T1OSI NC 44 43 42 41 40 39 38 37 36 35 34 TQFP 7 8 9 10 11 12 13 14 15 16 17 RC1 T1OSI RC2 CCP1 RC3 RD0 PSP0 RD1 PSP1 RD2 PSP2 RD3 PSP3 RC4 RC5 RC6 TX CK NC RA4 T0CKI RA5 AN4 RE0 RD AN5 RE1 WR AN6 RE2 CS AN7 VDD VSS OSC1 CLKIN OSC2 CLKOUT RC0 T1OSO T1CK1 NC PIC16F871 33 32 31 30 29 28 27 26 25 24 23 12 13 14 15 16 17 18 19 20 21 22 1 2 3 4 5 6 7 8 9 10 11 NC RC0 T1OSO T1CKI OSC2 CLKOUT OSC1 CLKIN VSS VDD RE2 AN7 CS RE1 AN6 WR RE0 AN5 RD RA5 AN4 RA4 T0CKI NC NC RB4 RB5 RB6 PGC RB7 PGD MCLR VPP THV RA0 AN0 RA1 AN1 RA2 AN2 VREFRA3 AN3 VREF RC7 RX DT RD4 PSP4 RD5 PSP5 RD6 PSP6 RD7 PSP7 VSS VDD RB0 INT RB1 RB2 RB3 PGM DS30569A page 2 Preliminary 1999 Microchip Technology Inc PIC16F870 871 Key Features PICmicro Mid Range Reference Manual DS33023 PIC16F870 PIC16F871 Operating Frequency DC 20 MHz DC 20 MHz Resets and Delays POR BOR PWRT OST POR BOR PWRT OST FLASH Program Memory 14 bit words 2K 2K Data Memory bytes 128 128 EEPROM Data Memory 64 64 Interrupts 10 11 I O Ports Ports A B C Ports A B C D E Timers 3 3 Capture Compare PWM modules 1 1 USART USART PSP 5 input channels 8 input channels 35 Instructions 35 Instructions Serial Communications Parallel Communications 10 bit Analog to Digital Module Instruction Set 1999 Microchip Technology Inc Preliminary DS30569A page 3 PIC16F870 871 Table of Contents 1 0 Device Overview 5 2 0 Memory Organization 11 3 0 I O Ports 27 4 0 Data EEPROM and FLASH Program Memory 39 5 0 Timer0 Module 47 6 0 Timer1 Module 51 7 0 Timer2 Module 55 8 0 Capture Compare PWM Module 57 9 0 Addressable Universal Synchronous Asynchronous Receiver Transmitter USART 63 10 0 Analog to Digital Converter A D Module 79 11 0 Special Features of the CPU 89 12 0 Instruction Set Summary 105 13 0 Development Support 113 14 0 Electrical Characteristics 119 15 0 DC and AC Characteristics Graphs and Tables 135 16 0 Packaging Information 137 Index 145 On Line Support 151 Reader Response 152 Product Identification System 153 To Our Valued Customers Most Current Data Sheet To obtain the most up to date version of this data sheet please register at our Worldwide Web site at http www microchip com You can determine the version of a data sheet by examining its literature number found on the bottom outside corner of any page The last character of the literature number is the version number e g DS30000A is version A of document DS30000 New Customer Notification System Register on our web site www microchip com cn to receive the most current information on our products Errata An errata sheet may exist for current devices describing minor operational differences from the data sheet and recommended workarounds As device documentation issues become known to us we will publish an errata sheet The errata will specify the revision of silicon and revision of document to which it applies To determine if …


View Full Document

MSU ECE 4522 - CMOS FLASH Microcontrollers

Documents in this Course
Theremin

Theremin

34 pages

Review

Review

12 pages

Load more
Download CMOS FLASH Microcontrollers
Our administrator received your request to download this document. We will send you the file to your email shortly.
Loading Unlocking...
Login

Join to view CMOS FLASH Microcontrollers and access 3M+ class-specific study document.

or
We will never post anything without your permission.
Don't have an account?
Sign Up

Join to view CMOS FLASH Microcontrollers 2 2 and access 3M+ class-specific study document.

or

By creating an account you agree to our Privacy Policy and Terms Of Use

Already a member?