PIC12C671-04I/P Microchip Technology, PIC12C671-04I/P Datasheet - Page 212

no-image

PIC12C671-04I/P

Manufacturer Part Number
PIC12C671-04I/P
Description
IC MCU OTP 1KX14 A/D 8DIP
Manufacturer
Microchip Technology
Series
PIC® 12Cr
Datasheets

Specifications of PIC12C671-04I/P

Core Size
8-Bit
Program Memory Size
1.75KB (1K x 14)
Core Processor
PIC
Speed
4MHz
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
4MHz
No. Of Timers
1
Digital Ic Case Style
DIP
Processor Series
PIC12C
Core
PIC
Data Bus Width
8 bit
Data Ram Size
128 B
Maximum Clock Frequency
4 MHz
Number Of Programmable I/os
5
Number Of Timers
1
Operating Supply Voltage
3 V to 5.5 V
Maximum Operating Temperature
+ 85 C
Mounting Style
Through Hole
3rd Party Development Tools
52715-96, 52716-328, 52717-734
Development Tools By Supplier
ICE2000
Minimum Operating Temperature
- 40 C
On-chip Adc
8 bit, 4 Channel
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
 Details
PICmicro MID-RANGE MCU FAMILY
14.5.2.2
DS31014A-page 14-10
Minimum Resolution
The minimum resolution (in time) of each bit of the PWM duty cycle depends on the prescaler of
Timer2.
Table 14-4: Minimum Duty Cycle Bit Time
Example 14-2:
At most, an 8-bit resolution duty cycle can be obtained from a 78.125 kHz frequency and a
20 MHz oscillator, i.e., 0 DCxB9:DCxB0 255. Any value greater than 255 will result in a 100%
duty cycle.
In order to achieve higher resolution, the PWM frequency must be decreased. In order to achieve
higher PWM frequency, the resolution must be decreased.
Table 14-5
caler and PR2 values are also shown.
Table 14-5: Example PWM Frequencies and Bit Resolutions at 20 MHz
Desired PWM frequency is 78.125 kHz,
Fosc = 20 MHz
TMR2 prescale = 1
Find the maximum resolution of the duty cycle that can be used with a 78.125 kHz frequency
and 20 MHz oscillator:
Timer Prescaler
(1, 4, 16)
PR2 Value
Maximum
Resolution (bits)
PWM Frequency
Prescaler
1/78.125 kHz= [(PR2) + 1] • 4 • 1/20 MHz • 1
12.8 s = [(PR2) + 1] • 4 • 50 ns • 1
PR2
1/78.125 kHz= 2
12.8 s = 2
256
log(256) = (PWM Resolution) • log(2)
8.0
Value
16
1
4
lists example PWM frequencies and resolutions for Fosc = 20 MHz. The TMR2 pres-
= 63
= 2
= PWM Resolution
PWM RESOLUTION
PWM RESOLUTION
PWM Period and Duty Cycle Calculation
T2CKPS1:T2CKPS0
PWM RESOLUTION
1.22 kHz
0xFF
16
10
0 0
0 1
1 x
• 50 ns • 1
4.88 kHz
• 1/20 MHz • 1
0xFF
10
4
19.53 kHz
Minimum Resolution
0xFF
10
1
(Time)
4 T
T
T
OSC
CY
CY
78.12 kHz
0x3F
1
8
1997 Microchip Technology Inc.
156.3 kHz
0x1F
1
7
208.3 kHz
0x17
5.5
1

Related parts for PIC12C671-04I/P