Acknowledging Interrupts (Acking)

4.3 Acknowledging Interrupts (Acking)

The ThunderLAN controllers have been designed to minimize the code neces- sary to acknowledge interrupts. This is accomplished by matching the HOST_INT register's bits to the corresponding bits in the HOST_CMD regis- ter. Also, the HOST_INT's two LSBs are set to 0 so that it forms a table-offset vector, which can be used in a jump table. This allows for quick branching to the appropriate interrupt service routine.

To acknowledge interrupts:

-Disable all interrupts.

-Create a jump vector from the value read in HOST_INT.

-Use a jump table or a conditional branch structure to branch to the ISR.

-Execute the appropriate commands for the particular interrupt.

-Load the Ack_Count register with the number of interrupts to be acknowl- edged. This is useful if several EOF interrupts are acknowledged at once.

-Write to HOST_CMD. You may assert the GO bit (Ack and GO com- mands), if desired.

Interrupts can be disabled by writing to the HOST_INT register. One quick and easy way of doing this is by writing the contents of HOST_INT back after read- ing it at the start of the interrupt routine.

A jump table contains the starting address of the individual interrupt routines. Offsets to this table can be easily created from the HOST_INT vector read. It may be necessary to shift the vector read in order to factor out bits 1 and 0 (They are read as 0 always). Using this table or a conditional branching struc- ture, the appropriate jump to the interrupt routine is easy to find.

The interrupt routine that is branched to performs the commands for the inter- rupt call. In some cases, this involves loading Ack_Count with a value greater than 1. This is particularly true when acknowledging Tx EOF with the Ld_Thr register loaded.

To acknowledge the interrupt, write the HOST_INT vector into HOST_CMD. The bit values in HOST_INT have a one-to-one correspondence with HOST_CMD. This simplifies the driver code and saves programming time. In- terrupts should be reenabled when exiting the interrupt routine. Acknowledg- ing interrupts to HOST_INT achieves this goal.

4-6

Page 73
Image 73
Texas Instruments TNETE110A, TNETE211, TNETE100A manual Acknowledging Interrupts Acking

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.