PIC18LF8585-I/PT Microchip Technology, PIC18LF8585-I/PT Datasheet - Page 9

no-image

PIC18LF8585-I/PT

Manufacturer Part Number
PIC18LF8585-I/PT
Description
IC,MICROCONTROLLER,8-BIT,PIC CPU,CMOS,TQFP,80PIN,PLASTIC
Manufacturer
Microchip Technology
Series
PIC® 18Fr

Specifications of PIC18LF8585-I/PT

Rohs Compliant
YES
Core Processor
PIC
Core Size
8-Bit
Speed
40MHz
Connectivity
CAN, EBI/EMI, I²C, SPI, UART/USART
Peripherals
Brown-out Detect/Reset, LVD, POR, PWM, WDT
Number Of I /o
68
Program Memory Size
48KB (24K x 16)
Program Memory Type
FLASH
Eeprom Size
1K x 8
Ram Size
3.25K x 8
Voltage - Supply (vcc/vdd)
2 V ~ 5.5 V
Data Converters
A/D 12x10b
Oscillator Type
External
Operating Temperature
-40°C ~ 85°C
Package / Case
80-TFQFP
Processor Series
PIC18LF
Core
PIC
Data Bus Width
8 bit
Data Ram Size
3328 B
Interface Type
I2C, SPI, AUSART, CAN
Maximum Clock Frequency
40 MHz
Number Of Programmable I/os
69
Number Of Timers
8
Operating Supply Voltage
2 V to 5.5 V
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, ICE2000, ICE4000, DV164136, DM163015
Minimum Operating Temperature
- 40 C
On-chip Adc
10 bit
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Other names
PIC18LF8585-I/PTR
PIC18LF8585-I/PTR

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
PIC18LF8585-I/PT
Manufacturer:
Microchip
Quantity:
130
Part Number:
PIC18LF8585-I/PT
Manufacturer:
Microchip Technology
Quantity:
10 000
3.0
3.1
Erasing code or data EEPROM is accomplished by
writing an “Erase Option” to address 3C0004h. Code
memory may be erased portions at a time, or the user
may erase the entire device in one action. “Bulk Erase”
operations will also clear any code-protect settings
associated with the memory block erased. Erase
options are detailed in Table 3-1.
TABLE 3-1:
The actual Bulk Erase function is a self-timed opera-
tion. Once the erase has started (falling edge of the 4th
PGC after the “Write” command), serial execution will
cease until the erase completes (parameter P11).
During this time, PGC may continue to toggle but PGD
must be held low.
The code sequence to erase the entire device is shown
in Table 3-2 and the flowchart is shown in Figure 3-1.
FIGURE 3-2:
 2010 Microchip Technology Inc.
Chip Erase
Erase Data EEPROM
Erase Boot Block
Erase Block 1
Erase Block 2
Erase Block 3
Erase Block 4
Note:
PGC
PGD
4-Bit Command
DEVICE PROGRAMMING
High-Voltage ICSP Bulk Erase
1
0
A Bulk Erase is the only way to reprogram
code-protect bits from an ON state to an
OFF state.
Non code-protect bits are not returned to
default settings by a Bulk Erase. These
bits should be programmed to ‘1’s, as out-
lined in Section 3.6 “Configuration Bits
Programming”.
2
0
Description
3
1
BULK ERASE OPTIONS
4
1
P5
BULK ERASE TIMING
1
Data Payload
0
2
0
16-Bit
15 16
0
0
P5A
4-Bit Command
1
0
Data
2
0
8Ah
8Bh
80h
81h
83h
88h
89h
3
0
4
0
P5
PGD = Input
1
0
Data Payload
2
0
16-Bit
TABLE 3-2:
FIGURE 3-1:
Command
15 16
0
0000
0000
0000
0000
0000
0000
0000
0000
1100
0000
0000
4-Bit
0
P5A
PIC18FXX80/XX85
4-Bit Command
1
0
Payload
2
8E A6
8C A6
0E 3C
6E F8
0E 00
6E F7
0E 04
6E F6
00 80
00 00
00 00
0
Data
3
Delay P11+P10
0
BULK ERASE COMMAND
SEQUENCE
Load Address
Entire Device
Pointer to
Write 80h
4
3C0004h
to Erase
0
BULK ERASE FLOW
Done
Time
Start
BSF
BSF
MOVLW
MOVWF
MOVLW
MOVWF
MOVLW
MOVWF
Write 80h TO 3C0004h to
erase entire device.
NOP
Hold PGD low until
erase completes.
Erase Time
P11
Core Instruction
EECON1, EEPGD
EECON1, CFGS
3Ch
TBLPTRU
00h
TBLPTRH
04h
TBLPTRL
DS39606E-page 9
P10
Data Payload
16-Bit
1
n
2
n

Related parts for PIC18LF8585-I/PT