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

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
PICkit™ 3 Debug Express
3.10
FIGURE 3-49:
DS41370C-page 58
LESSON 10: USING INTERNAL EEPROM
The PIC18F45K20 microcontroller includes 256 bytes of on-chip EEPROM for data
storage. This lesson discusses reading and writing the internal EEPROM in software.
3.10.1
The EECON1 Special Function Register controls operations to both the internal
EEPROM as well as the program memory Flash array.
EECON1: EEPROM CONTROL REGISTER 1
Key Concepts
- The 4 SFRs that control EEPROM operations are EECON1, EECON2,
- The internal EEPROM is written and read one byte at a time.
- To write EEPROM, a short code sequence must be written to EECON2
- Writing a byte to EEPROM takes a period of time before the write cycle is
EEDATA and EEADR.
immediately before starting the write operation. This is to prevent inadvertent
EEPROM writes.
complete. The microcontroller will continue to execute code during an
EEPROM write cycle.
Reading a data byte from EEPROM
© 2009 Microchip Technology Inc.

Related parts for PIC18F45K20-E/P