Electronica

Solo disponible en BuenasTareas
  • Páginas : 101 (25070 palabras )
  • Descarga(s) : 0
  • Publicado : 15 de junio de 2011
Leer documento completo
Vista previa del texto
M

PIC16F84A
Pin Diagrams
PDIP, SOIC
RA2 RA3 RA4/T0CKI MCLR VSS RB0/INT RB1 RB2 RB3
•1

18-pin Enhanced Flash/EEPROM 8-Bit Microcontroller

Devices Included in this Data Sheet:
• PIC16F84A • Extended voltage range device available (PIC16LF84A)

18 17 16 15 14 13 12 11 10

RA1 RA0 OSC1/CLKIN OSC2/CLKOUT VDD RB7 RB6 RB5 RB4

High Performance RISC CPU Features:
• Only35 single word instructions to learn • All instructions single cycle except for program branches which are two-cycle • Operating speed: DC - 20 MHz clock input DC - 200 ns instruction cycle • 1024 words of program memory • 68 bytes of data RAM • 64 bytes of data EEPROM • 14-bit wide instruction words • 8-bit wide data bytes • 15 special function hardware registers • Eight-level deephardware 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

2 3 4 5 6 7 8 9

SSOP
RA2 RA3 RA4/T0CKI MCLR VSS VSS RB0/INT RB1 RB2 RB3
•1

PIC16F84A PIC16F84A

20 19 18 17 16 15 14 13 12 11

RA1 RA0 OSC1/CLKIN OSC2/CLKOUT VDD VDD RB7 RB6 RB5 RB42 3 4 5 6 7 8 9 10

Peripheral Features:
• 13 I/O pins with individual direction control • High current sink/source for direct LED drive - 25 mA sink max. per pin - 25 mA source max. per pin • TMR0: 8-bit timer/counter with 8-bit programmable prescaler

CMOS Enhanced Flash/EERPOM Technology:
• Low-power, high-speed technology • Fully static design • Wide operating voltage range:- Commercial: 2.0V to 5.5V - Industrial: 2.0V to 5.5V • Low power consumption: - < 2 mA typical @ 5V, 4 MHz - 15 µA typical @ 2V, 32 kHz - < 0.5 µA typical standby current @ 2V

Special Microcontroller Features:
• 1000 erase/write cycles Enhanced Flash program memory • 1,000,000 typical erase/write cycles EEPROM data memory • EEPROM Data Retention > 40 years • In-Circuit SerialProgramming (ICSP™) - via two pins • 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

© 1998 Microchip Technology Inc.

Preliminary

DS35007A-page 1

PIC16F84A
Table of Contents
1.0 DeviceOverview ............................................................................................................................................................................ 3 2.0 Memory Organization..................................................................................................................................................................... 5 3.0 I/OPorts....................................................................................................................................................................................... 13 4.0 Timer0 Module ............................................................................................................................................................................. 17 5.0 DataEEPROM Memory............................................................................................................................................................... 19 6.0 Special Features of the CPU ....................................................................................................................................................... 21 7.0 Instruction SetSummary.............................................................................................................................................................. 33 8.0 Development Support .................................................................................................................................................................. 35 9.0 Electrical Characteristics for...
tracking img