Quatech DS-102 user manual Accessing the Serial Port registers, Dlab

Page 21

Accessing the Serial Port registers

Figure 15 lists the address map for the 16450 and 16550 UARTs. Each register can be accessed by reading from or writing to the proper I/O address. This I/O address is determined by adding an offset to the base address set for the particular serial port. The base address is set using DIP switches on the DS-102 (see section III).

Notice that two locations access different registers depending on whether an I/O read or I/O write is attempted. Address [base+0] accesses the receive buffer on an I/O read, or the transmit buffer on an I/O write. Address [base+2] accesses the Interrupt Identification register on an I/O read or the FIFO control register (16550 only) on an I/O write. Also, notice that if address [base+0] or [base+1] is used with the DLAB bit from the Line Control Register set to '1', the baud rate divisor latches are accessed.

NOTE: All figures displaying bitmapped registers are

formatted such that bit 7 is the high-order bit.

UART Addressing

Register Description

 

 

 

DLAB

I/O Address

 

 

 

 

0

Base + 0

Receive buffer (read)

 

 

Transmit holding register (write)

 

 

 

0

Base + 1

Interrupt enable

 

 

 

X

Base + 2

Interrupt identification (read) (16450 and 16550)

 

 

FIFO control (write) (16550 only)

 

 

 

X

Base + 3

Line control

 

 

 

X

Base + 4

MODEM control

 

 

 

X

Base + 5

Line status

 

 

 

X

Base + 6

MODEM status

 

 

 

X

Base + 7

Scratchpad

 

 

 

1

Base + 0

Baud rate divisor latch (LSB) *

 

 

 

1

Base + 1

Baud rate divisor latch (MSB) *

 

 

 

(X = don't care)

* DLAB in Line Control Register must be set to access baud rate divisor latch.

Figure 15 --- Serial port register address map for 16450/16550 UART

Quatech DS-102 User's Manual

15

Image 21
Contents DS-102 Page VII. Specifications VIII. Troubleshooting IV. Setting Interrupt Levels IrqsTable of Contents External Connections VI. Serial Port Functional DescriptionPage 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.