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

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
PICkit™ 3 Debug Express
FIGURE 3-9:
DS41370C-page 18
3.1.3
Build the lesson code in an executable memory image by selecting Project > Build All
in the MPLAB IDE. The memory image is stored in a .hex file in the project directory.
The results of the build will be shown in the Output window in the MPLAB IDE
workspace under the Build tab. The calls to the MCC18 compiler and Linker are
shown, along with any errors that may occur. If the build is successful, the Output
window will show BUILD SUCCEEDED, as in Figure 3-9.
MPLAB IDE OUTPUT WINDOW BUILD RESULTS
To program the code into the PIC18F45K20 microcontroller, the PICkit 3
Programmer/Debugger is used. Select the PICkit 3 as a programmer in the MPLAB IDE
with Programmer > Select Programmer > 4 PICkit 3.
This will create a new tab in the Output window for the PICkit 3 programmer, where
messages from the programmer are displayed. The PICkit 3 will be initialized and
should report finding the PIC18F45K20 microcontroller on the demo board as shown
in Figure 3-10A.
The PICkit 3 must be configured to supply power to the demo board, if not, the PICkit
3 will not see the target (as evidenced by the error message in Figure 3-10A). Use
Programmer > Settings... to display the window appearing shown in Figure 3-10B.
Navigate to the Power tab and use the slider bar to set the output voltage to 3.25V,
check the box labeled “Power target circuit from PICkit 3” and press the OK button.
Once power to the target is enabled, the device ID of the PIC18F45K20 will be
displayed (last line in Figure 3-10A).
Note:
Building and Programming the Lesson 1 Code
If an error that the include file p18f45k20.h cannot be found is generated,
this usually means that MPLAB C was installed without checking the Add
header file path to MCC_INCLUDE environment variable option during
setup. It is recommended to re-install MPLAB C with this option checked.
© 2009 Microchip Technology Inc.

Related parts for PIC18F45K20-I/ML