DM163035+TEFLCST3 Microchip Technology, DM163035+TEFLCST3 Datasheet - Page 76

no-image

DM163035+TEFLCST3

Manufacturer Part Number
DM163035+TEFLCST3
Description
KIT, PICDEMLAB+FLOWCODE-HOME BUNDLE/
Manufacturer
Microchip Technology
Datasheet

Specifications of DM163035+TEFLCST3

Kit Contents
Component Kit, PICDEM Lab Development Board, PICkit 2 Programmer/ Debugger, CD Containing User Guide
Svhc
No SVHC (15-Dec-2010)
Development Tool Type
Hardware / Software - Dev
Silicon Manufacturer
Microchip
Core Architecture
PIC
Core Sub-architecture
PIC10, PIC12, PIC16
Silicon Core Number
PIC10F, PIC12F, PIC16F
Silicon Family Name
PIC10F2xx, PIC12F6xx, PIC16F6xx
Rohs Compliant
Yes
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
PICDEM
DS41381A-page 72
TM
3.2.5
3.2.5.1
To configure the peripherals used in this lab, the following registers are used:
1. Voltage Reference Control Register: VRCON (Register 8-5 in Section 8 of the
3.2.5.2
This lab expands on Lab 1 by utilizing the internal Comparator Voltage Reference
(CV
voltage reference that can be used by the Comparator 1’s non-inverting reference
input, so that external components are not needed such as the resistor voltage divider
used in the previous lab. The CV
The CV
controlled by the CV
Control Register) along with the CV
Selection bits hold a value based upon some simple calculations to set the internal
reference voltage. The CV
EQUATION 3-1:
This lab will implement the low-range calculation by setting the VRR bit in VRCON
equal to 1. Equation 3-2 demonstrates how to calculate the VR<3:0> values, using the
low-range method, to obtain a 2.5V internal reference. If higher resolutions are
required, the High Range method should be used (see Section 8.10.2 in the
PIC16F690 data sheet).
Lab Flowcode Companion Guide
- Enables either the Comparator Voltage Reference or the 0.6V constant
- Selects either a High or Low resolution 16-level voltage range
- Enables a 0.6V reference
- Uses three bits to configure the reference voltage level
- Independent comparator operation
- Two 16-level voltage ranges
- Ratiometric with V
- Fixed 0.6V reference option
- Output clamped to V
VRR = 1 (Low-Range):
VRR = 0 (Low-Range):
REF
PIC16F690 data sheet)
reference as the non-inverting reference input to Comparator C1 or
Comparator C2.
) feature on the PIC16F690. The CV
REF
Lab 2: Using the Comparator Voltage Reference
NEW REGISTERS USED IN THIS LAB
OVERVIEW
has 2 ranges with 16 voltage levels in each range. Range selection is
REF
CVREF Output Voltage
CV
CV
DD
Range Selection (VRR) bit in the VRCON (Voltage Reference
SS
REF
REF
REF
= (VR<3:0>/24) x V
= (V
voltage is determined using Equation 3-1:
REF
DD
REF
/4) + (VR<3:0> x V
features:
Value Selection bits (VR<3:0>). The Value
REF
DD
provides an internally generated
DD
/32)
© 2009 Microchip Technology Inc.

Related parts for DM163035+TEFLCST3