Interrupt Type Codes

4.4 Interrupt Type Codes

The following subsections define specific interrupt codes which may occur during ThunderLAN operation. It describes the conditions that result from the occurrence of interrupts, and corrective actions to overcome these conditions.

4.4.1No Interrupt (Invalid Code). Int_type = 000b

This condition occurs when the driver detects an interrupt, but ThunderLAN did not cause this interrupt. This indicates a hardware error that is caused by other hardware. The driver can be configured to ignore this interrupt and not acknowledge it. An error counter may be used for such occurrences.

4.4.2Tx EOF Interrupt. Int_type = 001b

Tx EOF and Tx EOC interrupt handling depends on the Tx interrupt threshold used. The interrupt threshold counter is part of Texas Instruments Adaptive Performance Optimization(APO) algorithm. More information on APO can be found in the ThunderLAN Adaptive Performance Utilization Technical Brief (TI literature number SPWT089). There are two main options described below.

In the first option, the interrupt threshold is set to a nonzero number. Thunder- LAN does not interrupt until it has encountered the number of Tx EOFs given to it by the Ack_Count register. In this way, the host is able to acknowledge mul- tiple Tx EOFs in a single interrupt call. The host must count the number of frames it has transmitted by counting the frames with the Frm_Cmp bit set in the CSTAT field and must use this number in the Ack_Count field while ac- knowledging.

A special case of this first option is when the interrupt threshold is set to a value of 1. This gives an interrupt for each Tx EOF encountered (one frame = one Tx EOF = one interrupt). In this case, ThunderLAN interrupts the host each time it transmits a frame. The host must then acknowledge this interrupt by writing an acknowledge count of 1 to HOST_CMD with the appropriate bits set.

Depending on the application, a continuous transmit channel may not be feasi- ble. In other words, there may not be enough frames to create a continuous transmit list, and the adapter issues a Tx EOF and a Tx EOC for every frame transmitted (one frame = one Tx EOF + one Tx EOC = two interrupts). A Tx GO command must be executed each time a frame is transmitted, as the Tx channel has been stopped by ThunderLAN (as evidenced by the Tx EOC).

This condition can be avoided by loading the interrupt threshold with a 0. Doing this disables all Tx EOFs. ThunderLAN only interrupts the host for Tx EOCs (one frame = one Tx EOC = one interrupt). This simplifies the driver, since it only has to acknowledge one interrupt per frame.

Interrupt Handling

4-7

Page 74
Image 74
Texas Instruments TNETE100A, TNETE211, TNETE110A manual Interrupt Type Codes, No Interrupt Invalid Code. Inttype = 000b

TNETE110A, TNETE211, TNETE100A specifications

Texas Instruments has been a leader in developing innovative semiconductor solutions, and their Ethernet PHY (Physical Layer Transceiver) family, specifically the TNETE100A, TNETE211, and TNETE110A, exemplifies this commitment to excellence. These devices are designed to address the needs of a variety of applications, ranging from industrial automation to consumer electronics.

The TNETE100A is a highly versatile Ethernet PHY capable of supporting 10/100 Mbps Ethernet connectivity. One of its main features is the low power consumption, which makes it an ideal choice for battery-operated devices. It incorporates advanced power management technologies, ensuring that the device operates efficiently while maintaining high performance. The TNETE100A also supports Auto-Negotiation, allowing for seamless communication between devices at different speeds, thereby enhancing flexibility in network configurations.

Moving to the TNETE211, this device supports 10/100/1000 Mbps Ethernet, making it suitable for high-speed networking applications. This PHY integrates features such as Energy Efficient Ethernet (EEE), which reduces power consumption during low-traffic periods, aligning with the contemporary demand for energy efficiency in networking equipment. The TNETE211 is engineered with robust EMI (Electromagnetic Interference) performance and provides multiple interface options, making it a versatile choice for embedded systems and networking applications.

The TNETE110A stands out in the lineup as a sophisticated device that supports both Fast Ethernet and Gigabit Ethernet. This PHY utilizes advanced signal processing techniques to ensure superior link robustness and performance in noisy environments. Its features include an integrated transformer driver, which simplifies PCB design and allows for compact device layouts. Additionally, the TNETE110A is designed to be fully compliant with Ethernet standards, ensuring reliable interoperability with other network components.

All three PHYs leverage Texas Instruments' expertise in integrated circuit design, resulting in low jitter and high signal integrity, essential for modern communication standards. They are optimized for a wide range of temperatures, making them suitable for harsh industrial applications. With built-in diagnostic capabilities, these devices also enable efficient fault detection and troubleshooting in network infrastructures.

In summary, the Texas Instruments TNETE100A, TNETE211, and TNETE110A are exemplary Ethernet PHY devices, each tailored to meet specific networking needs while adhering to stringent efficiency and performance criteria. Their advanced features, technologies, and reliability make them pivotal components in today's fast-paced digital landscape.