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

IC PIC MCU FLASH 32KX16 64TQFP

PIC18F6680-I/PT

Manufacturer Part Number
PIC18F6680-I/PT
Description
IC PIC MCU FLASH 32KX16 64TQFP
Manufacturer
Microchip Technology
Series
PIC® 18Fr

Specifications of PIC18F6680-I/PT

Program Memory Type
FLASH
Program Memory Size
64KB (32K x 16)
Package / Case
64-TFQFP
Core Processor
PIC
Core Size
8-Bit
Speed
40MHz
Connectivity
CAN, I²C, SPI, UART/USART
Peripherals
Brown-out Detect/Reset, LVD, POR, PWM, WDT
Number Of I /o
52
Eeprom Size
1K x 8
Ram Size
3.25K x 8
Voltage - Supply (vcc/vdd)
4.2 V ~ 5.5 V
Data Converters
A/D 16x10b
Oscillator Type
External
Operating Temperature
-40°C ~ 85°C
Processor Series
PIC18F
Core
PIC
Data Bus Width
8 bit
Data Ram Size
3.25 KB
Interface Type
I2C/SPI/AUSART/CAN
Maximum Clock Frequency
40 MHz
Number Of Programmable I/os
53
Number Of Timers
5
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
Minimum Operating Temperature
- 40 C
On-chip Adc
12-ch x 10-bit
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
For Use With
XLT64PT5 - SOCKET TRAN ICE 64MQFP/TQFPAC164319 - MODULE SKT MPLAB PM3 64TQFPDV007003 - PROGRAMMER UNIVERSAL PROMATE II
Lead Free Status / Rohs Status
Lead free / RoHS Compliant

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
PIC18F6680-I/PT
Manufacturer:
Microchip Technology
Quantity:
10 000
Part Number:
PIC18F6680-I/PT
Manufacturer:
Microch
Quantity:
480
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 PIC18F6680-I/PT