National Semiconductor PC16552C Manual

Dual uart/dma micro channel adapter

Advertisement

Quick Links

PC16552C Dual UART DMA
Micro Channel Adapter

Table Of Contents

INTRODUCTION AND FEATURES
An overview of the Micro Channel Programmable Option
Select (POS) a unique feature which replaces all adapter
jumpers and switches with programmable configuration reg-
isters
B Adapter Description File (ADF)
E PC16552C Adapter POS Register Design
General information on the adapter interface to the Micro
Channel applicable to any adapter design and specific in-
formation on the design of the PC16552C Adapter
E Interrupts
An overview of the bus arbitration system implemented on
all Micro Channel machines
The design of the PC16552C Adapter's Local Arbiter and
interface to the UART DMA request signals is described in
detail
D Arbitration Vector Selection
F Fairness
Brief description of a possible EISA bus serial port DMA
design
APPENDICES
A ADF Listing ( 6e6D adf)
B PAL Equations
C 1995 National Semiconductor Corporation
Application Note 770
Greg DeJager
July 1991
APPENDICES (Continued)
C Schematics
D Layout Drawing
E Bill of Materials
INTRODUCTION
The PC16552C integrates two NS16550AF UARTs into a
single package The product provides control for two inde-
pendent PC-AT and PS 2 compatible serial ports In ad-
dition the on-board FIFOs and DMA request strobes of the
PC16552C create the basis for a high-performance serial
port design
Advancing modem technology is causing a substantial in-
crease in serial transfer baud rates putting a severe strain
on existing serial port designs Personal computer systems
are unable to keep up with transfer rates that are now
reaching 115k baud The PC16552C allows the serial port
designer to design ports that can handle these faster data
rates Transmitter and Receiver FIFOs buffer up to 16 bytes
of data each and request strobes signal the system DMA
controller to transfer data to empty transmitter FIFOs and
from full receiver FIFOs DMA burst transfers can move
data from the serial I O ports to system RAM very quickly
with no latency time and no attention from the system CPU
This document contains a user's guide for the adapter and
discusses the considerations involved in designing any Mi-
cro Channel Adapter equipped with a DMA slave It gives an
overview of the Micro Channel POS mechanism adapter
interface and bus arbitration system The design of the
PC16552C Serial DMA Adapter intended as an example of
a DMA slave serial adapter is described in detail A descrip-
ton of the software necessary to facilitate four simultaneous
file transfers serviced by the Micro Channel DMA controller
is also included
PC16552C ADAPTER FEATURES

Two independent PC-AT and PS 2 compatible serial
ports with FIFOs capable of running all existing NS16450
and NS16550AF software

All configuration done through POS mechanism No
hardware jumpers or switches

Serial ports relocatable to all eight standard I O address-
es

Serial interrupts available on IRQ3 and IRQ4

Hardware interface between UART FIFO DMA requests
and the Micro Channel bus arbitration and DMA system

POS configurable priority levels for UART DMA requests

Support for software enable disable of UART DMA re-
quests

POS configurable Fairness feature for UART DMA re-
quests

Automatic interrupt generation and DMA request disable
upon receipt of DMA Terminal Count

Two DB-9 connectors for the two RS-232 compatible se-
rial ports
RRD-B30M75 Printed in U S A

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the PC16552C and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

Summary of Contents for National Semiconductor PC16552C

  • Page 1: Table Of Contents

    MICRO CHANNEL BUS INTERFACE reaching 115k baud The PC16552C allows the serial port designer to design ports that can handle these faster data General information on the adapter interface to the Micro...
  • Page 2: Pc16552C Adapter Block Diagram

    PC16552C Adapter Block Diagram TL F 11195 – 1...
  • Page 3: Pc16552C Adapter User's Guide

    ADFs are given names corresponding to the ID of the card it different options available is to configure The PC16552C Adapter has an ID number of The DMA demo programs included on the Adapter’s disk- 6E6Dh giving it an ADF name of...
  • Page 4: D Pos Registers

    3 input PC16552C Adapter and the Micro Channel provides good pins which are connected to address bus bits 14 13 and 12 POS register support For all 8 POS registers the 82C611...
  • Page 5: Micro Channel Bus Interface

    RX1 ARB0 fines which type the 82C611 supports A single wait state is POS105 needed to support DMA transfers from the PC16552C so the bit is programmed for synchronous mode The 82C611 This register is implemented internal to the 82C611 The...
  • Page 6: C Address Decode

    1 and bits 2– 0 with the bits expected for chan- PC16552C to be located at any two of the 8 ‘‘standard’’ IBM nel 2 The 82C611 will assert MFP3 when a match is made...
  • Page 7: Micro Channel Bus Arbitration

    The INTR GAL on the PC16552C Adapter drives the IRQ3 if another device drives PREEMPT active thus postponing and IRQ4 signals INTR inputs the interrupt signals from the any further transfers until it wins the system channel again PC16552C (INTR1 and INTR2) and the TC interrupt (see...
  • Page 8: Pc16552C Adapter Dma Interface Design

    W Time to decode S0 S1 and M IO signals into IOR and IOW strobes tRXI tWXI RXRDYTXRDY inactive from leading edge of read and write strobes respectively (PC16552C DMA request signal spec) tLOG Propagation delay of request signal through logic controlling BURST...
  • Page 9: B Dma Request Enable

    DMA requests selection of the proper arbitration vec- interface design are tR W and tLOG tRXI tWXI are con- trolled by the PC16552C and tRC is created by the Micro tor local bus arbitration fairness and Terminal Count inter-...
  • Page 10: E Local Arbiter

    Selection of Arbitration Vector signal and a 2-bit code S1 and S0 (not to be confused with The PC16552C Adapter is designed to store four different the bus signals S1 S0) corresponding to the request select- arbitration vectors which correspond to the 4 DMA channels ed The machine remains in the request state until the cor- programmed to service the UART’s RXRDY and TXRDY...
  • Page 11 1 (en- ARB state abled) and at least one other UART request or XFR1 The PC16552C Adapter has won arbitration This is PREEMPT is active Output FR degating sig- an intermediate state to XFR2 needed to prevent nal is active...
  • Page 12: G Terminal Count Interrupt

    The the number of bytes programmed into its Terminal Count rising edge clears the slave latch Register (see Software) The PC16552C Adapter uses this SOFTWARE pulse to generate an IRQ3 interrupt and disable the DMA...
  • Page 13: B Driver Programs

    Enables UART DMA request by writing xFh to bus DRQ signals No local arbitration is necessary DMA EN An EISA bus design utilizing the PC16552C DMA request waits for all file transfers to complete signals would be much simpler than the Micro Channel de-...
  • Page 14 Adapter Description File Listing 6E6D adf Adapterld 06E6Dh AdapterName ‘‘NSC PC16552C Dual Async Adapter’’ NumBytes 4 NamedItem Prompt ‘Connector 1‘ pos 0 4X011XXXXb pos 1 4XX000XXXb choice ‘SERIAL 1‘ io 03f8h-03ffh 02f7h-02f7h int 4 pos 0 4X001XXXXb pos 1 4XX000XXXb choice ‘SERIAL 2‘...
  • Page 15 6 Help ‘‘This selects the arbitration level and DMA channel for Channel 1 Transmitter ’’ PC16552C Adapter PAL State Machine Equations BUSARB Local Arbiter State Machine The following asynchronous state machine controls the Local Arbiter on the Adapter Card The device used is a 20L8 PAL...
  • Page 16 arbgnt buswin chrst xfer1 chrst xfer2 dreq arbgnt chrst enarb4arb xfer1 xfer2 ‘enables arb vector (ARB0-3) on bus ack4xfer 2 ‘acknowledge signal enable burst4xfer2 ‘BURST on MCA Bus (TRI-STATE output) enable preout4 q0 ‘PREEMPT on MCA Bus (TRI-STATE output) burst40 preout40 ARBCON Local Arbiter-Arbitration Bus Interface Logic This logic drives and monitors the 4-bit Arbitration Bus during arbitration cycles The device used is a 20L10 PAL...
  • Page 17 FAIR1 FAIR2 Local Arbiter Fairness State Machines These equations describe two independent state machines which gate the RXRDY1 and RXRDY2 signals in such a way that they obey the Fairness algorithm Both machines are contained in a 16L8 PAL The equations for the transmitter signal state machines (contained in FAIR2 PAL) are identical to these equations except that the receiver signals are exchanged for corre- sponding transmitter signals and vice versa Outputs rx1q1 rx1q0 rx2q1 rx2q0 rx1fair rx2fair pins 13 14 15 16 17 18...
  • Page 18 TL F 11195 – 7...
  • Page 19: Tl F 11195

    TL F 11195– 8...
  • Page 23 TL F 11195 – 12...
  • Page 24: National Semiconductor

    National Semiconductor National Semiconductor National Semiconductor National Semiconductor National Semiconductores...

Table of Contents