PIC18F65J10-I/PT Microchip Technology, PIC18F65J10-I/PT Datasheet - Page 16

IC PIC MCU FLASH 16KX16 64TQFP

PIC18F65J10-I/PT

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

Specifications of PIC18F65J10-I/PT

Program Memory Type
FLASH
Program Memory Size
32KB (16K x 16)
Package / Case
64-TFQFP
Core Processor
PIC
Core Size
8-Bit
Speed
40MHz
Connectivity
I²C, SPI, UART/USART
Peripherals
Brown-out Detect/Reset, POR, PWM, WDT
Number Of I /o
50
Ram Size
2K x 8
Voltage - Supply (vcc/vdd)
2 V ~ 3.6 V
Data Converters
A/D 11x10b
Oscillator Type
Internal
Operating Temperature
-40°C ~ 85°C
Processor Series
PIC18F
Core
PIC
Data Bus Width
8 bit
Data Ram Size
2 KB
Interface Type
SPI/I2C/EUSART
Maximum Clock Frequency
40 MHz
Number Of Programmable I/os
50
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, DV164136, DM183022, DM183032
Minimum Operating Temperature
- 40 C
On-chip Adc
11-ch x 10-bit
Package
64TQFP
Device Core
PIC
Family Name
PIC18
Maximum Speed
40 MHz
Operating Supply Voltage
2.5|3.3 V
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
For Use With
MA180015 - MODULE PLUG-IN 18F87J10 FOR HPCAC162062 - HEADER INTRFC MPLAB ICD2 64/80PAC164327 - MODULE SKT FOR 64TQFP
Eeprom Size
-
Lead Free Status / Rohs Status
Lead free / RoHS Compliant

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
PIC18F65J10-I/PT
Manufacturer:
FSC
Quantity:
1 000
Part Number:
PIC18F65J10-I/PT
Manufacturer:
Microchip Technology
Quantity:
10 000
PIC18F6XJXX/8XJXX
3.2
Programming code memory is accomplished by first
loading data into the write buffer and then initiating a
programming sequence. The write buffer for all
PIC18F6XJXX/8XJXX devices is 64 bytes. It can be
mapped to any integral boundary of 64 bytes,
beginning at 000000h. The actual memory write
sequence takes the contents of this buffer and
programs the 64 bytes of code memory that contains
the Table Pointer.
Write buffer locations are not cleared following a write
operation. The buffer retains its data after the write is
complete. This means that the buffer must be written
with 64 bytes on each operation. If there are locations
in the code memory that are to remain empty, the
corresponding locations in the buffer must be filled with
FFFFh. This avoids rewriting old data from the previous
cycle.
The programming duration is internally timed. After a
Start Programming command is issued (4-bit com-
mand, ‘1111’), a NOP is issued, where the 4th PGC is
held high for the duration of the programming time, P9.
The
PIC18F6XJXX/8XJXX device is shown in Table 3-3.
The flowchart shown in Figure 3-4 depicts the logic
necessary to completely write a PIC18F6XJXX/8XJXX
TABLE 3-3:
DS39644L-page 16
Step 1: Enable writes.
Step 2: Load write buffer.
Step 3: Repeat for all but the last two bytes. Any unused locations should be filled with FFFFh.
Step 4: Load write buffer for last two bytes.
To continue writing data, repeat steps 2 through 4, where the Address Pointer is incremented by 2 at each iteration of the loop.
Command
0000
0000
0000
0000
0000
0000
0000
1101
1111
0000
4-Bit
code
Code Memory Programming
84 A6
0E <Addr[21:16]>
6E F8
0E <Addr[15:8]>
6E F7
0E <Addr[7:0]>
6E F6
<MSB><LSB>
<MSB><LSB>
00 00
WRITE CODE MEMORY CODE SEQUENCE
sequence
Data Payload
to
BSF
MOVLW <Addr[21:16]>
MOVWF TBLPTRU
MOVLW <Addr[15:8]>
MOVWF TBLPTRH
MOVLW <Addr[7:0]>
MOVWF TBLPTRL
Write 2 bytes and post-increment address by 2.
Write 2 bytes and start programming.
NOP - hold PGC high for time P9.
program
EECON1, WREN
a
device. The timing diagram that details the Start
Programming command and parameter P9 is shown in
Figure 3-5.
Note 1: To maintain the endurance specification
Core Instruction
2: The TBLPTR register must point to the
of the Flash program memory cells, each
64-byte block of program memory should
never be programmed more than once
between erase operations. If any byte
within a 64-byte block of program
memory is written, that entire block must
not be written to again until a Bulk Erase
on the part, or a Row Erase on the row
containing the modified 64-byte block,
has been performed. This only applies to
the PIC18F87J10, PIC18F85J90 and
PIC18F85J11 families. The PIC18F87J50,
PIC18F87J11, PIC18F87J90, PIC18F87J93
and PIC18F87J72 families use the 8 MHz
FRC oscillator for programming, and there-
fore, can withstand up to 4 block write
operations before needing to be erased.
same region when initiating the program-
ming sequence as it did when the write
buffers were loaded.
 2009 Microchip Technology Inc.

Related parts for PIC18F65J10-I/PT