0% found this document useful (0 votes)
79 views2 pages

PIC16F8X: 18-Pin Flash/EEPROM 8-Bit Microcontrollers

Uploaded by

may
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
79 views2 pages

PIC16F8X: 18-Pin Flash/EEPROM 8-Bit Microcontrollers

Uploaded by

may
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

PIC16F8X

18-pin Flash/EEPROM 8-Bit Microcontrollers


Devices Included in this Data Sheet: Pin Diagrams
• PIC16F83 PDIP, SOIC
• PIC16F84
• PIC16CR83 RA2 •1 18 RA1
• PIC16CR84 RA3 2 17 RA0
• Extended voltage range devices available RA4/T0CKI 3 16 OSC1/CLKIN

PIC16CR8X
PIC16F8X
(PIC16LF8X, PIC16LCR8X) MCLR 4 15 OSC2/CLKOUT
VSS 5 14 VDD
High Performance RISC CPU Features: RB0/INT 6 13 RB7
• Only 35 single word instructions to learn RB1 7 12 RB6
• All instructions single cycle except for program RB2 8 11 RB5
branches which are two-cycle RB3 9 10 RB4

• Operating speed: DC - 10 MHz clock input


DC - 400 ns instruction cycle
Program Data Data Max.
Special Microcontroller Features:
Device Memory RAM EEPROM Freq • In-Circuit Serial Programming (ICSP™) - via two
(words) (bytes) (bytes) (MHz) pins (ROM devices support only Data EEPROM
PIC16F83 512 Flash 36 64 10 programming)
PIC16F84 1 K Flash 68 64 10 • Power-on Reset (POR)
PIC16CR83 512 ROM 36 64 10 • Power-up Timer (PWRT)
PIC16CR84 1 K ROM 68 64 10 • Oscillator Start-up Timer (OST)
• 14-bit wide instructions • Watchdog Timer (WDT) with its own on-chip RC
• 8-bit wide data path oscillator for reliable operation
• 15 special function hardware registers • Code-protection
• Eight-level deep hardware stack • Power saving SLEEP mode
• Direct, indirect and relative addressing modes • Selectable oscillator options
• Four interrupt sources: CMOS Flash/EEPROM Technology:
- External RB0/INT pin • Low-power, high-speed technology
- TMR0 timer overflow
• Fully static design
- PORTB<7:4> interrupt on change
- Data EEPROM write complete • Wide operating voltage range:
• 1000 erase/write cycles Flash program memory - Commercial: 2.0V to 6.0V
- Industrial: 2.0V to 6.0V
• 10,000,000 erase/write cycles EEPROM data mem-
ory • Low power consumption:
• EEPROM Data Retention > 40 years - < 2 mA typical @ 5V, 4 MHz
- 15 μA typical @ 2V, 32 kHz
Peripheral Features: - < 1 μA typical standby current @ 2V
• 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-bit
programmable prescaler

© 1998 Microchip Technology Inc. DS30430C-page 1


PIC16F8X
PIC16CXX devices contain an 8-bit ALU and working The W register is an 8-bit working register used for ALU
register. The ALU is a general purpose arithmetic unit. operations. It is not an addressable register.
It performs arithmetic and Boolean functions between Depending on the instruction executed, the ALU may
data in the working register and any register file. affect the values of the Carry (C), Digit Carry (DC), and
The ALU is 8-bits wide and capable of addition, Zero (Z) bits in the STATUS register. The C and DC bits
subtraction, shift and logical operations. Unless operate as a borrow and digit borrow out bit,
otherwise mentioned, arithmetic operations are two’s respectively, in subtraction. See the SUBLW and SUBWF
complement in nature. In two-operand instructions, instructions for examples.
typically one operand is the working register A simplified block diagram for the PIC16F8X is shown
(W register), and the other operand is a file register or in Figure 3-1, its corresponding pin description is
an immediate constant. In single operand instructions, shown in Table 3-1.
the operand is either the W register or a file register.

FIGURE 3-1: PIC16F8X BLOCK DIAGRAM

13 Data Bus 8
Flash/ROM Program Counter EEPROM Data Memory
Program
Memory
PIC16F83/CR83 RAM
512 x 14 File Registers EEPROM
8 Level Stack EEDATA Data Memory
PIC16F84/CR84 PIC16F83/CR83
(13-bit) 36 x 8 64 x 8
1K x 14
PIC16F84/CR84
68 x 8
Program
Bus 14
7 RAM Addr EEADR
Addr Mux
Instruction reg

5 Direct Addr 7 Indirect TMR0


Addr
FSR reg
RA4/T0CKI
STATUS reg
8

MUX
Power-up
Timer I/O Ports
8
Instruction Oscillator
Decode & Start-up Timer
Control ALU
Power-on RA3:RA0
Reset
Timing Watchdog RB7:RB1
Timer W reg
Generation

RB0/INT

OSC2/CLKOUT MCLR VDD, VSS


OSC1/CLKIN

DS30430C-page 8 © 1998 Microchip Technology Inc.

You might also like