PIC16LF74-I/PTG Microchip Technology, PIC16LF74-I/PTG Datasheet - Page 60
![no-image](/images/manufacturer_photos/0/4/439/microchip_technology_sml.jpg)
PIC16LF74-I/PTG
Manufacturer Part Number
PIC16LF74-I/PTG
Description
IC MCU FLASH 4KX14 44TQFP
Manufacturer
Microchip Technology
Series
PIC® 16Fr
Specifications of PIC16LF74-I/PTG
Core Processor
PIC
Core Size
8-Bit
Speed
20MHz
Connectivity
I²C, SPI, UART/USART
Peripherals
Brown-out Detect/Reset, POR, PWM, WDT
Number Of I /o
33
Program Memory Size
7KB (4K x 14)
Program Memory Type
FLASH
Ram Size
192 x 8
Voltage - Supply (vcc/vdd)
2 V ~ 5.5 V
Data Converters
A/D 8x8b
Oscillator Type
External
Operating Temperature
-40°C ~ 85°C
Package / Case
44-TQFP, 44-VQFP
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Eeprom Size
-
Available stocks
Company
Part Number
Manufacturer
Quantity
Price
Company:
Part Number:
PIC16LF74-I/PTG
Manufacturer:
Microchip Technology
Quantity:
10 000
- Current page: 60 of 174
- Download datasheet (5Mb)
PIC16F7X
8.5.3
The following steps should be taken when configuring
the CCP module for PWM operation:
1.
2.
TABLE 8-4:
TABLE 8-5:
DS30325B-page 58
Timer Prescale (1, 4, 16)
PR2 Value
Maximum Resolution (bits)
Address
0Bh,8Bh,
10Bh,18Bh
0Ch
0Dh
8Ch
8Dh
87h
11h
92h
12h
15h
16h
17h
1Bh
1Ch
1Dh
Legend:
Note 1: Bits PSPIE and PSPIF are reserved on the PIC16F73/76; always maintain these bits clear.
Set the PWM period by writing to the PR2 register.
Set the PWM duty cycle by writing to the
CCPR1L register and CCP1CON<5:4> bits.
PWM Frequency
x = unknown, u = unchanged, - = unimplemented, read as '0'. Shaded cells are not used by PWM and Timer2.
INTCON
PIR1
PIR2
PIE1
PIE2
TRISC
TMR2
PR2
T2CON
CCPR1L
CCPR1H
CCP1CON
CCPR2L
CCPR2H
CCP2CON
SETUP FOR PWM OPERATION
Name
EXAMPLE PWM FREQUENCIES AND RESOLUTIONS (F
REGISTERS ASSOCIATED WITH PWM AND TIMER2
PSPIE
PORTC Data Direction Register
Timer2 Module Register
Timer2 Module Period Register
Capture/Compare/PWM Register1 (LSB)
Capture/Compare/PWM Register1 (MSB)
Capture/Compare/PWM Register2 (LSB)
Capture/Compare/PWM Register2 (MSB)
PSPIF
Bit 7
GIE
—
—
—
—
—
(1)
(1)
TOUTPS3 TOUTPS2 TOUTPS1 TOUTPS0 TMR2ON T2CKPS1 T2CKPS0 -000 0000 -000 0000
PEIE
ADIF
ADIE
Bit 6
—
—
—
—
1.22 kHz
0xFF
16
10
TMR0IE
CCP1X
CCP2X
RCIE
RCIF
Bit 5
—
—
4.88 kHz
CCP1Y
CCP2Y
INTE
TXIE
0xFF
Bit 4
TXIF
—
—
10
4
CCP1M3 CCP1M2 CCP1M1 CCP1M0 --00 0000 --00 0000
CCP2M3 CCP2M2 CCP2M1 CCP2M0 --00 0000 --00 0000
SSPIE
SSPIF
RBIE
Bit 3
—
—
19.53 kHz
3.
4.
5.
0xFF
10
1
TMR0IF
CCP1IF
CCP1IE TMR2IE
Make the CCP1 pin an output by clearing the
TRISC<2> bit.
Set the TMR2 prescale value and enable Timer2
by writing to T2CON.
Configure the CCP1 module for PWM operation.
Bit 2
—
—
TMR2IF
78.12 kHz
INTF
Bit 1
—
—
0x3F
1
8
OSC
TMR1IE 0000 0000 0000 0000
TMR1IF 0000 0000 0000 0000
CCP2IF ---- ---0 ---- ---0
CCP2IE ---- ---0 ---- ---0
2002 Microchip Technology Inc.
RBIF
Bit 0
= 20 MHz)
156.3 kHz
0x1F
0000 000x 0000 000u
1111 1111 1111 1111
0000 0000 0000 0000
1111 1111 1111 1111
xxxx xxxx uuuu uuuu
xxxx xxxx uuuu uuuu
xxxx xxxx uuuu uuuu
xxxx xxxx uuuu uuuu
Value on:
1
7
POR,
BOR
208.3 kHz
Value on
all other
RESETS
0x17
5.5
1
Related parts for PIC16LF74-I/PTG
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
![PIC16LF74-I/PT](/photos/6/82/68251/c04-076_pt_tmb.jpg)
Part Number:
Description:
IC PIC MCU FLASH 4KX14 44TQFP
Manufacturer:
Microchip Technology
Datasheet:
![PIC16LF74-I/P](/photos/6/61/66192/150-40-dip_tmb.jpg)
Part Number:
Description:
IC PIC MCU FLASH 4KX14 40DIP
Manufacturer:
Microchip Technology
Datasheet:
![PIC16LF74-I/ML](/photos/6/81/68122/150-44-qfn_tmb.jpg)
Part Number:
Description:
IC MCU FLASH 4KX14 A/D 44QFN
Manufacturer:
Microchip Technology
Datasheet:
![PIC16LF74-I/L](/photos/6/63/66325/150-44-plcc_tmb.jpg)
Part Number:
Description:
IC,MICROCONTROLLER,8-BIT,PIC CPU,CMOS,LDCC,44PIN,PLASTIC
Manufacturer:
Microchip Technology
Datasheet:
![TC1014-2.7VCT](/images/manufacturer_photos/0/4/440/microchip_technology_inc__tmb.jpg)
Part Number:
Description:
Manufacturer:
Microchip Technology Inc.
Datasheet:
![TC1014-5.0VCT](/images/manufacturer_photos/0/4/440/microchip_technology_inc__tmb.jpg)
Part Number:
Description:
Manufacturer:
Microchip Technology Inc.
Datasheet:
![TC1055-2.5VCT](/images/manufacturer_photos/0/4/440/microchip_technology_inc__tmb.jpg)
Part Number:
Description:
Manufacturer:
Microchip Technology Inc.
Datasheet:
![TC1055-2.7VCT](/images/manufacturer_photos/0/4/440/microchip_technology_inc__tmb.jpg)
Part Number:
Description:
Manufacturer:
Microchip Technology Inc.
Datasheet:
![TC1055-2.8VCT](/images/manufacturer_photos/0/4/440/microchip_technology_inc__tmb.jpg)
Part Number:
Description:
Manufacturer:
Microchip Technology Inc.
Datasheet:
![TC1055-4.0VCT](/images/manufacturer_photos/0/4/440/microchip_technology_inc__tmb.jpg)
Part Number:
Description:
Manufacturer:
Microchip Technology Inc.
Datasheet:
![TC1186-2.5VCT](/images/manufacturer_photos/0/4/440/microchip_technology_inc__tmb.jpg)
Part Number:
Description:
Manufacturer:
Microchip Technology Inc.
Datasheet: