Specifications

Application Note 073
—————————————————
Product and company names are trademarks or trade names of their respective companies.
340993B-01 © Copyright 1997 National Instruments Corporation. All rights reserved. December 1997
Using the TNT4882 in an MC68340 System
Andrew Thomson
Faisal Habib
Introduction
This application note is written for GPIB instrument designers who use the Motorola MC68340 processor. It describes
the hardware interface required to create a fully functional GPIB device using the National Instruments TNT4882
GPIB interface chip with the Motorola MC68340.
In this document we show how to create an interface that will meet the following specifications:
Complete IEEE 488.2 Talker/Listener functionality based on the TNT4882-AQ
8 and 16-bit data transfers
Polled I/O, Interrupt Driven I/O, and Direct Memory Access (DMA)
16-bit Single Address DMA transfers between RAM and TNT4882
Note that the terms assert (assertion) and negate (negation) are used to avoid confusion when dealing with a mixture
of active low and active high signals. The term assert (assertion) means that a signal is active or true, independent of
the level represented by a high or low voltage. The term negate (negation) means that a signal is inactive or false, inde-
pendent of the level represented by a high or low voltage.
Source files for the test program are included in the Appendix. Before you use the hardware test program, make any
changes necessary to the header files and recompile the program. We used Microtec Research Software Development
Tools, Version 4.2D for DOS and an M6834OEVS System.
Hardware Description
The TNT4882 has two different pin configurations – ISA and Generic. This application uses the TNT4882 in Generic
pin configuration. Refer to Chapter 5 in the TNT4882 Programmer Reference Manual for a Generic pin description.
Figure 1 shows the MC68340 and TNT4882 hardware interface diagram. The interface logic can be implemented
easily in a Programmable Array Logic (PAL) device such as a 16V8.

Summary of content (36 pages)