Quatech ES-100 user manual Serial Port Functional Description

Page 17

6.SERIAL PORT FUNCTIONAL DESCRIPTION

This section contains information intended for advanced users planning to do custom programming with the ES-100D. The information presented here is a technical description of the interface to the 16450 or 16550 UART.

The 16450 UART is an improved functional equivalent of the 8250 UART, performing serial-to-parallel conversion on received data and parallel-to-serial conversion on output data. Designed to be compatible with the 16450, the 16550 UART enters character (non-FIFO) mode on reset. In this mode, the 16550 appears as a 16450 to application software.

An additional mode, FIFO mode, can be invoked through software to reduce CPU overhead. FIFO mode increases performance by providing two

16-byte hardware buffers, one for transmit and one for receive. This can reduce the frequency of interrupts issued to the CPU by the UART.

Other features of the 16450 and 16550 include:

Programmable baud rate, character length, parity, and number of stop bits.

Automatic control of start, stop, and parity bits. Independent and prioritized interrupts.

Transmit clock output / receive clock input.

The ES-100D's serial ports are controlled by 16450 or 16550 UARTs. The serial ports will generate interrupts in accordance with the bits set in the interrupt enable register of the UARTs. In order to maintain compatibility with earlier personal computer systems, the user-defined output OUT2 is used as an external interrupt enable and must be set active for interrupts to be generated. OUT2 is accessed through the UART's MODEM control register.

The following pages provide a brief summary of the internal registers available within the 16450 and 16550 UARTs. Registers and functions specific to the 16550 will be indicated with boldface italic notations.

12

Quatech ES-100D User's Manual

Image 17
Contents ES-100 Page Warranty Information Page FCC Class B EC Council Directive 89/336/EECGeneral Information Port Address IRQ InstallationDiagram of ES-100D Addressing Ports Setting the addressExamination of a serial port base address Interrupt Status register Interrupt Level IRQInterrupt Sharing Interrupt Status Register contents This page intentionally left blank External Connections ES-100D connector definitions Channel Output ConfigurationES-100D output connectors Serial Port Functional Description Dlab Accessing the Serial Port registersInterrupt Identification Register Interrupt Enable RegisterInterrupt Identification Register bit definitions RXT0 Fifo Control Register 16550 onlyEPS PEN Parity Line Control RegisterModem Control Register bit definitions Modem Control RegisterLine Status Register bit definitions Line Status RegisterScratchpad Register Modem Status RegisterWhen the receiver Fifo and receiver interrupts are enabled Fifo Interrupt Mode Operation 16550 Uart onlyFifo polled mode operation 16550 Uart only Value Values % Baud Rate Selection16450 16550 optional SpecificationsComputer will not boot up TroubleshootingVersion March Quatech Inc, ES-100 Manual