PIC16F722A-I/SO — 8-Bit PIC Microcontroller with XLP Technology
1. Component Overview
إن PIC16F722A-I/SO is a 28-pin, 8-bit Flash microcontroller manufactured by Microchip Technology. It belongs to Microchip’s eXtreme Low Power (XLP) PIC16F72X family, featuring nanoWatt technology for ultra-low power consumption. The device offers 3.5 KB (2,048 × 14 words) of Flash program memory, 128 bytes of SRAM, and a wide operating voltage range of 1.8V to 5.5V.
The PIC16F722A uses a mid-range PIC core with only 35 single-cycle instructions (except branches), achieving up to 20 MHz operation (5 MIPS). It integrates rich peripherals including an 11-channel 8-bit ADC, two CCP modules, SPI/I²C/AUSART communication interfaces, a precision internal 16 MHz oscillator, and a built-in mTouch™ capacitive sensing module. The “I” in the part number indicates industrial temperature range (–40°C to +85°C), and “/SO” denotes the 28-lead SOIC package.
2. Key Specifications
| Parameter | Value |
|---|---|
| الشركة المصنعة | Microchip Technology |
| رقم الجزء | PIC16F722A-I/SO |
| Component Type | 8-Bit Flash Microcontroller |
| Core Architecture | PIC Mid-Range (RISC) |
| Instruction Set | 35 instructions (single-cycle except branches) |
| الحد الأقصى لسرعة الساعة القصوى | 20 MHz (5 MIPS) |
| ذاكرة البرنامج | 3.5 KB Flash (2,048 × 14 words) |
| Program Memory Endurance | 1,000 write cycles (typical), >40 years retention |
| RAM | 128 bytes |
| Data EEPROM | 0 bytes (not available) |
| Operating Voltage | 1.8V to 5.5V |
| I/O Pins | 25 (1 input-only pin) |
| ADC | 11-channel, 8-bit resolution |
| Internal Oscillator | 16 MHz / 500 kHz (factory calibrated ±1%) |
| المؤقتات | TMR0 (8-bit), TMR1 (16-bit), TMR2 (8-bit) |
| CCP Modules | 2 (Capture/Compare/PWM, 10-bit PWM) |
| التواصل | 1× SPI, 1× I²C (Slave), 1× AUSART |
| Capacitive Sensing | mTouch™ — up to 8 channels |
| مصادر المقاطعة | 12 |
| Hardware Stack | 8 levels |
| الحزمة | 28-SOIC (7.50 mm width) |
| نوع التركيب | Surface Mount (SMT) |
| درجة حرارة التشغيل | –40°C to +85°C (Industrial) |
| Programming | In-Circuit Serial Programming (ICSP™) |
| Special Features | BOR, POR, PWRT, WDT, Sleep mode |
| XLP Sleep Current | 20 nA (PIC16LF variant) |
| RoHS Compliant | Yes |
3. Pin Configuration & Package
الحزمة: 28-Lead SOIC (7.50 mm width)
| دبوس | الاسم | Functions |
|---|---|---|
| 1 | MCLR/VPP/RE3 | Master Clear / Programming Voltage / Input |
| 2 | RA0/AN0/SS/VCAP | GPIO / ADC Ch0 / SPI Slave Select / Regulator Cap |
| 3 | RA1/AN1 | GPIO / ADC Ch1 |
| 4 | RA2/AN2 | GPIO / ADC Ch2 |
| 5 | RA3/AN3/VREF | GPIO / ADC Ch3 / ADC Voltage Reference |
| 6 | RA4/T0CKI/CPS6 | GPIO / Timer0 Clock / Cap Sense Ch6 |
| 7 | RA5/AN4/SS/VCAP/CPS7 | GPIO / ADC Ch4 / SPI SS / Reg Cap / Cap Sense Ch7 |
| 8 | VSS | أرضي |
| 9 | RA7/OSC1/CLKIN | GPIO / Oscillator Input / External Clock |
| 10 | RA6/OSC2/CLKOUT/VCAP | GPIO / Oscillator Output / Clock Out / Reg Cap |
| 11 | RB0/AN12/CPS0/INT | GPIO / ADC Ch12 / Cap Sense Ch0 / External Interrupt |
| 12 | RB1/AN10/CPS1 | GPIO / ADC Ch10 / Cap Sense Ch1 |
| 13 | RB2/AN8/CPS2 | GPIO / ADC Ch8 / Cap Sense Ch2 |
| 14 | RB3/AN9/CPS3/CCP2 | GPIO / ADC Ch9 / Cap Sense Ch3 / CCP2 |
| 15 | RB4/AN11/CPS4 | GPIO / ADC Ch11 / Cap Sense Ch4 |
| 16 | RB5/AN13/CPS5/T1G | GPIO / ADC Ch13 / Cap Sense Ch5 / Timer1 Gate |
| 17 | RB6/ICSPCLK | GPIO / ICSP Clock |
| 18 | RB7/ICSPDAT | GPIO / ICSP Data |
| 19 | VDD | جهد الإمداد |
| 20 | VSS | أرضي |
| 21 | RC0/T1CKI/T1OSO | GPIO / Timer1 Clock / Timer1 Osc Output |
| 22 | RC1/CCP2/T1OSI | GPIO / CCP2 / Timer1 Osc Input |
| 23 | RC2/CCP1 | GPIO / CCP1 (Capture/Compare/PWM) |
| 24 | RC3/SCK/SCL | GPIO / SPI Clock / I²C Clock |
| 25 | RC4/SDI/SDA | GPIO / SPI Data In / I²C Data |
| 26 | RC5/SDO | GPIO / SPI Data Out |
| 27 | RC6/TX/CK | GPIO / USART TX / USART Clock |
| 28 | RC7/RX/DT | GPIO / USART RX / USART Data |
4. Features & Functional Description
- High-Performance RISC CPU: Only 35 instructions to learn, all single-cycle except branches. 8-level hardware stack with direct, indirect, and relative addressing modes. Processor read access to program memory enables table-look operations.
- Precision Internal Oscillator: Factory-calibrated 16 MHz or 500 kHz internal oscillator (±1% typical). Software-selectable ÷1, ÷2, ÷4, or ÷8 divider provides flexible clock options without external crystal.
- 11-Channel 8-Bit ADC: Supports conversion during Sleep mode. Selectable voltage reference (1.024V / 2.048V / 4.096V) allows optimized resolution for different input ranges. Ideal for sensor interfacing and analog measurements.
- Dual CCP Modules: Each module supports 16-bit Capture (12.5 ns resolution), 16-bit Compare (200 ns resolution), and 10-bit PWM (up to 20 kHz). Suitable for motor control, signal generation, and precise timing.
- mTouch™ Capacitive Sensing: Built-in capacitive sensing oscillator supports up to 8 channels, enabling touch-button and slider interfaces without external components.
- Communication Interfaces: SPI (Master/Slave), I²C (Slave with Address Mask), and AUSART provide versatile connectivity for sensors, displays, and host communication.
- Enhanced Timer1: Dedicated low-power 32 kHz oscillator for real-time clock (RTC) applications. External gate input with toggle and single-shot modes. 600 nA current consumption at 32 kHz (LF variant).
- Low-Power Modes: Sleep mode with 20 nA current (LF variant), Watchdog Timer at 500 nA, enabling ultra-low power designs for battery-operated applications.
- On-Chip 3.2V Regulator: PIC16F722A includes an integrated voltage regulator with VCAP filter capacitor pin, simplifying power supply design for 5V applications.
5. التطبيقات النموذجية
- الإلكترونيات الاستهلاكية: Remote controls, handheld devices, portable instruments, and smart home appliances.
- Capacitive Touch Interfaces: Touch-sensitive panels, keypads, and sliders using the integrated mTouch module.
- Industrial Sensor Nodes: Temperature, pressure, and humidity monitoring with ADC and USART/SPI connectivity.
- Motor Control: Small DC and stepper motor control using dual CCP PWM outputs.
- Battery-Powered IoT Devices: Ultra-low power consumption in Sleep mode enables years of battery life in wireless sensor nodes.
- LED Lighting Control: PWM dimming and color mixing with CCP modules and ADC feedback.
- Automotive Instrumentation: Recommended for automotive design; suitable for dashboard displays, sensor interfaces, and body electronics.
- Medical Devices: Portable diagnostic equipment, patient monitoring, and low-power wearable health sensors.
6. Equivalent & Alternative Parts
| رقم الجزء | الشركة المصنعة | الوصف | Key Differences |
|---|---|---|---|
| PIC16F723A-I/SO | الرقاقة الدقيقة | Same family, larger memory | 7 KB Flash, 192 bytes RAM; pin-compatible |
| PIC16LF722A-I/SO | الرقاقة الدقيقة | XLP low-voltage variant | 1.8V–3.6V operation; lower sleep current |
| PIC16F722A-I/SP | الرقاقة الدقيقة | Same device, SPDIP package | Through-hole SPDIP-28 package |
| PIC16F722A-I/SS | الرقاقة الدقيقة | Same device, SSOP package | Smaller 28-SSOP package (5.30 mm width) |
| PIC16F1825 | الرقاقة الدقيقة | Newer 8-bit PIC, more features | Enhanced mid-range core, more peripherals |
| ATmega328P | Microchip (Atmel) | 8-bit AVR microcontroller | 32 KB Flash, 2 KB RAM, different architecture |
| STM32F030F4P6 | STMicroelectronics | 32-bit ARM Cortex-M0 MCU | 32-bit core, 16 KB Flash, more processing power |
7. Design Recommendations
- Use the internal 16 MHz oscillator to eliminate the need for an external crystal, reducing component count and board space. Connect VCAP capacitor (typically 10 µF) between RA0/VCAP pin and VSS for the on-chip regulator stability.
- For the PIC16F722A (non-LF variant), the on-chip 3.2V regulator can power external low-power peripherals. Use a 10 µF ceramic capacitor on the VCAP pin.
- Place decoupling capacitors (0.1 µF ceramic) close to VDD/VSS pin pairs for noise immunity and stable operation.
- Use ICSP programming header (ICSPCLK on RB6, ICSPDAT on RB7, MCLR on RE3) for development and production programming. A 6-pin ICSP header footprint is recommended on the PCB.
- For capacitive sensing applications, follow Microchip’s mTouch design guidelines: keep sense pads away from noisy signals, use guarded traces, and calibrate for environmental variations.
- When using the ADC, maintain a clean analog ground plane and keep analog signal traces short. Use the selectable voltage reference for optimized resolution in low-voltage sensor applications.
- For reliable operation in noisy environments, enable Brown-out Reset (BOR) and configure the Watchdog Timer to recover from software hangs.
- The PIC16F722A and PIC16F722A-I/SO are recommended for new designs over the older PIC16F722 (without “A”) at reduced cost with identical electrical characteristics.