Features: • 13 I/O pins with individual direction control
• High current sink/source for direct LED drive
• Analog comparator module with:
- Two analog comparators
- Programmable on-chip voltage reference (VREF) module
- Programmable input multiplexing from device inputs and internal voltage reference
- Comparator outputs can be output signals
• Timer0: 8-bit timer/counter with 8-bit programmable prescaler
• In-Circuit Serial Programming (ICSP™) (via two pins)
• Power-on Reset (POR)
• Power-up Timer (PWRT) and Oscillator Start-up Timer (OST)
• Brown-out Reset
• Watchdog Timer (WDT) with its own on-chip RC oscillator for reliable operation
• 1,000,000 erase/write cycle EEPROM data memory
• EEPROM data retention > 40 years
• Programmable code protection
• Power saving SLEEP mode
• Selectable oscillator options
• Four user programmable ID locationsPinoutSpecificationsAmbient Temperature under bias ................................................................................ -40° to +125°C
Storage Temperature................................................................................................... -65° to +150°C
Voltage on any pin with respect to VSS (except VDD and MCLR................................... -0.6V to VDD +0.6V
Voltage on VDD with respect to VSS ............................................................................. 0 to +7.5V
Voltage on MCLR with respect to VSS (Note 2)...............................................................0 to +14V
Total power Dissipation (Note 1) ...................................................................................1.0W
Maximum Current out of VSS pin.....................................................................................300 mA
Maximum Current into VDD pin .......................................................................................250 mA
Input Clamp Current, IIK (VI <0 or VI> VDD) .................................................................±20 mA
Output Clamp Current, IOK (VO <0 or VO>VDD) ............................................................±20 mA
Maximum Output Current sunk by any I/O pin ................................................................25 mA
Maximum Output Current sourced by any I/O pin ...........................................................25 mA
Maximum Current sunk by PORTA and PORTB .................................................................200 mA
Maximum Current sourced by PORTA and PORTB.............................................................200 mADescriptionThe PIC16CE62X are 18 and 20 Pin EPROM-based members of the versatile PICmicro™ family of low-cost, high-performance, CMOS, fully-static, 8-bit
microcontrollers with EEPROM data memory.
All PICmicro™ microcontrollers employ an advanced RISC architecture. The PIC16CE62X have enhanced core features, eight-level deep stack, and multiple internal and external interrupt sources. The separate instruction and data buses of the Harvard architecture allow a 14-bit wide instruction word with the separate 8-bit wide data. The two-stage instruction pipeline allows all instructions to execute in a single-cycle,except for program branches (which require two cycles). A total of 35 instructions (reduced instruction set) are available. Additionally, a large register set gives some of the architectural innovations used to achieve a very high performance.
PIC16CE62X microcontrollers typically achieve a 2:1 code compression and a 4:1 speed improvement over other 8-bit microcontrollers in their class.
The PIC16CE62X have 96 bytes of RAM. The PIC16CE625 has 128 bytes of RAM. Each microcontroller contains a 128x8 EEPROM memory
array for storing non-volatile information such as calibration data or security codes. This memory has an endurance of 1,000,000 erase/write cycles and a retention of 40 plus years.
Each device has 13 I/O pins and an 8-bit timer/counter with an 8-bit programmable prescaler. In addition, the PIC16CE62X adds two analog comparators with a programmable on-chip voltage reference module. The comparator module is ideally suited for applications requiring a low-cost analog interface (e.g., battery chargers, threshold detectors, white goods controllers, etc).
PIC16CE62X devices have special features to reduce external components, thus reducing system cost, enhancing system reliability and reducing power consumption. There are four oscillator options, of which the single pin RC oscillator provides a low-cost solution, the LP oscillator minimizes power consumption, XT is a standard crystal, and the HS is for High Speed crystals. The SLEEP (power-down) mode offers power savings. The user can wake up the chip from SLEEP through several external and internal interrupts and reset.
A highly reliable Watchdog Timer with PIC16CE62X's own on-chip RC oscillator provides protection against software lock- up.
A UV-erasable CERDIP-packaged version of PIC16CE62X is ideal for code development while the cost-effective One-Time Programmable (OTP) version is suitable for production in any volume.
Table 1-1 shows the features of the PIC16CE62X mid-range microcontroller families.
A simplified block diagram of the PIC16CE62X is shown in Figure 3-1.
The PIC16CE62X series fit perfectly in applications ranging from multi-pocket battery chargers to low-power remote sensors. The EPROM technology makes customization of application programs (detection levels, pulse generation, timers, etc.) extremely fast and convenient. The small footprint packages make this microcontroller series perfect for all applications with space limitations. Low-cost, low-power, high-performance, ease of use and I/O flexibility make the PIC16CE62X very versatile.