Chip-Select Registers; Table 6-7 Chip-Select Register A Description - Motorola MC68VZ328 User Manual

Motorola mc68vz328 integrated processor user's manual
Table of Contents

Advertisement

Programming Model
6.3.3

Chip-Select Registers

There are four 16-bit chip-select (CSA, CSB, CSC, and CSD) registers for each corresponding chip-select
base address register. Each register controls two chip-select signals and can be configured to select the
memory type and size of the memory range supported as well as to program the required wait states or use
the external DTACK signal. The settings for the registers are described in Table 6-7 through Table 6-10 on
page 6-14.
CSA
BIT
14
15
RO
TYPE
rw
0
0
RESET
Name
RO
Read-Only—This bit sets the chip-select to
Bit 15
read-only. Otherwise, read and write accesses
are allowed. A write to a read-only area will
generate a bus error if the BETEN bit of the
SCR is set. See Section 5.2.1, "System Control
Register," on page 5-2 for more information.
Reserved
Reserved
Bits 14–9
FLASH
Flash Memory Support—When enabled, this
Bit 8
bit provides support for flash memory by forc-
ing the LWE/UWE signal to go active after
chip-select.
Note:
This bit is used for expanded memory
size for CSD when the DRAM bit in the CSD
register is enabled.
BSW
Data Bus Width—This bit sets the data bus
Bit 7
width for this chip-select area.
WS3–1
Wait State—This field determines the number
Bits 6–4
of wait states added before an internal DTACK
signal is returned for this chip-select.
Note:
When using the external DTACK
signal, you must configure the
BUSW/DTACK/PG0 pin.
6-8
Chip-Select Register A
13
12
11
10
0
0
0
0
Table 6-7. Chip-Select Register A Description
Description
MC68VZ328 User's Manual
9
8
7
6
FLASH
BSW
rw
rw
rw
0
0
1
0
0x00B0
0 = Read/write.
1 = Read-only.
These bits are reserved and should be set to 0.
0 = The chip-select and LWE/UWE signals go active
at the same clock edge.
1 = The chip-select signal goes low 1 clock before
LWE/UWE.
0 = 8 bit.
1 = 16 bit.
000 = 0 + WS0 wait states.
001 = 2 + WS0 wait states.
010 = 4 + WS0 wait states.
011 = 6 + WS0 wait states.
100 = 8 + WS0 wait states.
101 = 10 + WS0 wait states.
110 = 12 + WS0 wait states.
111 = External DTACK.
When using the external DTACK signal, you must
select DTACK function in Port G.
WS0 is the DWS0, CWS0, BWS0, or AWS0 bit in
the CSCTRL1 register.
0x(FF)FFF110
5
4
3
2
1
WS3–1
SIZ
rw
rw
rw
rw
rw
1
1
0
0
0
Setting
BIT
0
EN
w
0

Advertisement

Table of Contents
loading

Table of Contents