PIC18F6520-I/PT Microchip Technology Inc., PIC18F6520-I/PT Datasheet - Page 75

no-image

PIC18F6520-I/PT

Manufacturer Part Number
PIC18F6520-I/PT
Description
64 PIN, 32 KB FLASH, 2048 RAM, 52 I/O
Manufacturer
Microchip Technology Inc.
Datasheet

Specifications of PIC18F6520-I/PT

A/d Inputs
12-Channel, 10-Bit
Comparators
2
Cpu Speed
10 MIPS
Eeprom Memory
1024 Bytes
Input Output
52
Interface
I2C/SPI/USART
Memory Type
Flash
Number Of Bits
8
Package Type
64-pin TQFP
Programmable Memory
32K Bytes
Ram Size
2K Bytes
Speed
40 MHz
Timers
2-8 bit, 3-16-bit
Voltage, Range
2-5.5 V
Lead Free Status / Rohs Status
RoHS Compliant part Electrostatic Device

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
PIC18F6520-I/PT
Manufacturer:
MICROCHIP
Quantity:
319
Part Number:
PIC18F6520-I/PT
Manufacturer:
Microchip Technology
Quantity:
10 000
Part Number:
PIC18F6520-I/PT
Manufacturer:
MIC
Quantity:
20 000
Part Number:
PIC18F6520-I/PT
0
6.2
The External Memory Interface implemented in
PIC18F8X20 devices operates only in 16-bit mode.
The mode selection is not software configurable, but is
programmed via the configuration bits.
The WM<1:0> bits in the MEMCON register determine
three types of connections in 16-bit mode. They are
referred to as:
• 16-bit Byte Write
• 16-bit Word Write
• 16-bit Byte Select
These three different configurations allow the designer
maximum flexibility in using 8-bit and 16-bit memory
devices.
For all 16-bit modes, the Address Latch Enable (ALE)
pin indicates that the address bits A<15:0> are
available on the External Memory Interface bus.
Following the address latch, the Output Enable signal
(OE) will enable both bytes of program memory at once
to form a 16-bit instruction word. The Chip Enable
signal (CE) is active at any time that the microcontroller
accesses external memory, whether reading or writing;
it is inactive (asserted high) whenever the device is in
Sleep mode.
FIGURE 6-1:
 2004 Microchip Technology Inc.
Note 1: This signal only applies to table writes. See Section 5.1 “Table Reads and Table Writes”.
PIC18F8X20
16-bit Mode
AD<15:8>
A<19:16>
AD<7:0>
PIC18F6520/8520/6620/8620/6720/8720
WRH
WRL
ALE
CE
OE
16-BIT BYTE WRITE MODE EXAMPLE
373
373
D<7:0>
A<19:0>
D<15:8>
In Byte Select mode, JEDEC standard Flash memories
will require BA0 for the byte address line and one I/O
line to select between Byte and Word mode. The other
16-bit modes do not need BA0. JEDEC standard static
RAM memories will use the UB or LB signals for byte
selection.
6.2.1
Figure 6-1 shows an example of 16-bit Byte Write
mode for PIC18F8X20 devices. This mode is used for
two separate 8-bit memories connected for 16-bit oper-
ation. This generally includes basic EPROM and Flash
devices. It allows table writes to byte-wide external
memories.
During a TBLWT instruction cycle, the TABLAT data is
presented on the upper and lower bytes of the
AD15:AD0 bus. The appropriate WRH or WRL control
line is strobed on the LSb of the TBLPTR.
16-BIT BYTE WRITE MODE
A<x:0>
D<7:0>
CE
OE
(MSB)
WR
(1)
Address Bus
Data Bus
Control Lines
D<7:0>
DS39609B-page 73
A<x:0>
D<7:0>
CE
OE
(LSB)
WR
(1)

Related parts for PIC18F6520-I/PT