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

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
Chapter 1. Introduction
Chapter 2. PIC18FXXXX Microcontroller Architectural Overview
Chapter 3. PICkit™ 3 Debug Express Lessons
© 2009 Microchip Technology Inc.
1.1 Before Beginning the Lessons ....................................................................... 7
2.1 Memory Organization ..................................................................................... 9
2.2 Program Memory ............................................................................................ 9
3.1 Lesson 1: Hello LED ..................................................................................... 11
3.2 Lesson 2: Blink LED ..................................................................................... 21
3.3 Lesson 3: Rotate LED .................................................................................. 25
3.4 Lesson 4: Switch Input ................................................................................. 29
3.5 Lesson 5: Using Timer0 ............................................................................... 33
2.2.1 Data Memory ............................................................................................. 10
2.2.2 Special Function Registers ........................................................................ 10
2.2.3 Return Address Stack ............................................................................... 10
3.1.1 Creating the Lesson 1 Project in the MPLAB
3.1.2 Exploring the Lesson 1 Source Code ........................................................ 16
3.1.3 Building and Programming the Lesson 1 Code ......................................... 18
3.2.1 Opening the Lesson 2 Project and Workspace in the MPLAB IDE .......... 21
3.2.2 Defining Configuration Bit Settings in the Source Code ............................ 21
3.2.3 Exploring the Lesson 2 Source Code ........................................................ 23
3.2.4 Build and Program the Lesson 2 Code ..................................................... 24
3.3.1 Allocating File Register Memory ............................................................... 25
3.3.2 Allocating Program Memory ...................................................................... 26
3.3.3 Exploring the Lesson 3 Source Code ........................................................ 27
3.3.4 Build and Program the Lesson 3 Code ..................................................... 28
3.4.1 Files and the #define Directive ................................................................. 29
3.4.2 Switch Debouncing .................................................................................... 30
3.4.3 Exploring the Lesson 4 Source Code ........................................................ 30
3.4.4 Build and Program the Lesson 4 Code ..................................................... 32
3.5.1 The PIC18F45K20 Timer0 Module ........................................................... 33
3.5.2 Exploring the Lesson 5 Source Code ........................................................ 35
3.5.3 Build and Program the Lesson 5 Code ..................................................... 36
3.5.4 Assigning the Timer0 Prescaler ................................................................. 36
3.1.1.1 Step One: Select a device ......................................................... 11
3.1.1.2 Step Two: Select a language toolsuite ...................................... 12
3.1.1.3 Step Three: Create a new project .............................................. 13
3.1.1.4 Step Four: Add existing files to your project .............................. 13
3.1.1.5 Summary ................................................................................... 14
3.4.3.1 Variables .................................................................................... 31
3.4.3.2 Switch Input ............................................................................... 31
3.4.3.3 Rotating the LEDs ..................................................................... 32
Table of Contents
PICkit™ 3 DEBUG EXPRESS
®
IDE .................................. 11
DS41370C-page iii

Related parts for PIC18F45K20-I/ML