Electronica

Solo disponible en BuenasTareas
  • Páginas : 132 (32815 palabras )
  • Descarga(s) : 0
  • Publicado : 2 de diciembre de 2010
Leer documento completo
Vista previa del texto
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

PIC16F8XPIC16CR8X

High Performance RISC CPU Features:
• Only 35 single word instructions to learn • All instructions single cycle except for program branches which are two-cycle • Operating speed: DC - 10 MHz clock input DC - 400 ns instruction cycle
Device PIC16F83 PIC16F84 Program Memory (words) 512 Flash 1 K Flash Data Data RAM EEPROM (bytes) (bytes) 36 68 36 68 64 64 64 64 Max. Freq (MHz) 10 1010 10

Special Microcontroller Features:
• In-Circuit Serial Programming (ICSP™) - via two pins (ROM devices support only Data EEPROM programming) • Power-on Reset (POR) • Power-up Timer (PWRT) • Oscillator Start-up Timer (OST) • Watchdog Timer (WDT) with its own on-chip RC oscillator for reliable operation • Code-protection • Power saving SLEEP mode • Selectable oscillator options

PIC16CR83512 ROM PIC16CR84 1 K ROM

• • • • • •

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 interrupt on change - Data EEPROM write complete • 1000 erase/write cycles Flash program memory • 10,000,000erase/write cycles EEPROM data memory • EEPROM Data Retention > 40 years

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

Peripheral Features:
• 13 I/Opins 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-bit programmable prescaler

© 1998 Microchip Technology Inc.

DS30430C-page 1

PIC16F8X
Table of Contents
1.0 General Description...................................................................................................................................................................... 3 2.0 PIC16F8X Device Varieties .......................................................................................................................................................... 5 3.0 ArchitecturalOverview.................................................................................................................................................................. 7 4.0 Memory Organization ................................................................................................................................................................. 11 5.0 I/OPorts...................................................................................................................................................................................... 21 6.0 Timer0 Module and TMR0 Register............................................................................................................................................ 27 7.0 Data EEPROMMemory.............................................................................................................................................................. 33 8.0 Special Features of the CPU ...................................................................................................................................................... 37 9.0 Instruction Set Summary ............................................................................................................................................................ 53 10.0...
tracking img