9/20/6Lecture 12 - Interfacing Devices1 Interfacing Devices to the 68000.

18
9/20/6 Lecture 12 - Interfacing Devices 1 Interfacing Devices to the 68000

Transcript of 9/20/6Lecture 12 - Interfacing Devices1 Interfacing Devices to the 68000.

Page 1: 9/20/6Lecture 12 - Interfacing Devices1 Interfacing Devices to the 68000.

9/20/6 Lecture 12 - Interfacing Devices 1

Interfacing Devices to the 68000

Page 2: 9/20/6Lecture 12 - Interfacing Devices1 Interfacing Devices to the 68000.

9/20/6 Lecture 12 - Interfacing Devices 2

Interfacing devices Read cycle timing parameters. Write cycle timing parameters Memory Device parameters Other device issues

Page 3: 9/20/6Lecture 12 - Interfacing Devices1 Interfacing Devices to the 68000.

9/20/6 Lecture 12 - Interfacing Devices 3

Read cycle timing For interfacing the

arrows matter Indicate the

precedence of signals for interfacing

Page 4: 9/20/6Lecture 12 - Interfacing Devices1 Interfacing Devices to the 68000.

9/20/6 Lecture 12 - Interfacing Devices 4

Timing continued For a slower

device How fast/slow a

device can be interfaced?

tDALDI is 0 to 90ns But this is FROM

memory

Page 5: 9/20/6Lecture 12 - Interfacing Devices1 Interfacing Devices to the 68000.

9/20/6 Lecture 12 - Interfacing Devices 5

Parameters Read cycle parameters

Page 6: 9/20/6Lecture 12 - Interfacing Devices1 Interfacing Devices to the 68000.

9/20/6 Lecture 12 - Interfacing Devices 6

Memory timing Must consider timing

of memory device

Page 7: 9/20/6Lecture 12 - Interfacing Devices1 Interfacing Devices to the 68000.

9/20/6 Lecture 12 - Interfacing Devices 7

Memory Pinout of the 6116 static RAM

Page 8: 9/20/6Lecture 12 - Interfacing Devices1 Interfacing Devices to the 68000.

9/20/6 Lecture 12 - Interfacing Devices 8

Items of note Chip is 2K x 8-bit Data word is a byte Must use LDS* and UDS* when configuring

memory with the device In general memory chips are 1-bit, 1-byte, or

1-word in width of the data interface.

Page 9: 9/20/6Lecture 12 - Interfacing Devices1 Interfacing Devices to the 68000.

9/20/6 Lecture 12 - Interfacing Devices 9

Connecting up the 6116

Page 10: 9/20/6Lecture 12 - Interfacing Devices1 Interfacing Devices to the 68000.

Ended here on Monday 11/15

9/20/6 Lecture 12 - Interfacing Devices 10

Page 11: 9/20/6Lecture 12 - Interfacing Devices1 Interfacing Devices to the 68000.

9/20/6 Lecture 12 - Interfacing Devices 11

Combined 68000, 6116 timing

Page 12: 9/20/6Lecture 12 - Interfacing Devices1 Interfacing Devices to the 68000.

9/20/6 Lecture 12 - Interfacing Devices 12

The write cycle Timing of processor and memory device must

work for both reading device and writing device It is possible that timing will work for read but

not for write for a given device I/O devices may be such that they are only

written to or read from Example: On modern motherboards you may

need matched DIMMs in pairs for the faster memory access speeds. (4GB Dual Channel DDR3 RAM – PC12800, 1600MHz (2x2048MB)

Page 13: 9/20/6Lecture 12 - Interfacing Devices1 Interfacing Devices to the 68000.

9/20/6 Lecture 12 - Interfacing Devices 13

Write cycle timing

Page 14: 9/20/6Lecture 12 - Interfacing Devices1 Interfacing Devices to the 68000.

9/20/6 Lecture 12 - Interfacing Devices 14

Write cycle parameters

Page 15: 9/20/6Lecture 12 - Interfacing Devices1 Interfacing Devices to the 68000.

9/20/6 Lecture 12 - Interfacing Devices 15

Write cycle timing of 6116

Page 16: 9/20/6Lecture 12 - Interfacing Devices1 Interfacing Devices to the 68000.

9/20/6 Lecture 12 - Interfacing Devices 16

68000-6116 combination for write

Page 17: 9/20/6Lecture 12 - Interfacing Devices1 Interfacing Devices to the 68000.

9/20/6 Lecture 12 - Interfacing Devices 17

General notes Can use memory or I/O devices that are

designed for the processor family Easy generation and use of interface pins such as

CS*, AS*, DTACK*, etc. Little glue logic (sometimes almost none)

Use of generic memory and I/O devices May need a fair amount of glue logic and have to

generate some signals May be slower than family devices

Page 18: 9/20/6Lecture 12 - Interfacing Devices1 Interfacing Devices to the 68000.

9/20/6 Lecture 12 - Interfacing Devices 18

General methodology Read cycle timing parameters and specifically

those that matter in device interfacing Then the same for write Memory chip timing parameters and how they

matches (or don’t) with what we havd