PIC18C452-E/PT Microchip Technology, PIC18C452-E/PT Datasheet - Page 115
![no-image](/images/manufacturer_photos/0/4/439/microchip_technology_sml.jpg)
PIC18C452-E/PT
Manufacturer Part Number
PIC18C452-E/PT
Description
IC MCU OTP 16KX16 A/D 44TQFP
Manufacturer
Microchip Technology
Series
PIC® 18Cr
Datasheets
1.PIC16F616T-ISL.pdf
(8 pages)
2.PIC16C770-ISO.pdf
(8 pages)
3.PIC18C242-ISO.pdf
(305 pages)
4.PIC18C242-ISO.pdf
(12 pages)
Specifications of PIC18C452-E/PT
Core Processor
PIC
Core Size
8-Bit
Speed
40MHz
Connectivity
I²C, SPI, UART/USART
Peripherals
Brown-out Detect/Reset, LVD, POR, PWM, WDT
Number Of I /o
33
Program Memory Size
32KB (16K x 16)
Program Memory Type
OTP
Ram Size
1.5K x 8
Voltage - Supply (vcc/vdd)
4.2 V ~ 5.5 V
Data Converters
A/D 8x10b
Oscillator Type
External
Operating Temperature
-40°C ~ 125°C
Package / Case
44-TQFP, 44-VQFP
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Eeprom Size
-
Other names
PIC18C452E/PT
Available stocks
Company
Part Number
Manufacturer
Quantity
Price
Company:
Part Number:
PIC18C452-E/PT
Manufacturer:
Microchip Technology
Quantity:
10 000
- PIC16F616T-ISL PDF datasheet
- PIC16C770-ISO PDF datasheet #2
- PIC18C242-ISO PDF datasheet #3
- PIC18C242-ISO PDF datasheet #4
- Current page: 115 of 305
- Download datasheet (6Mb)
13.5.3
The following steps should be taken when configuring
the CCP module for PWM operation:
1.
2.
TABLE 13-4:
TABLE 13-5:
INTCON
PIR1
PIE1
IPR1
TRISC
TMR2
PR2
T2CON
CCPR1L
CCPR1H
CCP1CON
CCPR2L
CCPR2H
CCP2CON
Legend:
Note 1: The PSPIF, PSPIE and PSPIP bits are reserved on the PIC18C2X2 devices. Always maintain these bits clear.
2001 Microchip Technology Inc.
Maximum Resolution (bits)
Name
Timer Prescaler (1, 4, 16)
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.
PR2 Value
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)
SETUP FOR PWM OPERATION
PSPIE
PSPIP
PSPIF
GIEH
Bit 7
GIE/
—
—
—
EXAMPLE PWM FREQUENCIES AND RESOLUTIONS AT 40 MHz
REGISTERS ASSOCIATED WITH PWM AND TIMER2
(1)
(1)
(1)
TOUTPS3 TOUTPS2 TOUTPS1 TOUTPS0 TMR2ON T2CKPS1 T2CKPS0 -000 0000 -000 0000
PEIE/
GIEL
ADIF
ADIE
ADIP
Bit 6
—
—
TMR0IE
DC1B1
DC2B1
RCIF
RCIE
RCIP
Bit 5
2.44 kHz
0xFF
16
14
DC1B0
DC2B0
INT0IE
Bit 4
TXIF
TXIE
TXIP
9.77 kHz
0xFF
12
4
CCP1M3
CCP2M3
SSPIF
SSPIE
SSPIP
RBIE
Bit 3
39.06 kHz
3.
4.
5.
CCP1M2
CCP2M2
TMR0IF
CCP1IF
CCP1IE
CCP1IP
0xFF
Bit 2
10
1
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.
CCP1M1
CCP2M1
TMR2IF
TMR2IE
TMR2IP
INT0IF
156.25 kHz
Bit 1
0x3F
1
8
CCP1M0 --00 0000 --00 0000
CCP2M0 --00 0000 --00 0000
TMR1IF
TMR1IE 0000 0000 0000 0000
TMR1IP 0000 0000 0000 0000
RBIF
Bit 0
PIC18CXX2
312.50 kHz
0x1F
0000 000x 0000 000u
0000 0000 0000 0000
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
1
7
Value on
POR,
BOR
DS39026C-page 113
416.67 kHz
0x17
Value on
6.58
RESETS
all other
1
Related parts for PIC18C452-E/PT
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
![PIC18C452-I/P](/photos/6/61/66192/150-40-dip_tmb.jpg)
Part Number:
Description:
IC MCU OTP 16KX16 A/D 40DIP
Manufacturer:
Microchip Technology
Datasheet:
![PIC18C452-I/L](/photos/6/63/66325/150-44-plcc_tmb.jpg)
Part Number:
Description:
IC MCU OTP 16KX16 A/D 44PLCC
Manufacturer:
Microchip Technology
Datasheet:
![PIC18C452-E/L](/photos/6/63/66325/150-44-plcc_tmb.jpg)
Part Number:
Description:
IC MCU OTP 16KX16 A/D 44PLCC
Manufacturer:
Microchip Technology
Datasheet:
![PIC18C452-E/P](/photos/6/61/66192/150-40-dip_tmb.jpg)
Part Number:
Description:
IC MCU OTP 16KX16 A/D 40DIP
Manufacturer:
Microchip Technology
Datasheet:
![PIC18C452/JW](/photos/6/63/66338/150-40-cdip_tmb.jpg)
Part Number:
Description:
IC MCU EPROM 16KX16 A/D 40CDIP
Manufacturer:
Microchip Technology
Datasheet:
![PIC18C452-I/PT](/photos/6/82/68251/c04-076_pt_tmb.jpg)
Part Number:
Description:
IC,MICROCONTROLLER,8-BIT,PIC CPU,CMOS,TQFP,44PIN,PLASTIC
Manufacturer:
Microchip Technology
Datasheet:
![PIC18C452](/images/manufacturer_photos/0/4/439/microchip_technology_tmb.jpg)
Part Number:
Description:
(PIC18Cxx2) High-Performance Microcontrollers
Manufacturer:
Microchip Technology
![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: