Electronic Components Datasheet Search
  English  ▼
ALLDATASHEET.NET

X  

PIC18F6X2X Datasheet(PDF) 75 Page - Microchip Technology

Part # PIC18F6X2X
Description  64/80-Pin High Performance, 64-Kbyte Enhanced FLASH Microcontrollers with A/D
PDF  386 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  MICROCHIP [Microchip Technology]
Direct Link  http://www.microchip.com
Logo MICROCHIP - Microchip Technology

PIC18F6X2X Datasheet(HTML) 75 Page - Microchip Technology

Back Button PIC18F6X2X Datasheet HTML 71Page - Microchip Technology PIC18F6X2X Datasheet HTML 72Page - Microchip Technology PIC18F6X2X Datasheet HTML 73Page - Microchip Technology PIC18F6X2X Datasheet HTML 74Page - Microchip Technology PIC18F6X2X Datasheet HTML 75Page - Microchip Technology PIC18F6X2X Datasheet HTML 76Page - Microchip Technology PIC18F6X2X Datasheet HTML 77Page - Microchip Technology PIC18F6X2X Datasheet HTML 78Page - Microchip Technology PIC18F6X2X Datasheet HTML 79Page - Microchip Technology Next Button
Zoom Inzoom in Zoom Outzoom out
 75 / 386 page
background image
 2003 Microchip Technology Inc.
Advance Information
DS39612A-page 73
PIC18F6X2X/8X2X
6.0
EXTERNAL MEMORY
INTERFACE
The external memory interface is a feature of the
PIC18F8X2X devices that allows the controller to
access external memory devices (such as FLASH,
EPROM, SRAM, etc.) as program or data memory.
The physical implementation of the interface uses 27
pins. These pins are reserved for external address/data
bus functions; they are multiplexed with I/O port pins on
four ports. Three I/O ports are multiplexed with the
address/data bus, while the fourth port is multiplexed
with the bus control signals. The I/O port functions are
enabled when the EBDIS bit in the MEMCON register
is set (see Register 6-1). A list of the multiplexed pins
and their functions is provided in Table 6-1.
As implemented in the PIC18F8X2X devices, the inter-
face operates in a similar manner to the external
memory interface introduced on PIC18C601/801
microcontrollers. The most notable difference is that
the interface on PIC18F8X2X devices only operates in
16-bit modes. The 8-bit mode is not supported.
For a more complete discussion of the operating
modes that use the external memory interface, refer to
Section 4.1.1, “PIC18F6X2X/8X2X Program Memory
Modes”.
6.1
Program Memory Modes and the
External Memory Interface
As previously noted, PIC18F8X2X controllers are
capable of operating in any one of four Program Mem-
ory modes using combinations of on-chip and external
program memory. The functions of the multiplexed port
pins depends on the Program Memory mode selected,
as well as the setting of the EBDIS bit.
In Microprocessor Mode, the external bus is always
active and the port pins have only the external bus
function.
In Microcontroller Mode, the bus is not active and
the pins have their port functions only. Writes to the
MEMCOM register are not permitted.
In Microprocessor with Boot Block or Extended
Microcontroller Mode, the external program memory
bus shares I/O port functions on the pins. When the
device is fetching or doing table read/table write oper-
ations on the external program memory space, the
pins will have the external bus function. If the device is
fetching and accessing internal program memory loca-
tions only, the EBDIS control bit will change the pins
from external memory to I/O port functions. When
EBDIS = 0, the pins function as the external bus.
When EBDIS = 1, the pins function as I/O ports.
REGISTER 6-1:
MEMCON REGISTER
Note:
The
external
memory
interface
is
not
implemented on PIC18F6X2X (64-pin) devices.
R/W-0
U-0
R/W-0
R/W-0
U-0
U-0
R/W-0
R/W-0
EBDIS
—WAIT1
WAIT0
—
—WM1
WM0
bit7
bit0
bit 7
EBDIS: External Bus Disable bit
1
= External system bus disabled, all external bus drivers are mapped as I/O ports
0
= External system bus enabled and I/O ports are disabled
bit 6
Unimplemented: Read as ‘0’
bit 5-4
WAIT1:WAIT0: Table Reads and Writes Bus Cycle Wait Count bits
11
= Table reads and writes will wait 0 TCY
10
= Table reads and writes will wait 1 TCY
01
= Table reads and writes will wait 2 TCY
00
= Table reads and writes will wait 3 TCY
bit 3-2
Unimplemented: Read as ‘0’
bit 1-0
WM1:WM0: TBLWRT Operation with 16-bit Bus bits
1x
= Word Write mode: TABLAT<0> and TABLAT<1> word output, WRH active when
TABLAT<1> written
01
= Byte Select mode: TABLAT data copied on both MS and LS Byte, WRH and (UB or LB)
will activate
00
= Byte Write mode: TABLAT data copied on both MS and LS Byte, WRH or WRL will activate
Note:
The MEMCON register is unimplemented and reads all ‘0’s when the device is in
Microcontroller mode.
Legend:
R = Readable bit
W = Writable bit
U = Unimplemented bit, read as ‘0’
- n = Value at POR
‘1’ = Bit is set
‘0’ = Bit is cleared
x = Bit is unknown



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100  ...More


Datasheet Download

Go To PDF Page


Link URL



Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Contact us   |   Privacy Policy   |   Link to Datasheet    |   Link Exchange   |   Manufacturer List
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com