PIC16F684-E/SL Microchip Technology, PIC16F684-E/SL Datasheet - Page 184
![IC PIC MCU FLASH 2KX14 14SOIC](/photos/6/59/65933/150-14-soic_sml.jpg)
PIC16F684-E/SL
Manufacturer Part Number
PIC16F684-E/SL
Description
IC PIC MCU FLASH 2KX14 14SOIC
Manufacturer
Microchip Technology
Series
PIC® 16Fr
Datasheets
1.PIC16F616T-ISL.pdf
(8 pages)
2.PIC16F688T-ISL.pdf
(688 pages)
3.PIC16F684-ISL.pdf
(4 pages)
4.PIC16F684-ISL.pdf
(192 pages)
5.PIC16F684-ISL.pdf
(6 pages)
6.PIC16F684-IST.pdf
(164 pages)
Specifications of PIC16F684-E/SL
Program Memory Type
FLASH
Program Memory Size
3.5KB (2K x 14)
Package / Case
14-SOIC (3.9mm Width), 14-SOL
Core Processor
PIC
Core Size
8-Bit
Speed
20MHz
Peripherals
Brown-out Detect/Reset, POR, PWM, WDT
Number Of I /o
12
Eeprom Size
256 x 8
Ram Size
128 x 8
Voltage - Supply (vcc/vdd)
2 V ~ 5.5 V
Data Converters
A/D 8x10b
Oscillator Type
Internal
Operating Temperature
-40°C ~ 125°C
Processor Series
PIC16F
Core
PIC
Data Bus Width
8 bit
Data Ram Size
128 B
Maximum Clock Frequency
20 MHz
Number Of Programmable I/os
12
Number Of Timers
3
Operating Supply Voltage
2 V to 5.5 V
Maximum Operating Temperature
+ 125 C
Mounting Style
SMD/SMT
3rd Party Development Tools
52715-96, 52716-328, 52717-734
Development Tools By Supplier
PG164130, DV164035, DV244005, DV164005, PG164120, ICE2000, DM163014, DM164120-4
Minimum Operating Temperature
- 40 C
On-chip Adc
8-ch x 10-bit
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Connectivity
-
Lead Free Status / Rohs Status
Lead free / RoHS Compliant
PIC16F684
CMCON1 Register .............................................................. 62
Code Examples
Code Protection ................................................................ 113
Comparator ......................................................................... 55
Comparator Module
Comparator Voltage Reference (CV
Comparator Voltage Reference (CV
Comparators
Compare Module. See Enhanced Capture/
CONFIG Register................................................................ 98
Configuration Bits................................................................ 97
CPU Features ..................................................................... 97
Customer Change Notification Service ............................. 187
Customer Notification Service........................................... 187
Customer Support ............................................................. 187
D
Data EEPROM Memory
Data Memory......................................................................... 7
DC and AC Characteristics
DC Characteristics
Development Support ....................................................... 125
Device Overview ................................................................... 5
E
ECCP. See Enhanced Capture/Compare/PWM
ECCPAS Register ............................................................... 93
EEADR Register ................................................................. 75
EECON1 Register ............................................................... 76
EECON2 Register ............................................................... 76
EEDAT Register.................................................................. 75
EEPROM Data Memory
DS41202F-page 182
A/D Conversion ........................................................... 69
Assigning Prescaler to Timer0 .................................... 44
Assigning Prescaler to WDT ....................................... 44
Changing Between Capture Prescalers ...................... 80
Data EEPROM Read .................................................. 77
Data EEPROM Write .................................................. 77
Indirect Addressing ..................................................... 19
Initializing PORTA ....................................................... 31
Initializing PORTC....................................................... 40
Saving Status and W Registers in RAM ................... 109
Ultra Low-Power Wake-Up Initialization...................... 34
Write Verify ................................................................. 77
C2OUT as T1 Gate ..................................................... 62
Configurations ............................................................. 58
Interrupts ..................................................................... 59
Operation .................................................................... 59
Operation During Sleep .............................................. 60
Overview ..................................................................... 55
Response Time ........................................................... 59
Synchronizing COUT w/Timer1 .................................. 62
Associated Registers .................................................. 64
Response Time ........................................................... 59
Effects of a Reset........................................................ 60
Specifications ............................................................ 146
C2OUT as T1 Gate ..................................................... 49
Effects of a Reset........................................................ 60
Specifications ............................................................ 146
Compare/PWM (ECCP)
Associated Registers .................................................. 78
Code Protection .................................................... 75, 78
Graphs and Tables ................................................... 151
Extended and Industrial ............................................ 135
Industrial and Extended ............................................ 131
Avoiding Spurious Write.............................................. 78
REF
REF
)
) ............................ 63
Effects of Reset
Electrical Specifications .................................................... 129
Enhanced Capture/Compare/PWM .................................... 79
Enhanced Capture/Compare/PWM (ECCP)
Errata .................................................................................... 4
F
Fail-Safe Clock Monitor ...................................................... 29
Firmware Instructions ....................................................... 115
Fuses. See Configuration Bits
G
General Purpose Register File ............................................. 8
I
ID Locations...................................................................... 113
In-Circuit Debugger........................................................... 114
In-Circuit Serial Programming (ICSP)............................... 114
Indirect Addressing, INDF and FSR registers..................... 19
Instruction Format............................................................. 115
Instruction Set................................................................... 115
Reading ...................................................................... 77
Write Verify ................................................................. 77
Writing ........................................................................ 77
PWM mode ................................................................. 84
Enhanced PWM Mode................................................ 85
Specifications ........................................................... 145
Timer Resources ........................................................ 79
Fail-Safe Condition Clearing....................................... 29
Fail-Safe Detection ..................................................... 29
Fail-Safe Operation..................................................... 29
Reset or Wake-up from Sleep .................................... 29
ADDLW..................................................................... 117
ADDWF..................................................................... 117
ANDLW..................................................................... 117
ANDWF..................................................................... 117
BCF .......................................................................... 117
BSF........................................................................... 117
BTFSC ...................................................................... 117
BTFSS ...................................................................... 118
CALL......................................................................... 118
CLRF ........................................................................ 118
CLRW ....................................................................... 118
CLRWDT .................................................................. 118
COMF ....................................................................... 118
DECF ........................................................................ 118
DECFSZ ................................................................... 119
GOTO ....................................................................... 119
INCF ......................................................................... 119
INCFSZ..................................................................... 119
IORLW ...................................................................... 119
IORWF...................................................................... 119
Auto-Restart ....................................................... 94
Auto-shutdown.................................................... 93
Direction Change in Full-Bridge Output Mode.... 91
Full-Bridge Application........................................ 89
Full-Bridge Mode ................................................ 89
Half-Bridge Application ....................................... 88
Half-Bridge Application Examples ...................... 95
Half-Bridge Mode................................................ 88
Output Relationships (Active-High and
Output Relationships Diagram............................ 87
Programmable Dead-Band Delay....................... 95
Shoot-through Current ........................................ 95
Start-up Considerations ...................................... 92
Active-Low)................................................ 86
© 2007 Microchip Technology Inc.