E T H E R N E T C O M M U N I C A T I O N M O D U L E

 

 

Transmit packet processor

 

The TX_WR logic examines the status received from the MAC after it has transmitted

 

 

the frame.

Frame

If the frame was transmitted successfully, the TX_WR logic sets TXDONE (frame

transmitted

transmission complete) in the Ethernet Interrupt Status register and reads the next

successfully

buffer descriptor. If a new frame is available (that is, the F bit is set), the TX_WR

 

 

starts transferring the frame. If a new frame is not available, the TX_WR logic sets

 

the TXIDLE (TX_WR logic has no frame to transmit) bit in the Ethernet Interrupt

 

Status register and waits for the software to toggle TCLER (clear transmit logic), in

 

Ethernet General Control Register #2, from low to high to resume processing. When

 

TCLER is toggled, transmission starts again with the buffer descriptor pointed to by

 

the Transmit Recover Buffer Descriptor Pointer register. Software should update this

 

register before toggling TCLER.

Frame

If the TX_WR logic detects that the frame was aborted or had an error, the logic

transmitted

updates the current buffer descriptor as described in the previous paragraph. If the

unsuccessfully

frame was aborted before the last buffer descriptor of the frame was accessed, the

 

 

result is a situation in which the status field of a buffer descriptor, which is not the

 

last buffer descriptor in a frame, has a non-zero value. The TX_WR logic stops

 

processing frames until TCLER (clear transmit logic) in Ethernet General Control

 

Register #2 is toggled from low to high to resume processing. The TX_WR logic also

 

sets TXERR (last frame not transmitted successfully) in the Ethernet Interrupt Status

 

register and loads the TX buffer descriptor RAM address of the current buffer

 

descriptor in the TX Error Buffer Descriptor Pointer register (see page 320). This

 

allows identification of the frame that was not transmitted successfully. As part of

 

the recovery procedure, software must read the TX Error Buffer Descriptor Pointer

 

register and then write the 8-bit address of the buffer descriptor to resume

 

transmission into the TX Recover Buffer Descriptor Pointer register.

Transmitting a frame to the Ethernet MAC

Ethernet underrun

The TX_RD logic is responsible for reading data from the TX_FIFO and sending it to the Ethernet MAC. The logic does not begin reading a new frame until the TX_FIFO is full. This scheme decouples the data transfer to the Ethernet MAC from the fill rate from the AHB bus. For short frames that are less than 256 bytes, the transmit process begins when the end-of-frame signal is received from the TX_WR logic.

When the MAC completes a frame transmission, it returns status bits that are stored in the Ethernet Transmit Status register (see page 283) and written into the status field of the current buffer descriptor.

An Ethernet underrun can only occur due to the following programming errors:

Insufficient bandwidth is assigned to the Ethernet transmitter.

272Hardware Reference NS9215

Page 272
Image 272
Digi NS9215 Frame, Transmitted, Successfully, Unsuccessfully, Transmitting a frame to the Ethernet MAC Ethernet underrun

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.