PIC12C672-10I/P Microchip Technology, PIC12C672-10I/P Datasheet - Page 217
![no-image](/images/manufacturer_photos/0/4/439/microchip_technology_sml.jpg)
PIC12C672-10I/P
Manufacturer Part Number
PIC12C672-10I/P
Description
IC MCU OTP 2KX14 A/D 8DIP
Manufacturer
Microchip Technology
Series
PIC® 12Cr
Datasheets
1.PIC16F688T-ISL.pdf
(688 pages)
2.PIC12CE673-10P.pdf
(129 pages)
3.PIC12CE673-10P.pdf
(14 pages)
Specifications of PIC12C672-10I/P
Core Size
8-Bit
Program Memory Size
3.5KB (2K x 14)
Core Processor
PIC
Speed
10MHz
Peripherals
POR, WDT
Number Of I /o
5
Program Memory Type
OTP
Ram Size
128 x 8
Voltage - Supply (vcc/vdd)
3 V ~ 5.5 V
Data Converters
A/D 4x8b
Oscillator Type
Internal
Operating Temperature
-40°C ~ 85°C
Package / Case
8-DIP (0.300", 7.62mm)
Controller Family/series
PIC12
No. Of I/o's
6
Ram Memory Size
128Byte
Cpu Speed
10MHz
No. Of Timers
1
Digital Ic Case Style
DIP
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
For Use With
ISPICR1 - ADAPTER IN-CIRCUIT PROGRAMMINGAC124001 - MODULE SKT PROMATEII 8DIP/SOIC
Eeprom Size
-
Connectivity
-
Lead Free Status / RoHS Status
Lead free / RoHS Compliant, Lead free / RoHS Compliant
- Current page: 217 of 688
- Download datasheet (3Mb)
14.7
1997 Microchip Technology Inc.
Design Tips
Question 1:
Answer 1:
The capture and compare modes are designed around Timer1, so no other timer can be used for
these functions. This also means that if multiple CCP modules (in parts with more than one) are
being used for a capture or compare function, they will share the same timer.
Question 2:
Answer 2:
The PWM mode is designed around Timer2, so no other timer can be used for this function. (It
is the only timer with a period register associated with it.) If multiple CCP modules (in parts with
more than one) are doing PWM they will share the same timer, meaning they will have the same
PWM period and frequency.
Question 3:
Answer 3:
The timers may be different, but other logic functions are shared. However you can switch from
one mode to the other. For a device with two CCP modules, you can also have CCP1 set up for
PWM and CCP2 set up for capture or compare (or vice versa) since they are two independent
modules.
Question 4:
Answer 4:
Any reset will turn the CCP module off. See the section on resets to see reset values.
Question 5:
Answer 5:
The CCP1IF flag will be set on the match condition. TMR1IF is set when Timer1 overflows, and
the special trigger reset of Timer1 is not considered an overflow. However, if both the CCPR1L
and CCPR1H registers are set at FFh, then an overflow occurs at the same time as the match,
which will then set both CCP1IF and TMR1IF.
Question 6:
Answer 6:
Timer2 always resets to zero when it equals PR2 and flag bit TMR2IF always gets set at this time.
By putting FFh into PR2, you will get an interrupt on overflow at FFh, as you would with Timer0,
for instance. Quite often it is desirable to have an event occur at a periodic rate, perhaps an inter-
rupt driven event. Normally an initial value would be placed into the timer so that the overflow will
occur at the desired time. This value would have to be placed back into the timer every time it
overflowed to make the interrupts occur at the same desired rate. The benefit of Timer2 is that a
value can be written to PR2 that will cause it to reset at your desired time interval. This means
you do not have the housekeeping chore of reloading the timer every time it overflows, since PR2
maintains its value.
What timers can I use for the capture and compare modes?
What timers can I use with the PWM mode?
Can I use one CCP module to do capture (or compare) AND PWM at the
same time, since they use different timers as their reference?
How does a reset affect the CCP module?
I am setting up the CCP1CON module for “Compare Mode, trigger special
event” (1011) which resets TMR1. When a compare match occurs, will I have
both the TMR1 and the CCP1 interrupts pending (TMR1IF is set, CCP1IF is
set)?
How do I use Timer2 as a general purpose timer, with an interrupt flag on
rollover?
Section 14. CCP
DS31014A-page 14-15
14
Related parts for PIC12C672-10I/P
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
![PIC12C672-04/P](/images/manufacturer_photos/0/4/439/microchip_technology_tmb.jpg)
Part Number:
Description:
IC MCU OTP 2KX14 A/D 8DIP
Manufacturer:
Microchip Technology
Datasheet:
![PIC12C672-04/SM](/images/manufacturer_photos/0/4/439/microchip_technology_tmb.jpg)
Part Number:
Description:
IC MCU OTP 2KX14 A/D 8-SOIJ
Manufacturer:
Microchip Technology
Datasheet:
![PIC12C672-10I/SM](/images/manufacturer_photos/0/4/439/microchip_technology_tmb.jpg)
Part Number:
Description:
IC MCU OTP 2KX14 A/D 8-SOIJ
Manufacturer:
Microchip Technology
Datasheet:
![PIC12C672-10/SM](/images/manufacturer_photos/0/4/439/microchip_technology_tmb.jpg)
Part Number:
Description:
IC MCU OTP 2KX14 A/D 8-SOIJ
Manufacturer:
Microchip Technology
Datasheet:
![PIC12C672-04E/SM](/images/manufacturer_photos/0/4/439/microchip_technology_tmb.jpg)
Part Number:
Description:
IC MCU OTP 2KX14 A/D 8-SOIJ
Manufacturer:
Microchip Technology
Datasheet:
![PIC12C672-10E/P](/photos/16/0/160065/8-pdip-angled-300dpi-lyrd_tmb.jpg)
Part Number:
Description:
IC MCU OTP 2KX14 A/D 8DIP
Manufacturer:
Microchip Technology
Datasheet:
![PIC12C672-04I/MF](/images/manufacturer_photos/0/4/439/microchip_technology_tmb.jpg)
Part Number:
Description:
IC MCU OTP 2KX14 A/D 8DFN
Manufacturer:
Microchip Technology
Datasheet:
![PIC12C672-04E/MF](/images/manufacturer_photos/0/4/439/microchip_technology_tmb.jpg)
Part Number:
Description:
IC PIC MCU 2KX14 8DFN
Manufacturer:
Microchip Technology
Datasheet:
![PIC12C672-10E/SM](/images/manufacturer_photos/0/4/439/microchip_technology_tmb.jpg)
Part Number:
Description:
IC MCU OTP 2KX14 A/D 8-SOIJ
Manufacturer:
Microchip Technology
Datasheet:
![PIC12C672-10I/MF](/images/manufacturer_photos/0/4/439/microchip_technology_tmb.jpg)
Part Number:
Description:
IC MCU OTP 2KX14 A/D 8DFN
Manufacturer:
Microchip Technology
Datasheet:
![PIC12C672-04I/P](/images/manufacturer_photos/0/4/439/microchip_technology_tmb.jpg)
Part Number:
Description:
IC MCU OTP 2KX14 A/D 8DIP
Manufacturer:
Microchip Technology
Datasheet:
![PIC12C672-04I/SM](/images/manufacturer_photos/0/4/439/microchip_technology_tmb.jpg)
Part Number:
Description:
IC MCU OTP 2KX14 A/D 8-SOIJ
Manufacturer:
Microchip Technology
Datasheet:
![PIC12C672/JW](/photos/12/43/124388/pic12c672_jw_tmb.jpg)
Part Number:
Description:
IC MCU EPROM 2KX14 A/D 8CDIP
Manufacturer:
Microchip Technology
Datasheet:
![PIC12C672-04E/P](/images/manufacturer_photos/0/4/439/microchip_technology_tmb.jpg)
Part Number:
Description:
IC,MICROCONTROLLER,8-BIT,PIC CPU,CMOS,DIP,8PIN,PLASTIC
Manufacturer:
Microchip Technology
Datasheet:
![PIC12C672-10/P](/photos/16/0/160065/8-pdip-angled-300dpi-lyrd_tmb.jpg)
Part Number:
Description:
IC,MICROCONTROLLER,8-BIT,PIC CPU,CMOS,DIP,8PIN,PLASTIC
Manufacturer:
Microchip Technology
Datasheet: