link to page 4 link to page 8 link to page 115 link to page 115 PIC16F8X1.0GENERAL DESCRIPTION Table 1-1 lists the features of the PIC16F8X. A simpli- fied block diagram of the PIC16F8X is shown in The PIC16F8X is a group in the PIC16CXX family of Figure 3-1. low-cost, high-performance, CMOS, fully-static, 8-bit microcontrollers. This group contains the following The PIC16F8X fits perfectly in applications ranging devices: from high speed automotive and appliance motor control to low-power remote sensors, electronic locks, • PIC16F83 security devices and smart cards. The Flash/EEPROM • PIC16F84 technology makes customization of application • PIC16CR83 programs (transmitter codes, motor speeds, receiver • PIC16CR84 frequencies, security codes, etc.) extremely fast and All PIC® microcontrollers employ an advanced RISC convenient. The small footprint packages make this architecture. PIC16F8X devices have enhanced core microcontroller series perfect for all applications with features, eight-level deep stack, and multiple internal space limitations. Low-cost, low-power, high and external interrupt sources. The separate performance, ease-of-use and I/O flexibility make the instruction and data buses of the Harvard architecture PIC16F8X very versatile even in areas where no allow a 14-bit wide instruction word with a separate microcontroller use has been considered before 8-bit wide data bus. The two stage instruction pipeline (e.g., timer functions; serial communication; capture, allows all instructions to execute in a single cycle, compare and PWM functions; and co-processor except for program branches (which require two applications). cycles). A total of 35 instructions (reduced instruction The serial in-system programming feature (via two set) are available. Additionally, a large register set is pins) offers flexibility of customizing the product after used to achieve a very high performance level. complete assembly and testing. This feature can be PIC16F8X microcontrollers typically achieve a 2:1 code used to serialize a product, store calibration data, or compression and up to a 4:1 speed improvement (at 20 program the device with the current firmware before MHz) over other 8-bit microcontrollers in their class. shipping. The PIC16F8X has up to 68 bytes of RAM, 64 bytes of 1.1Family and Upward Compatibility Data EEPROM memory, and 13 I/O pins. A timer/coun- ter is also available. Those users familiar with the PIC16C5X family of microcontrollers will realize that this is an enhanced The PIC16CXX family has special features to reduce version of the PIC16C5X architecture. Please refer to external components, thus reducing cost, enhancing Appendix A for a detailed list of enhancements. Code system reliability and reducing power consumption. written for PIC16C5X devices can be easily ported to There are four oscillator options, of which the single pin PIC16F8X devices (Appendix B). RC oscillator provides a low-cost solution, the LP oscillator minimizes power consumption, XT is a 1.2Development Support standard crystal, and the HS is for High Speed crystals. The SLEEP (power-down) mode offers power saving. The PIC16CXX family is supported by a full-featured The user can wake the chip from sleep through several macro assembler, a software simulator, an in-circuit external and internal interrupts and resets. emulator, a low-cost development programmer and a A highly reliable Watchdog Timer with its own on-chip full-featured programmer. A “C” compiler and fuzzy RC oscillator provides protection against software lock- logic support tools are also available. up. The devices with Flash program memory allow the same device package to be used for prototyping and production. In-circuit reprogrammability allows the code to be updated without the device being removed from the end application. This is useful in the development of many applications where the device may not be easily accessible, but the prototypes may require code updates. This is also useful for remote applications where the code may need to be updated (such as rate information). 1996-2013 Microchip Technology Inc. DS30430D-page 3