PIC18F45K20-I/PT Microchip Technology, PIC18F45K20-I/PT Datasheet - Page 75

IC PIC MCU FLASH 16KX16 44TQFP

PIC18F45K20-I/PT

Manufacturer Part Number
PIC18F45K20-I/PT
Description
IC PIC MCU FLASH 16KX16 44TQFP
Manufacturer
Microchip Technology
Series
PIC® XLP™ 18Fr

Specifications of PIC18F45K20-I/PT

Program Memory Type
FLASH
Program Memory Size
32KB (16K x 16)
Package / Case
44-TQFP, 44-VQFP
Core Processor
PIC
Core Size
8-Bit
Speed
64MHz
Connectivity
I²C, SPI, UART/USART
Peripherals
Brown-out Detect/Reset, HLVD, POR, PWM, WDT
Number Of I /o
35
Eeprom Size
256 x 8
Ram Size
1.5K x 8
Voltage - Supply (vcc/vdd)
1.8 V ~ 3.6 V
Data Converters
A/D 14x10b
Oscillator Type
Internal
Operating Temperature
-40°C ~ 85°C
Processor Series
PIC18F
Core
PIC
Data Bus Width
8 bit
Data Ram Size
1.5 KB
Interface Type
CCP/ECCP/EUSART/I2C/MSSP/SPI
Maximum Clock Frequency
64 MHz
Number Of Programmable I/os
36
Number Of Timers
4
Maximum Operating Temperature
+ 85 C
Mounting Style
SMD/SMT
3rd Party Development Tools
52715-96, 52716-328, 52717-734, 52712-325, EWPIC18
Development Tools By Supplier
PG164130, DV164035, DV244005, DV164005, PG164120, DV164136
Minimum Operating Temperature
- 40 C
On-chip Adc
14-ch x 10-bit
Package
44TQFP
Device Core
PIC
Family Name
PIC18
Maximum Speed
64 MHz
Operating Supply Voltage
2.5|3.3 V
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
For Use With
DM240313 - BOARD DEMO 8BIT XLPAC164112 - VOLTAGE LIMITER MPLAB ICD2 VPPDM164124 - KIT STARTER FOR PIC18F4XK20AC164305 - MODULE SKT FOR PM3 44TQFP
Lead Free Status / Rohs Status
Lead free / RoHS Compliant

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
PIC18F45K20-I/PT
Manufacturer:
SIEMENS
Quantity:
32
Part Number:
PIC18F45K20-I/PT
Manufacturer:
MICROCHI
Quantity:
18 600
Part Number:
PIC18F45K20-I/PT
Manufacturer:
Microchip Technology
Quantity:
10 000
Part Number:
PIC18F45K20-I/PT
Manufacturer:
MICR0CHIP
Quantity:
20 000
FIGURE 3-61:
© 2009 Microchip Technology Inc.
CCPXCON: CCPX CONTROL REGISTER
For more information on Timer2 see Section 13.0 “Timer2 Module” of the
PIC18F45K20 Data Sheet (DS41303). More info on the CCP module PWM
functionality can be found in Section 15.0 “Capture/Compare/PWM (CCP) Module”,
and Section 15.4 “PWM Mode”.
3.12.3
The PWM signal from the CCP1 module is normally output on the CCP1/RC2 pin.
However, this pin is not connected to any demo board LEDs. To output a signal on an
LED pin, the Enhanced CCP module (ECCP) on the PIC18F45K20 is utilized. This
functionality is selected in the upper 2 bits of CCP1CON (P1Mx), which are set to 0b01
so the modulated PWM signal appears on the P1D/RD7 which drives LED 7. No other
aspect of the enhanced PWM functionality is used; for more information see Section
16.0 “Enhanced Capture/Compare/Pwm (ECCP) Module”.
The first thing done in the lesson source code is to set PWM pin RD7 to an output.
Timer2 is then configured to generate the PWM period of 16 ms as discussed
previously in this lesson.
TRISDbits.TRISD7 = 0;
T2CON
PR2
=
Exploring the Lesson 12 Source Code
=
249;//
0b00000111;//
PICkit™ 3 Debug Express Lessons
Timer
2
Prescale
Period
Register
=
1:16,
=
timer on
250 counts
DS41370C-page 71

Related parts for PIC18F45K20-I/PT