PIC16F8X - 18-pin Flash/EEPROM 8-Bit Microcontrollers - 30430c

of 124

Please download to get full document.

View again

All materials on our website are shared by users. If you have any questions about copyright issues, please report us to resolve them. We are always happy to assist you.
PDF
124 pages
0 downs
3 views
Share
Description
PIC16F8X 18-pin Flash/EEPROM 8-Bit Microcontrollers Devices Included in this Data Sheet: ã ã ã ã ã PIC16F83 PIC16F84 PIC16CR83 PIC16CR84 Extended voltage range devices available (PIC16LF8X, PIC16LCR8X) Pin Diagrams PDIP, SOIC RA2 RA3 RA4/T0CKI MCLR VSS RB0/INT RB1 RB2 RB3 ã1 18 17 16 15 14 13 12 11 10 RA1 RA0 OSC1/CLKIN OSC2/CLKOUT VDD RB7 RB6 RB5 RB4 2 3 4 5 6 7 8 9 PIC16F8X PIC16CR8X High Performance RISC CPU Features: ã Only 35 single word instructions to learn ã All instructions single
Tags
Transcript
   1998 Microchip Technology Inc.DS30430C-page 1 Devices Included in this Data Sheet: ãPIC16F83ãPIC16F84ãPIC16CR83ãPIC16CR84ãExtended voltage range devices available(PIC16 LF 8X, PIC16 LCR 8X) High Performance RISC CPU Features: ãOnly 35 single word instructions to learnãAll instructions single cycle except for programbranches which are two-cycleãOperating speed:DC - 10 MHz clock inputDC - 400 ns instruction cycleã14-bit wide instructionsã8-bit wide data pathã15 special function hardware registersãEight-level deep hardware stackãDirect, indirect and relative addressing modesãFour interrupt sources:-External RB0/INT pin-TMR0 timer overflow-PORTB<7:4> interrupt on change-Data EEPROM write completeã1000 erase/write cycles Flash program memoryã10,000,000 erase/write cycles EEPROM data mem-oryãEEPROM Data Retention > 40 years Peripheral Features: ã13 I/O pins with individual direction controlãHigh current sink/source for direct LED drive-25 mA sink max. per pin-20 mA source max. per pinãTMR0: 8-bit timer/counter with 8-bitprogrammable prescaler Pin DiagramsSpecial Microcontroller Features: ãIn-Circuit Serial Programming (ICSP™) - via twopins (ROM devices support only Data EEPROMprogramming)ãPower-on Reset (POR)ãPower-up Timer (PWRT)ãOscillator Start-up Timer (OST)ãWatchdog Timer (WDT) with its own on-chip RCoscillator for reliable operationãCode-protectionãPower saving SLEEP modeãSelectable oscillator options CMOS Flash/EEPROM Technology: ãLow-power, high-speed technologyãFully static designãWide operating voltage range:-Commercial: 2.0V to 6.0V-Industrial: 2.0V to 6.0VãLow power consumption:-< 2 mA typical @ 5V, 4 MHz-15 µ A typical @ 2V, 32 kHz-< 1 µ A typical standby current @ 2V DeviceProgramMemory(words)DataRAM(bytes)DataEEPROM(bytes)Max.Freq(MHz) PIC16F83512 Flash366410PIC16F841 K Flash686410PIC16CR83512 ROM366410PIC16CR841 K ROM686410 RA1RA0OSC1/CLKINOSC2/CLKOUTV DD RB7RB6RB5RB4RA2RA3RA4/T0CKIMCLRV SS RB0/INTRB1RB2RB3 ã 123456789181716151413121110 PDIP, SOIC P I   C 1  6 F  8 X P I   C 1  6  C R  8 X  PIC16F8X 18-pin Flash/EEPROM 8-Bit Microcontrollers  PIC16F8X DS30430C-page 2  1998 Microchip Technology Inc. Table of Contents 1.0General Description......................................................................................................................................................................32.0PIC16F8X Device Varieties..........................................................................................................................................................53.0Architectural Overview..................................................................................................................................................................74.0Memory Organization.................................................................................................................................................................115.0I/O Ports......................................................................................................................................................................................216.0Timer0 Module and TMR0 Register............................................................................................................................................277.0Data EEPROM Memory..............................................................................................................................................................338.0Special Features of the CPU......................................................................................................................................................379.0Instruction Set Summary............................................................................................................................................................5310.0Development Support.................................................................................................................................................................6911.0Electrical Characteristics for PIC16F83 and PIC16F84..............................................................................................................7312.0Electrical Characteristics for PIC16CR83 and PIC16CR84........................................................................................................8513.0DC & AC Characteristics Graphs/Tables....................................................................................................................................9714.0Packaging Information..............................................................................................................................................................109Appendix A:Feature Improvements - From PIC16C5X To PIC16F8X..........................................................................................113Appendix B:Code Compatibility - from PIC16C5X to PIC16F8X..................................................................................................113Appendix C: What’s New In This Data Sheet.................................................................................................................................114Appendix D:What’s Changed In This Data Sheet.........................................................................................................................114Appendix E:Conversion Considerations - PIC16C84 to PIC16F83/F84 And PIC16CR83/CR84..................................................115Index .................................................................................................................................................................................................117On-Line Support.................................................................................................................................................................................119Reader Response..............................................................................................................................................................................120PIC16F8X Product Identification System...........................................................................................................................................121Sales and Support..............................................................................................................................................................................121   To Our Valued Customers  We constantly strive to improve the quality of all our products and documentation. We have spent a great deal oftime to ensure that these documents are correct. However, we realize that we may have missed a few things. If youfind any information that is missing or appears in error, please use the reader response form in the back of this datasheet to inform us. We appreciate your assistance in making this a better document.  PIC16F8X  1998 Microchip Technology Inc.DS30430C-page 3 1.0GENERAL DESCRIPTION The PIC16F8X is a group in the PIC16CXX family oflow-cost, high-performance, CMOS, fully-static, 8-bitmicrocontrollers. This group contains the followingdevices: ãPIC16F83ãPIC16F84ãPIC16CR83ãPIC16CR84All PICmicro™ microcontrollers employ an advancedRISC architecture. PIC16F8X devices have enhancedcore features, eight-level deep stack, and multipleinternal and external interrupt sources. The separateinstruction and data buses of the Harvard architectureallow a 14-bit wide instruction word with a separate8-bit wide data bus. The two stage instruction pipelineallows all instructions to execute in a single cycle,except for program branches (which require twocycles). A total of 35 instructions (reduced instructionset) are available. Additionally, a large register set isused to achieve a very high performance level.PIC16F8X microcontrollers typically achieve a 2:1 codecompression and up to a 4:1 speed improvement (at 20MHz) over other 8-bit microcontrollers in their class.The PIC16F8X has up to 68 bytes of RAM, 64 bytes ofData EEPROM memory, and 13 I/O pins. A timer/ counter is also available.The PIC16CXX family has special features to reduceexternal components, thus reducing cost, enhancingsystem reliability and reducing power consumption.There are four oscillator options, of which the single pinRC oscillator provides a low-cost solution, the LPoscillator minimizes power consumption, XT is astandard crystal, and the HS is for High Speed crystals.The SLEEP (power-down) mode offers power saving.The user can wake the chip from sleep through severalexternal and internal interrupts and resets.A highly reliable Watchdog Timer with its own on-chipRC oscillator provides protection against software lock-up.The devices with Flash program memory allow thesame device package to be used for prototyping andproduction. In-circuit reprogrammability allows thecode to be updated without the device being removedfrom the end application. This is useful in thedevelopment of many applications where the devicemay not be easily accessible, but the prototypes mayrequire code updates. This is also useful for remoteapplications where the code may need to be updated(such as rate information).Table1-1lists the features of the PIC16F8X. A simpli-fied block diagram of the PIC16F8X is shown inFigure3-1.The PIC16F8X fits perfectly in applications rangingfrom high speed automotive and appliance motorcontrol to low-power remote sensors, electronic locks,security devices and smart cards. The Flash/EEPROMtechnology makes customization of applicationprograms (transmitter codes, motor speeds, receiverfrequencies, security codes, etc.) extremely fast andconvenient. The small footprint packages make thismicrocontroller series perfect for all applications withspace limitations. Low-cost, low-power, highperformance, ease-of-use and I/O flexibility make thePIC16F8X very versatile even in areas where nomicrocontroller use has been considered before(e.g.,timer functions; serial communication; capture,compare and PWM functions; and co-processorapplications).The serial in-system programming feature (via twopins) offers flexibility of customizing the product aftercomplete assembly and testing. This feature can beused to serialize a product, store calibration data, orprogram the device with the current firmware beforeshipping. 1.1Family and Upward Compatibility Those users familiar with the PIC16C5X family ofmicrocontrollers will realize that this is an enhancedversion of the PIC16C5X architecture. Please refer toAppendixAfor a detailed list of enhancements. Codewritten for PIC16C5X devices can be easily ported toPIC16F8X devices (AppendixB). 1.2Development Support The PIC16CXX family is supported by a full-featuredmacro assembler, a software simulator, an in-circuitemulator, a low-cost development programmer and afull-featured programmer. A “C” compiler and fuzzylogic support tools are also available.  PIC16F8X DS30430C-page 4  1998 Microchip Technology Inc. TABLE 1-1PIC16F8X FAMILY OF DEVICES PIC16F83PIC16CR83PIC16F84PIC16CR84Clock Maximum Frequencyof Operation (MHz)10101010Flash Program Memory 512  —1K— Memory EEPROM Program Memory ————ROM Program Memory —512—1KData Memory (bytes)36366868Data EEPROM (bytes)64646464 Peripherals Timer Module(s)TMR0TMR0TMR0TMR0 Features Interrupt Sources4444I/O Pins13131313Voltage Range (Volts)2.0-6.02.0-6.02.0-6.02.0-6.0Packages18-pin DIP,SOIC18-pin DIP,SOIC18-pin DIP,SOIC18-pin DIP,SOICAll PICmicro™ Family devices have Power-on Reset, selectable Watchdog Timer, selectable code protect and high I/O current capa-bility. All PIC16F8X Family devices use serial programming with clock pin RB6 and data pin RB7.
Related Search
We Need Your Support
Thank you for visiting our website and your interest in our free products and services. We are nonprofit website to share and download documents. To the running of this website, we need your help to support us.

Thanks to everyone for your continued support.

No, Thanks