PIC16F684-E/P Microchip Technology, PIC16F684-E/P Datasheet - Page 183

IC PIC MCU FLASH 2KX14 14DIP

PIC16F684-E/P

Manufacturer Part Number
PIC16F684-E/P
Description
IC PIC MCU FLASH 2KX14 14DIP
Manufacturer
Microchip Technology
Series
PIC® 16Fr

Specifications of PIC16F684-E/P

Program Memory Type
FLASH
Program Memory Size
3.5KB (2K x 14)
Package / Case
14-DIP (0.300", 7.62mm)
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
Through Hole
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
For Use With
DM163029 - BOARD PICDEM FOR MECHATRONICSACICE0207 - MPLABICE 14P 300 MIL ADAPTER
Connectivity
-
Lead Free Status / Rohs Status
Lead free / RoHS Compliant
INDEX
A
A/D
Absolute Maximum Ratings .............................................. 129
AC Characteristics
ADC .................................................................................... 65
ADCON0 Register............................................................... 70
ADCON1 Register............................................................... 70
ADRESH Register (ADFM = 0) ........................................... 71
ADRESH Register (ADFM = 1) ........................................... 71
ADRESL Register (ADFM = 0)............................................ 71
ADRESL Register (ADFM = 1)............................................ 71
Analog Input Connection Considerations............................ 57
Analog-to-Digital Converter. See ADC
ANSEL Register .................................................................. 32
Assembler
B
Block Diagrams
© 2007 Microchip Technology Inc.
Specifications.................................................... 147, 148
Industrial and Extended ............................................ 139
Load Conditions ........................................................ 138
Acquisition Requirements ........................................... 72
Associated registers.................................................... 74
Block Diagram............................................................. 65
Calculating Acquisition Time....................................... 72
Channel Selection....................................................... 66
Configuration............................................................... 66
Configuring Interrupt ................................................... 68
Conversion Clock........................................................ 66
Conversion Procedure ................................................ 68
Internal Sampling Switch (R
Interrupts..................................................................... 67
Operation .................................................................... 68
Operation During Sleep .............................................. 68
Port Configuration ....................................................... 66
Reference Voltage (V
Result Formatting........................................................ 67
Source Impedance...................................................... 72
Special Event Trigger.................................................. 68
Starting an A/D Conversion ........................................ 67
MPASM Assembler................................................... 126
(CCP) Capture Mode Operation ................................. 80
ADC ............................................................................ 65
ADC Transfer Function ............................................... 73
Analog Input Model ............................................... 57, 73
CCP PWM................................................................... 82
Clock Source............................................................... 19
Comparator 1 .............................................................. 56
Comparator 2 .............................................................. 56
Comparator Modes ..................................................... 58
Compare ..................................................................... 81
Crystal Operation ........................................................ 22
External RC Mode....................................................... 23
Fail-Safe Clock Monitor (FSCM) ................................. 29
In-Circuit Serial Programming Connections.............. 114
Interrupt Logic ........................................................... 107
MCLR Circuit............................................................. 100
On-Chip Reset Circuit ................................................. 99
PIC16F684.................................................................... 5
PWM (Enhanced)........................................................ 85
RA0 Pins ..................................................................... 35
RA1 Pins ..................................................................... 36
RA2 Pin....................................................................... 36
RA3 Pin....................................................................... 37
REF
)........................................... 66
SS
) Impedance................ 72
Brown-out Reset (BOR).................................................... 101
C
C Compilers
Calibration Bits.................................................................... 99
Capture Module. See Enhanced Capture/
Capture/Compare/PWM (CCP)
CCP1CON (Enhanced) Register ........................................ 79
Clock Sources
Clock Switching .................................................................. 27
CMCON0 Register.............................................................. 61
RA4 Pin ...................................................................... 37
RA5 Pin ...................................................................... 38
RC0 and RC1 Pins ..................................................... 41
RC2 and RC3 Pins ..................................................... 41
RC4 Pin ...................................................................... 42
RC5 Pin ...................................................................... 42
Resonator Operation .................................................. 22
Timer1 ........................................................................ 47
Timer2 ........................................................................ 53
TMR0/WDT Prescaler ................................................ 43
Watchdog Timer (WDT)............................................ 110
Associated ................................................................ 102
Calibration ................................................................ 101
Specifications ........................................................... 143
Timing and Characteristics ....................................... 142
MPLAB C18.............................................................. 126
MPLAB C30.............................................................. 126
Compare/PWM (ECCP)
Associated registers w/ Capture/Compare/PWM ....... 96
Capture Mode............................................................. 80
CCP1 Pin Configuration ............................................. 80
Compare Mode........................................................... 81
Prescaler .................................................................... 80
PWM Mode................................................................. 82
PWM Period ............................................................... 83
Setup for PWM Operation .......................................... 84
External Modes........................................................... 21
Internal Modes............................................................ 23
CCP1 Pin Configuration ..................................... 81
Software Interrupt Mode ............................... 80, 81
Special Event Trigger ......................................... 81
Timer1 Mode Selection................................. 80, 81
Duty Cycle .......................................................... 83
Effects of Reset .................................................. 84
Example PWM Frequencies and
Example PWM Frequencies and
Operation in Sleep Mode.................................... 84
Setup for Operation ............................................ 84
System Clock Frequency Changes .................... 84
EC ...................................................................... 21
HS ...................................................................... 22
LP ....................................................................... 22
OST .................................................................... 21
RC ...................................................................... 23
XT ....................................................................... 22
Frequency Selection........................................... 25
HFINTOSC ......................................................... 23
HFINTOSC/LFINTOSC Switch Timing ............... 25
INTOSC .............................................................. 23
INTOSCIO .......................................................... 23
LFINTOSC.......................................................... 25
Resolutions, 20 MHZ .................................. 83
Resolutions, 8 MHz .................................... 83
PIC16F684
DS41202F-page 181

Related parts for PIC16F684-E/P