MC68000 MOTOROLA [Motorola, Inc], MC68000 Datasheet - Page 355

no-image

MC68000

Manufacturer Part Number
MC68000
Description
Manufacturer
MOTOROLA [Motorola, Inc]
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
MC68000-10/BZAJC
Manufacturer:
MOT
Quantity:
26
Part Number:
MC68000-8BXAJ
Manufacturer:
MOT
Quantity:
9
Part Number:
MC680008FN8
Manufacturer:
FREESCALE
Quantity:
8 831
Part Number:
MC680008L8
Manufacturer:
AMD
Quantity:
42
Part Number:
MC68000FN10
Manufacturer:
MOT
Quantity:
5 510
Part Number:
MC68000FN10
Manufacturer:
MOTOROLA/摩托罗拉
Quantity:
20 000
Part Number:
MC68000FN12
Manufacturer:
MOT
Quantity:
5 510
Part Number:
MC68000L8
Manufacturer:
MOTOROLA/摩托罗拉
Quantity:
20 000
Part Number:
MC68000P10
Manufacturer:
MOT
Quantity:
1 000
Part Number:
MC68000P10
Manufacturer:
MOT
Quantity:
20 000
For proper timing of write cycles, it is important to know how much time elapses between
CS negated and the data out hold time. With a 16.67-MHz MC68302, this value is a 10-ns
minimum. Thus, on a CS-controlled RAM write cycle, the RAM required data hold time must
be <= 10 ns. For the MCM6206, it is 0 ns.
D.2 SWITCHING THE EXTERNAL ROM AND RAM USING THE MC68302
When designing with the MC68302 (or simply the M68000), one of the tasks often required
is to switch the locations of the ROM and RAM in the system. This is because the reset vec-
tor needs to be supplied from ROM; whereas, the rest of the exception vectors are normally
included in RAM so that they can be modified. The exception vector area extends from $0
to $FF.
The MC68302 makes this switch easy to perform, requiring no additional glue logic. Two
chip-select lines and a few temporary locations of the dual-port RAM are used. For this ex-
ample, 256 kbytes of EPROM and 64 kbytes of RAM are used.
D.2.1 Conditions at Reset
We physically connect CS0 to the ROM and CS1 to the RAM. After reset, the MC68302 de-
faults to having only one chip select enabled (CS0), with a base address of $0 and a range
of 8 kbytes. The ROM should be programmed with an initial set of interrupt vectors, and the
reset vector should point to some location within the first 8 k of ROM. CS1 is disabled at re-
set so the RAM cannot be accessed. Also, the base address register (BAR) in the MC68302
has not been written; therefore, the dual-port RAM and other on-chip peripherals cannot be
accessed. The status register (SR) of the M68000 core is $2700, putting the core in super-
visor mode with interrupts masked. The SR is left in this condition until the ROM and RAM
are switched.
D.2.2 First Things First
The following situation now exists:
Once the reset vector has been taken, the BAR at location $0F2 should be written to locate
the MC68302 dual-port RAM and on-chip peripheral registers in memory. In this example,
$700000 is chosen as the starting point of the 4 k block of the MC68302 internal address
space; thus, we write $0700 to BAR. BAR exists internal to the MC68302 and is easily ac-
cessed even though it overlaps memory with ROM. CS0 will not activate on accesses to the
BAR.
Now that the MC68302 can be fully accessed, the ROM and RAM chip selects can be mod-
ified. First, the option register (OR) of CS0 can be extended to include all 256 kbytes by writ-
ing the base address mask in OR0 with 11111100000b. At this time, the DTACK field may
be changed to reduce the number of wait states from six to something lower. Also, while writ-
MOTOROLA
• ROM—Begins at $0; only first 8 kbytes are valid for programming.
• RAM—Undefined.
• MC68302—Undefined (except BAR at $0F2 and SCR at $0F4).
2-1/2 clocks –data setup time–CS maximum asserted time = 150 - 7 - 40 = 103 ns.
MC68302 USER’S MANUAL
MC68302 Applications
D-5

Related parts for MC68000