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

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
© 2009 Microchip Technology Inc.
FIGURE 3-11:
The Initialize functional block from Comparator Lab 1 will change somewhat to
configure Comparator 2 associated pins and the Timer0 clock source pin (T0CKI) as
follows:
• Comparator 2
• Timer0 Configuration:
Using the Interrupt icon introduced in the General Purpose Input/Output Lab 5 from
the previous chapter, the Timer0 interrupt on overflow is configured as follows:
• Use the T0CKI pin as the Timer0 clock source
• Using the prescaler feature, increment the TMR0 register on every 4th low-to-high
• Prescaler rates for the Timer0 module available are:
- Enable Comparator 2
- Make the Comparator 2 output available on the C2OUT pin configuring
- Configure the RC0/C2IN+ pin as the non-inverting reference input
- Select pin C12IN1- as the inverting reference (port pins shared with analog
- Configure RA2/AN2/T0CKI pin as a digital input to accommodate the
transition on the T0CKI pin.
TRISC4 as an output.
peripherals default to analog input on start-up. Therefore, the non-inverting or
inverting input pins to Comparator 2 need not be initialized saving lines of C
code for other commands).
oscillator output to be used as the TMR0 clock source.
-1 TMR0 increment: 1 clock source pulse
-1 TMR0 increment: 2 clock source pulse
-1 TMR0 increment: 4 clock source pulse
-1 TMR0 increment: 8 clock source pulse
-1 TMR0 increment: 64 clock source pulse
LED1
J8
V
R4
470Ω
10
SS
1
2
3
4
5
6
7
8
9
C2OUT
RB7
LED2
D1
1N4148
SCHEMATIC FOR COMPARATOR LAB 3
U2
V
C12IN1-
R5
470Ω
SS
T0CKI
C2IN+
RB4
RB5
RB6
LED3
20
19
18
17
16
15
14
13
12
11
V
R6
470Ω
SS
J9
Comparator Peripheral
LED4
V
R7
470Ω
SS
V
SS
V
R3
10 KΩ
NTC thermistor
DD
V
R1
100 KΩ
R2
1 KΩ
SS
DS41381A-page 77
V
SS
C
1 μF
1

Related parts for DM163035+TEFLCST3