PIC12F683-E/P Microchip Technology Inc., PIC12F683-E/P Datasheet - Page 54

no-image

PIC12F683-E/P

Manufacturer Part Number
PIC12F683-E/P
Description
8 PIN, 3.5 KB FLASH, 128 RAM, 6 I/O, PDIP
Manufacturer
Microchip Technology Inc.
Datasheet

Specifications of PIC12F683-E/P

A/d Inputs
4 Channel, 10-Bit
Comparators
1
Cpu Speed
5 MIPS
Eeprom Memory
256 Bytes
Frequency
20 MHz
Input Output
6
Memory Type
Flash
Number Of Bits
8
Package Type
8-pin PDIP
Programmable Memory
3.5K Bytes
Ram Size
128 Bytes
Serial Interface
None
Speed
20 MHz
Timers
2-8-bit, 1-16-bit
Voltage, Range
2-5.5 V
Lead Free Status / Rohs Status
RoHS Compliant part Electrostatic Device
PIC12F683
8.6
The comparator module also allows the selection of an
internally generated voltage reference for one of the
comparator inputs. The VRCON register, Register 8-3,
controls the voltage reference module shown in
Figure 8-5.
8.6.1
The voltage reference can output 32 distinct voltage
levels, 16 in a high range and 16 in a low range.
The following equation determines the output voltages:
EQUATION 8-1:
FIGURE 8-5:
DS41211B-page 52
VRR = 1 (Low Range): CV
VRR = 0 (High Range):
CV
V
DD
REF
Comparator
= (V
Comparator Reference
CV
CONFIGURING THE VOLTAGE
REFERENCE
DD
REF
VREN
Input
/4) + (VR3:VR0
to
COMPARATOR VOLTAGE REFERENCE BLOCK DIAGRAM
REF
VR<3:0>
= (VR3:VR0/24) x V
X
16-1 Analog
V
DD
8R
MUX
/32)
R
VREN
VR<3:0> = 0000
VRR
DD
Preliminary
R
16 Stages
8.6.2
The full range of V
construction of the module. The transistors on the top
and bottom of the resistor ladder network (Figure 8-5)
keep CV
tion is when the module is disabled by clearing the VREN
bit (VRCON<7>). When disabled, the reference voltage
is V
(VRCON<5>) bit is set. This allows the comparator to
detect a zero-crossing and not consume CV
current.
The voltage reference is V
CV
tested absolute accuracy of the comparator voltage
reference can be found in Section 15.0 “Electrical
Specifications”.
REF
SS
R
output changes with fluctuations in V
REF
when VR<3:0> is ‘0000’ and the VRR
VOLTAGE REFERENCE
ACCURACY/ERROR
from approaching V
R
SS
to V
DD
 2004 Microchip Technology Inc.
DD
cannot be realized due to the
derived and therefore, the
8R
SS
or V
DD
. The excep-
REF
DD
VRR
module
. The

Related parts for PIC12F683-E/P