PIC16F684-E/SL Microchip Technology, PIC16F684-E/SL Datasheet - Page 186
![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
Programming, Device Instructions .................................... 115
PWM Mode. See Enhanced Capture/Compare/PWM ........ 85
PWM1CON Register ........................................................... 96
R
Reader Response ............................................................. 188
Read-Modify-Write Operations.......................................... 115
Registers
Reset................................................................................... 99
Revision History ................................................................ 179
S
Shoot-through Current ........................................................ 95
Sleep
Software Simulator (MPLAB SIM)..................................... 126
Special Event Trigger.......................................................... 68
Special Function Registers ................................................... 8
STATUS Register................................................................ 13
T
T1CON Register.................................................................. 50
T2CON Register.................................................................. 54
DS41202F-page 184
ADCON0 (ADC Control 0) .......................................... 70
ADCON1 (ADC Control 1) .......................................... 70
ADRESH (ADC Result High) with ADFM = 0)............. 71
ADRESH (ADC Result High) with ADFM = 1)............. 71
ADRESL (ADC Result Low) with ADFM = 0) .............. 71
ADRESL (ADC Result Low) with ADFM = 1) .............. 71
ANSEL (Analog Select)............................................... 32
CCP1CON (Enhanced CCP1 Control)........................ 79
CMCON0 (Comparator Control 0) .............................. 61
CMCON1 (Comparator Control 1) .............................. 62
CONFIG (Configuration Word).................................... 98
Data Memory Map ........................................................ 8
ECCPAS (Enhanced CCP Auto-shutdown Control) ... 93
EEADR (EEPROM Address) ...................................... 75
EECON1 (EEPROM Control 1)................................... 76
EECON2 (EEPROM Control 2)................................... 76
EEDAT (EEPROM Data) ............................................ 75
INTCON (Interrupt Control) ......................................... 15
IOCA (Interrupt-on-Change PORTA) .......................... 33
OPTION_REG (OPTION) ..................................... 14, 45
OSCCON (Oscillator Control) ..................................... 20
OSCTUNE (Oscillator Tuning) .................................... 24
PCON (Power Control Register) ................................. 18
PCON (Power Control) ............................................. 102
PIE1 (Peripheral Interrupt Enable 1) ........................... 16
PIR1 (Peripheral Interrupt Register 1) ........................ 17
PORTA........................................................................ 31
PORTC ....................................................................... 40
PWM1CON (Enhanced PWM Control) ....................... 96
Reset Values............................................................. 104
Reset Values (Special Registers) ............................. 105
Special Function Registers ........................................... 8
Special Register Summary ......................................... 11
STATUS ...................................................................... 13
T1CON ........................................................................ 50
T2CON ........................................................................ 54
TRISA (Tri-State PORTA) ........................................... 31
TRISC (Tri-State PORTC) .......................................... 40
VRCON (Voltage Reference Control) ......................... 63
WDTCON (Watchdog Timer Control)........................ 111
WPUA (Weak Pull-Up PORTA) .................................. 33
Power-Down Mode ................................................... 112
Wake-up.................................................................... 112
Wake-up Using Interrupts ......................................... 112
Thermal Considerations.................................................... 137
Time-out Sequence .......................................................... 102
Timer0................................................................................. 43
Timer1................................................................................. 47
Timer2
Timers
Timing Diagrams
Timing Parameter Symbology .......................................... 138
TRISA Register................................................................... 31
TRISC Register................................................................... 40
Two-Speed Clock Start-up Mode........................................ 27
Associated Registers .................................................. 45
External Clock............................................................. 44
Interrupt ...................................................................... 45
Operation .............................................................. 43, 47
Specifications ........................................................... 144
T0CKI ......................................................................... 44
Associated registers ................................................... 51
Asynchronous Counter Mode ..................................... 48
Interrupt ...................................................................... 49
Modes of Operation .................................................... 47
Operation During Sleep .............................................. 49
Oscillator..................................................................... 48
Prescaler .................................................................... 48
Specifications ........................................................... 144
Timer1 Gate
TMR1H Register ......................................................... 47
TMR1L Register.......................................................... 47
Associated registers ................................................... 54
Timer1
Timer2
A/D Conversion......................................................... 149
A/D Conversion (Sleep Mode) .................................. 149
Brown-out Reset (BOR)............................................ 142
Brown-out Reset Situations ...................................... 101
CLKOUT and I/O ...................................................... 141
Clock Timing ............................................................. 139
Comparator Output ..................................................... 55
Enhanced Capture/Compare/PWM (ECCP)............. 145
Fail-Safe Clock Monitor (FSCM)................................. 30
Full-Bridge PWM Output............................................. 90
Half-Bridge PWM Output ...................................... 88, 95
INT Pin Interrupt ....................................................... 108
Internal Oscillator Switch Timing ................................ 26
PWM Auto-shutdown
PWM Direction Change .............................................. 91
PWM Direction Change at Near 100% Duty Cycle..... 92
PWM Output (Active-High) ......................................... 86
PWM Output (Active-Low) .......................................... 87
Reset, WDT, OST and Power-up Timer ................... 142
Time-out Sequence
Timer0 and Timer1 External Clock ........................... 144
Two Speed Start-up.................................................... 28
Wake-up from Interrupt............................................. 113
Reading and Writing ........................................... 48
Inverting Gate ..................................................... 49
Selecting Source .......................................... 49, 62
Synchronizing COUT w/Timer1 .......................... 62
T1CON ............................................................... 50
T2CON ............................................................... 54
Auto-restart Enabled........................................... 94
Firmware Restart ................................................ 94
Case 1 .............................................................. 103
Case 2 .............................................................. 103
Case 3 .............................................................. 103
© 2007 Microchip Technology Inc.