Quatech DS-102 user manual Line Status Register bit definitions

Page 27

LINE STATUS REGISTER

This register is located at I/O address [base+5]. It is used to provide various types of status information concerning the data transfer. As Figure 22 shows, the Line Status Register indicates several types of errors, an empty transmit buffer, a ready receive buffer, or a break on the receive line.

BIT

DESCRIPTION

 

 

7

FFRX --- Error in RCVR FIFO (16550 FIFO mode only):

 

Always logic 0 in 16450 or 16550 non-FIFO mode.

 

Indicates one or more parity errors, framing errors, or break indications in the

 

receiver FIFO. FFRX is reset by reading the line status register.

 

 

6

TEMT --- Transmitter empty:

 

Indicates the transmitter holding register or FIFO (16550) AND the transmitter

 

shift register are empty and are ready to receive new data. TEMT is reset by

 

writing a character to the transmitter holding register.

 

 

5

THRE --- Transmitter holding register empty:

 

Indicates the transmitter holding register or FIFO (16550) is empty and it is

 

ready to accept new data. THRE is reset by writing data to the transmitter

 

holding register.

 

 

4

BI --- Break interrupt:

 

Indicates the receive data input has been in the spacing state (logic 0) for longer

 

than one full word transmission time. In 16550 FIFO mode, only one zero

 

character is loaded into the FIFO and transfers are disabled until the serial data

 

input goes to the mark state (logic 1) and a valid start bit is received.

 

 

3

FE --- Framing error:

 

Indicates the received character had an invalid stop bit. The stop bit following

 

the last data or parity bit was a 0 bit (spacing level).

 

 

2

PE --- Parity error:

 

Indicates that the received data does not have the correct parity.

 

 

1

OE --- Overrun error:

 

Indicates the receive buffer was not read before the next character was received

 

and the character is destroyed. In 16550 FIFO mode, indicates the receive FIFO

 

is full and another character has been shifted in. The character in the shift

 

register is destroyed but is not transferred to the FIFO.

 

 

0

DR --- Data ready:

 

Indicates data is present in the receive buffer or FIFO (16550). DR is reset by

 

reading the receive buffer register or receiver FIFO.

 

 

 

Figure 22 --- Line Status Register bit definitions

Bits BI, FE, PE, and OE are the sources of receiver line status

interrupts. The bits are reset by reading the line status register. In 16550 FIFO mode, these bits are associated with a specific character in the FIFO and the exception is revealed only when that character reaches the top of the FIFO.

Quatech DS-102 User's Manual

21

Image 27
Contents DS-102 Page External Connections VI. Serial Port Functional Description IV. Setting Interrupt Levels IrqsVII. Specifications VIII. Troubleshooting Table of ContentsPage Date of Purchase Model Number Page General Information Port Address IRQ Enabled ? Diagram of DS-102 Examination of a serial port base address Setting the addressSerial 1 uses SW1 Serial 2 uses SW2 Recommended addresses for serial ports Enabling or disabling portsThis page intentionally left blank Serial Channel Connection Interrupt Operation Interrupt SharingExternal Connections J7 -- Serial J8 -- Serial DS-102 connector definitions for RS-232-C This page intentionally left blank VI. Serial Port Functional Description Dlab Accessing the Serial Port registersInterrupt Identification Register Interrupt Enable RegisterInterrupt Identification Register bit definitions RXT0 Fifo Control Register 16550 onlyStkp EPS PEN Parity Line Control RegisterAre being used 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 Baud Rate Selection Factory default026 16450 16550 optional VII. SpecificationsComputer will not boot up

DS-102 specifications

Quatech DS-102 is a prominent device in the realm of serial device servers, designed to facilitate seamless communication between Ethernet networks and serial devices. This robust solution caters to various industries, including manufacturing, telecommunications, and data center operations, where reliable and efficient data transmission is critical.

A key feature of the Quatech DS-102 is its dual-port architecture, which allows users to connect two serial devices simultaneously. This capability is particularly advantageous in scenarios where multiple connections are necessary, enabling cost savings and simplified management. Supporting a wide range of serial protocols, including RS-232, RS-422, and RS-485, the DS-102 ensures compatibility with a diverse array of equipment.

The DS-102 employs advanced technology to ensure reliable performance. It utilizes a potent ARM-based processor that enhances data handling and decreases latency. Additionally, the device features embedded firmware that supports TCP/IP protocol stacks. This integration is pivotal for enabling remote access and management of serial devices, significantly improving operational efficiency.

One of the standout characteristics of the Quatech DS-102 is its ease of installation and configuration. The device is designed to be user-friendly, enabling quick deployment in various environments. The inclusion of a web-based configuration interface simplifies network settings and device management, providing users with intuitive access to essential functions.

Robust security protocols are also at the forefront of the DS-102's design. It supports TLS/SSL encryption to secure data transmission, ensuring that sensitive information remains protected during communication. The device is built with reliability in mind, featuring durable hardware that withstands industrial conditions, further enhancing its appeal for demanding applications.

In terms of flexibility, the Quatech DS-102 can be integrated with various operating systems, including Windows, Linux, and Mac OS, making it versatile for a range of technical environments. Its compatibility with popular software applications further streamlines operations, allowing for easy incorporation into existing systems.

Overall, the Quatech DS-102 stands out as a powerful solution for serial-to-Ethernet communication. With its dual-port capability, advanced technology, user-friendly configuration, and robust security features, it represents an ideal choice for businesses seeking to enhance their data management capabilities. As organizations continue to embrace IoT and automation, the DS-102 is well-positioned to play a vital role in connecting the legacy serial devices with modern Ethernet networks seamlessly.