PIC16x84
Encyclopedia
The PIC16C84, PIC16F84 and PIC16F84A are microcontroller
Microcontroller
A microcontroller is a small computer on a single integrated circuit containing a processor core, memory, and programmable input/output peripherals. Program memory in the form of NOR flash or OTP ROM is also often included on chip, as well as a typically small amount of RAM...

s in the PIC
PIC microcontroller
PIC is a family of Harvard architecture microcontrollers made by Microchip Technology, derived from the PIC1650 originally developed by General Instrument's Microelectronics Division...

 family of controllers, produced by Microchip Technology
Microchip Technology
Microchip Technology is an American manufacturer of microcontroller, memory and analog semiconductors. Its products include microcontrollers , Serial EEPROM devices, Serial SRAM devices, KEELOQ devices, radio frequency devices, thermal, power and battery management analog devices, as well as...

.

Description

The PIC16x84 is a microcontroller in the PIC family of controllers produced by Microchip Technology.

The PIC16x84 features 1 8bit timer, and 13 I/O pins.

The PIC16x84 became popular in many hobbyist applications because it uses a serial programming algorithm that lends itself to very simple programmers. Additionally, it uses EEPROM memory, so it's easy to erase and requires no special tools to do so. It also has a 64 byte EEPROM for storage of user data.

The PIC16x84 was easily tweaked to allow crackers to read its protected contents, simple disassemblers could then produce the source assembly files. Microchip corrected this by introducing the PIC16F84 (and later the PIC16F84A) and mothballing the PIC16C84.

F-version

The PIC16F84/PIC16F84A is an improved version of the PIC16C84, and almost completely compatible, with better program security and using flash memory
Flash memory
Flash memory is a non-volatile computer storage chip that can be electrically erased and reprogrammed. It was developed from EEPROM and must be erased in fairly large blocks before these can be rewritten with new data...

 instead of EEPROM
EEPROM
EEPROM stands for Electrically Erasable Programmable Read-Only Memory and is a type of non-volatile memory used in computers and other electronic devices to store small amounts of data that must be saved when power is removed, e.g., calibration...

 memory for program memory. The PIC16F84/PIC16F84A has 68 bytes of RAM whilst the PIC16C84 has 36 bytes.

Since the two chips are so similar they are often referred to by the term PIC16x84 (x is used as a wildcard
Wildcard character
-Telecommunication:In telecommunications, a wildcard character is a character that may be substituted for any of a defined subset of all possible characters....

 when referring to chips).

History

The PIC16C84 was introduced in 1993 and the first PIC microcontroller to feature a serial programming algorithm and EEPROM memory, both of which lend themselves to hobby use: only a simple and cheap programmer is required to program, erase and reprogram the chip. As PIC16C84 supplies became limited due to it being discontinued, the PIC16F84 became popular as it is an almost drop in replacement. New programming software was needed as the programming algorithm is different but the programming hardware required was the same.

Even later (1998) Microchip Technology introduced the improved PIC16F84A which allowed for faster clock speeds (up to 20 MHz), faster programming, and decreased the current draw of the chip.

The PIC16x84 microcontroller is a member of Microchip's 14-bit series (the instruction word size is 14 bits for all instructions), making the '84 a good development prototype for other similar but cheaper one-time-programmable
Programmable read-only memory
A programmable read-only memory or field programmable read-only memory or one-time programmable non-volatile memory is a form of digital memory where the setting of each bit is locked by a fuse or antifuse. Such PROMs are used to store programs permanently...

 14-bit devices.

Recent pin-compatible variants

Microchip's product line has gone through many revisions since the 16x84 and more powerful, flexible, cheaper pin-compatible PICs have been developed.

Existing PIC 16x84 code may require some modifications for these variants, namely making sure pins with multiple functions have been set up properly.
  • PIC 16F84A - 1K Program Memory, 68 bytes Data Memory, 64 bytes EEPROM, 1 timer (listed as a comparison)

  • PIC 16F628A - 2K Program Memory, 224 bytes Data Memory, 128 bytes EEPROM, 3 timers, hardware PWM, Onboard 4 MHz/37 kHz RC oscillator.
  • PIC 16F648A - Same as 16F628A with 4K Program Memory.
  • PIC 16F88 - Nanowatt Technology variant, 4K Program Memory, 368 bytes Data Memory, 256 bytes EEPROM, 3 timers, hardware PWM, on-board 8 MHz/37 kHz Precision Oscillator, 7-input 10-bit ADC, synchronous serial port supporting SPI
    Serial Peripheral Interface Bus
    The Serial Peripheral Interface Bus or SPI bus is a synchronous serial data link standard named by Motorola that operates in full duplex mode. Devices communicate in master/slave mode where the master device initiates the data frame. Multiple slave devices are allowed with individual slave select ...

     and I2C.
  • PIC 16F1827 - Nanowatt XLP Technology variant, 4K Program Memory, 368 Bytes Data Memory, 256 Bytes EEPROM, 5 timers, Hardware PWM, Onboard 32 Mhz/37Khz Precision Oscillator, 12-input 10-bit ADC, 4 * PLL.


This is an 8-bit enhanced Mid Range core with 14 additional instructions and optimizations for the C Programming Language
C (programming language)
C is a general-purpose computer programming language developed between 1969 and 1973 by Dennis Ritchie at the Bell Telephone Laboratories for use with the Unix operating system....

.

External links

The source of this article is wikipedia, the free encyclopedia.  The text of this article is licensed under the GFDL.
 
x
OK