PIC18F45K20-I/ML Microchip Technology, PIC18F45K20-I/ML Datasheet - Page 19

IC PIC MCU FLASH 16KX16 44QFN

PIC18F45K20-I/ML

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

Specifications of PIC18F45K20-I/ML

Program Memory Type
FLASH
Program Memory Size
32KB (16K x 16)
Package / Case
44-QFN
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
44QFN EP
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 PIC18F4XK20AC164322 - MODULE SOCKET MPLAB PM3 28/44QFN
Lead Free Status / Rohs Status
Lead free / RoHS Compliant
© 2009 Microchip Technology Inc.
FIGURE 3-5:
To complete the project setup, we will add a Linker Script and microcontroller header
file to the project. A Linker Script is required to build the project. It is a command file for
the linker, and defines options that describe the available memories on the target
microcontroller. There are four example linker files for the microcontroller:
Add the Linker Script by selecting menu Project > Add files to project…. In the “Files of
type” dropdown box, select “Linker Scripts (*.lkr)” as shown in Figure 3-6. Browse
to the Linker Scripts directory C:\MCC18\lkr and open the 18f45k20i.lkr file as
the debugger will be used in later lessons.
Files can also be added by right-clicking in the Project window. Right-click on the
“Header Files” folder and select Add Files… from the pop-up menu. Browse to the
MPLAB C header file directory C:\MCC18\h and open the p18f45k20.h header file.
The Project window now looks like Figure 3-7.
It is important to note that the file selected in the directory it resides in will be added to
the project, so modifying it will modify the original file. If this is not desired, open the file
and use File > Save As… to save a new copy in the current project directory and then
add the new file to the project. As a final step use File > Save Workspace to save the
project and its working environment.
18f45k20.lkr
18f45k20_e.lkr
18f45k20i.lkr
18f45k20i_e.lkr
PICkit™ 3 Debug Express Lessons
THE PROJECT WINDOW
Basic Linker Script file for compiling a memory image in
non-extended processor mode. (More on the Extended mode in a
later lesson.)
Linker Script file for compiling using Extended mode.
Linker Script file for use when debugging. These Linker Scripts
prevent application code from the using the small areas of memory
reserved for the debugger.
Linker Script file for debugging in Extended mode.
DS41370C-page 15

Related parts for PIC18F45K20-I/ML