PIC18F45K20-E/ML Microchip Technology, PIC18F45K20-E/ML Datasheet - Page 60
![32KB, Flash, 1536bytes-RAM, 36I/O, 8-bit Family,nanowatt XLP 44 QFN 8x8x0.9mm TU](/photos/6/81/68122/150-44-qfn_sml.jpg)
PIC18F45K20-E/ML
Manufacturer Part Number
PIC18F45K20-E/ML
Description
32KB, Flash, 1536bytes-RAM, 36I/O, 8-bit Family,nanowatt XLP 44 QFN 8x8x0.9mm TU
Manufacturer
Microchip Technology
Series
PIC® XLP™ 18Fr
Datasheets
1.PIC18F25K20T-ISS.pdf
(42 pages)
2.PIC18F25K20T-ISS.pdf
(12 pages)
3.PIC18F25K20T-ISS.pdf
(14 pages)
4.PIC18F25K20T-ISS.pdf
(456 pages)
5.PIC18F45K20-IPT.pdf
(78 pages)
Specifications of PIC18F45K20-E/ML
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
44-QFN
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-47:
DS41370C-page 56
The IRFCx bits may be changed by software during program execution, allowing the
program to “throttle” the microcontroller execution speed to current processing needs.
This can save on power consumption when fast clock speeds aren’t required.
The OSTS and IOFS bits are read-only Status bits. The PIC18F45K20 has the option
to start-up running off the internal oscillator until an external oscillator circuit has
stabilized. This allows faster start-up of the microcontroller with external oscillators.
OSTS is used to alert the software when the clock source has switched over to the
external primary oscillator. This functionality is not covered further in this lesson.
The SCSx bits allow the software to switch the microcontroller clock source over to the
internal oscillator block even when an external oscillator has been selected in the
Configuration bits. The secondary oscillator may also be selected, which is the
low-speed low-power oscillator that is part of Timer1 and is usually run with a 32 kHz
crystal for Real-Time Clock (RTC) applications. In this lesson, the internal oscillator has
been selected as the primary oscillator in the Configuration bits, and SCS1:SCS0 = 00.
OSCTUNE: OSCILLATOR TUNING REGISTER
The 5 TUNx bits in OSCTUNE allow small adjustments in the INTOSC oscillator
frequency. This can be used to calibrate the frequency more accurately than the factory
calibration, and adjust for drift over V
The PLLEN bit enables the PLL, multiplying the INTOSC output by 4. Note that the PLL
may only be enabled for INTOSC = 8 MHz or INTOSC = 16 MHz. Enabling the PLL with
a 4 MHz base frequency gives a 16 MHz clock, and with a 16 MHz base frequency
gives 64 MHz.
For further information on the internal oscillator block, see Section 2.6 of the
PIC18F45K20 Data Sheet (DS41303).
DD
and temperature changes.
© 2009 Microchip Technology Inc.