S E R I A L C O N T RO L M O D U L E : U A RT

Hardware-based flow control

H a r d w a r e - b a s e d f l o w c o n t r o l

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

The UART module provides expanded functionality for hardware-based flow control. The RTS signal normally indicates the state of the receive FIFO. The CTS signal normally halts the transmitter. With this UART module, the RI, CTS, DCD, or DSR signals can halt the transmitter. Program these features using the HWFLOW bits in the Wrapper Configuration register.

C h a r a c t e r - b a s e d f l o w c o n t r o l ( X O N / X O F F )

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Example configuration

Traditional character-based flow control requires the processor to match the flow control characters and control the transmitter accordingly. This UART module performs the character matching function in hardware and automatically updates the state of the transmitter, which allows character-based flow control to achieve the same response time as hardware-based flow control.

Configure the character-based flow control using at least two Receive Character Match registers and the Receive Character-Based Flow Control register. This table shows a sample configuration for a system transferring 8 data bits per character.

Control register

Field

Value

Comment

 

 

 

 

Receive Character Match Control

ENABLE

1

Enable character match

Register 0

 

 

 

MASK

0x00

Mask bits

 

 

 

 

 

 

DATA

0x7e

Define character

 

 

 

 

 

 

 

 

Receive Character Match Control

ENABLE

1

Enable character match

Register 1

 

 

 

MASK

0x00

Mask bits

 

 

 

 

 

 

DATA

0x81

Define character

 

 

 

 

 

 

 

 

Receive Character-Based Flow

FLOW0

0x2

XON when matched

Control register

 

 

 

FLOW1

0x3

XOFF when matched

 

 

 

 

 

F o r c e d c h a r a c t e r t r a n s m i s s i o n

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

UART provides a mechanism in which you can bypass data in the transmit FIFO with a specific character. The specified character is transmitted after the current

388Hardware Reference NS9215

Page 388
Image 388
Digi NS9215 manual R d w a r e b a s e d f l o w c o n t r o l, R c e d c h a r a c t e r t r a n s m i s s i o n

NS9215 specifications

The Digi NS9215 is a powerful solution designed for industrial applications that require reliable connectivity and robust performance. Built on a foundation of advanced technologies, the NS9215 serves as a versatile networking device that meets the demands of automation, remote monitoring, and data acquisition.

One of the standout features of the Digi NS9215 is its multi-protocol support. It is capable of handling various communication protocols, including Ethernet, Serial, and Wireless, making it ideal for integration into heterogeneous environments. This flexibility enables users to connect legacy devices to modern networks seamlessly, facilitating smoother data communication across different platforms.

The NS9215 is equipped with powerful processing capabilities, featuring an integrated processor that ensures efficient data handling. This enables the device to perform complex data tasks without compromising performance. Its high-speed connectivity options also allow for rapid data transmission, which is crucial for real-time applications in industrial settings.

Another critical characteristic of the Digi NS9215 is its reliability in harsh environments. Built to withstand extreme temperatures, humidity, and electrical interference, this device assures consistent operation even in challenging conditions. Its rugged design minimizes the risk of failure, making it suitable for deployment in various industrial environments.

Security is a top priority for the Digi NS9215. It comes with advanced security features that protect sensitive data during transmission and prevent unauthorized access. Employing encryption protocols and secure authentication methods, the NS9215 ensures that data integrity and confidentiality are maintained throughout its operation.

The user-friendly interface of the NS9215 allows for easy configuration and management. This ease of use reduces the time required for installation and setup, enabling quick deployment in field operations. Additionally, remote management capabilities enhance operational efficiency, allowing users to monitor device performance and make adjustments from anywhere.

Furthermore, the NS9215 supports extensive scalability options. As organizations grow and evolve, the ability to scale up or adapt the networking capabilities becomes essential. With its modular design, the NS9215 can easily accommodate additional devices and protocols, ensuring longevity and continued relevance in a rapidly changing technological landscape.

In conclusion, the Digi NS9215 is a robust networking device designed for a wide range of industrial applications. Its multi-protocol support, reliability, security features, user-friendly interface, and scalability make it a valuable addition to any industrial network infrastructure, delivering performance and efficiency that businesses can depend on for critical operations.