PIC18F45K20-E/P Microchip Technology, PIC18F45K20-E/P Datasheet - Page 41

32KB, Flash, 1536bytes-RAM, 36I/O, 8-bit Family,nanowatt XLP 40 PDIP .600in TUBE

PIC18F45K20-E/P

Manufacturer Part Number
PIC18F45K20-E/P
Description
32KB, Flash, 1536bytes-RAM, 36I/O, 8-bit Family,nanowatt XLP 40 PDIP .600in TUBE
Manufacturer
Microchip Technology
Series
PIC® XLP™ 18Fr

Specifications of PIC18F45K20-E/P

Core Processor
PIC
Core Size
8-Bit
Speed
48MHz
Connectivity
I²C, SPI, UART/USART
Peripherals
Brown-out Detect/Reset, HLVD, POR, PWM, WDT
Number Of I /o
35
Program Memory Size
32KB (16K x 16)
Program Memory Type
FLASH
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 ~ 125°C
Package / Case
40-DIP (0.600", 15.24mm)
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 PIC18F4XK20
Lead Free Status / RoHS Status
Lead free / RoHS Compliant

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
PIC18F45K20-E/PT
Manufacturer:
Microchip Technology
Quantity:
10 000
3.6
FIGURE 3-26:
© 2009 Microchip Technology Inc.
LESSON 6: USING PICkit 3 DEBUG EXPRESS
This lesson covers using the PICkit 3 as an In-Circuit-Debugger (ICD). It uses the same
MPLAB IDE workspace and project as Lesson 5. Set T0CON assignment back to the
“no prescale” statement if it was changed in the last lesson.
3.6.1
The PICkit 3 Debug Express uses some on-chip resources to enable debugging. The
resources are not available to the user application code.
3.6.1.1
• MCLR pin reserved for debugging; this pin cannot be used as digital I/O while
• The PGD and PGC port pins are reserved for programming and in-circuit debug-
• One stack level is used by the debugger and not available.
3.6.1.2
The PICkit™ 3 Debug Express uses program memory and file register locations in the
target device during debugging. These locations are not available for use by user code.
In the MPLAB IDE, registers marked with an “R” in register displays represent reserved
registers, as shown in Figure 3-26.
RESERVED ICD FILE REGISTER LOCATIONS IN THE PIC18F45K20
Key Concepts
debugging.
ging. Therefore, other functions multiplexed on these pins will not be available
during debug.
- An In-Circuit-Debugger like PICkit 3 uses some on-chip resources to enable
- Debugging also reserves one level of the hardware return address stack and
- Debugging allows the program to be run, halted, stepped-through statement
- The number of available breakpoints depends on the PIC microcontroller
Note:
debugging. These reserved file registers and program memory locations are
marked ‘R’ in the MPLAB IDE views, and are not available for use by the
user application.
two I/O pins.
by statement, and for breakpoints to be set on program statements.
being used.
Resources Reserved by the PICkit 3 Debug Express
GENERAL RESOURCES
PROGRAM AND DATA MEMORY RESOURCES
This lesson uses the project and source code from Lesson 5: Using Timer0.
PICkit™ 3 Debug Express Lessons
DS41370C-page 37

Related parts for PIC18F45K20-E/P