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

no-image

PIC18F85J90-I/PT

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

Specifications of PIC18F85J90-I/PT

Core Size
8-Bit
Program Memory Size
32KB (16K x 16)
Core Processor
PIC
Speed
40MHz
Connectivity
I²C, SPI, UART/USART
Peripherals
Brown-out Detect/Reset, LCD, LVD, POR, PWM, WDT
Number Of I /o
67
Program Memory Type
FLASH
Ram Size
2K x 8
Voltage - Supply (vcc/vdd)
2 V ~ 3.6 V
Data Converters
A/D 12x10b
Oscillator Type
Internal
Operating Temperature
-40°C ~ 85°C
Package / Case
80-TFQFP
Controller Family/series
PIC18
No. Of I/o's
67
Ram Memory Size
2KB
Cpu Speed
40MHz
No. Of Timers
4
No. Of Pwm Channels
2
Processor Series
PIC18F
Core
PIC
Data Bus Width
8 bit
Data Ram Size
2 KB
Interface Type
AUSART, EUSART, I2C, SPI
Maximum Clock Frequency
40 MHz
Number Of Programmable I/os
67
Number Of Timers
4
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, DM163030
Minimum Operating Temperature
- 40 C
On-chip Adc
10 bit, 12 Channel
Package
80TQFP
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
AC162079 - HEADER MPLAB ICD2 18F85J90 64/80AC164328 - MODULE SKT FOR 80TQFP
Eeprom Size
-
Lead Free Status / Rohs Status
 Details

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
PIC18F85J90-I/PT
Manufacturer:
MICROCHIP
Quantity:
3 000
Part Number:
PIC18F85J90-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 PIC18F85J90-I/PT