PIC16F685-E/ML Microchip Technology, PIC16F685-E/ML Datasheet - Page 9
![IC,MICROCONTROLLER,8-BIT,PIC CPU,CMOS,LLCC,20PIN,PLASTIC](/photos/6/64/66481/c04-126_ml_sml.jpg)
PIC16F685-E/ML
Manufacturer Part Number
PIC16F685-E/ML
Description
IC,MICROCONTROLLER,8-BIT,PIC CPU,CMOS,LLCC,20PIN,PLASTIC
Manufacturer
Microchip Technology
Series
PIC® 16Fr
Datasheets
1.PIC16F616T-ISL.pdf
(8 pages)
2.PIC16F690DM-PCTLHS.pdf
(306 pages)
3.PIC16F677-IP.pdf
(2 pages)
4.PIC16F677-IP.pdf
(16 pages)
Specifications of PIC16F685-E/ML
Rohs Compliant
YES
Core Processor
PIC
Core Size
8-Bit
Speed
20MHz
Peripherals
Brown-out Detect/Reset, POR, PWM, WDT
Number Of I /o
18
Program Memory Size
7KB (4K x 14)
Program Memory Type
FLASH
Eeprom Size
256 x 8
Ram Size
256 x 8
Voltage - Supply (vcc/vdd)
2 V ~ 5.5 V
Data Converters
A/D 12x10b
Oscillator Type
Internal
Operating Temperature
-40°C ~ 125°C
Package / Case
20-VQFN Exposed Pad, 20-HVQFN, 20-SQFN, 20-DHVQFN
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
For Use With
AC164324 - MODULE SKT FOR MPLAB 8DFN/16QFNAC162061 - HEADER INTRFC MPLAB ICD2 20PINDVA1004 - DEVICE ADAPTER 8/14/20DIP
Connectivity
-
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Available stocks
Company
Part Number
Manufacturer
Quantity
Price
Company:
Part Number:
PIC16F685-E/ML
Manufacturer:
DM&P
Quantity:
27
4. Module: Analog-To-Digital Converter
EXAMPLE 2:
2010 Microchip Technology Inc.
BANKSEL
MOVLW
MOVWF
MOVLW
MOVWF
Selecting the VP6 reference as the analog input
source (CHS<3:0> = 1101) for the ADC conversion
after sampling another analog channel with input
voltages approximately greater than 1.2V can
temporarily disturb the HFINTOSC oscillator.
Work around
Select an ADC channel with input voltages lower
than 1.2V prior to selecting the VP6 reference
voltage input. Any analog channel can be used,
even if that channel is configured as a digital I/O
(configured as an output) that is driving the output
pin low. An alternative is to configure the CV
module to output a voltage less than 1.2V and then
selecting that analog channel CHS<3:0> = 1100
as the analog input source.
Silicon Fix
None.
Affected Silicon Revisions
PIC16F677
PIC16F685/PIC16F687/PIC16F689/
PIC16F690
A1
A3
X
X
Note:
A4
X
ADCON0
B’XX110001’
ADCON0
B’XX110101’
ADCON0
(ADC) Module
(PIC16F685/687/689/690 Only)
This only occurs when selecting the
VP6 reference ADC channel using the
CHS<3:0> bits in the ADCON0
register and NOT during the start of an
actual ADC conversion using the GO/
DONE bit in the ADCON0 register.
A5
X
AVOID DISTURBING THE
HFINTOSC OSCILLATOR
A6
X
;
;Select ADC
;Channel CV
;Select ADC
;Channel VP6
PIC16F631/677/685/687/689/690
REF
REF
5. Module: Timer1
5.1 Asynchronous Timer1
This Errata supersedes Errata DS80233 and
DS80329.
When TImer1 is started or updated, the timer
needs to see a falling edge from the external clock
source before a rising edge can increment the
counter. If writes to TMR1H and TMR1L are not
completed while the external clock pulse is still
high, Timer1 will not count the first clock pulse after
the update.
When using an external crystal, the pulse width
from rising to falling edge is temperature
dependent and may decrease with temperature.
As a result, the timer may require an additional
oscillation to overflow.
Work around
Switching to the HFINTOSC after reloading, the
timer ensures the Timer1 will see a falling edge
before switching back to the external clock source.
Due to the time from Timer1 overflow to the reload
being application specific, wait for the timer to
increment before beginning the reload sequence.
This ensures the timer does not miss a rising edge
during reload.
Affected Silicon Revisions
PIC16F631/PIC16F677
PIC16F685/PIC16F687/PIC16F689/
PIC16F690
A1
A3
X
X
A4
X
A5
X
A6
X
DS80243M-page 9