This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

TMDSCNCD28388D: Ethernet Receive buffer overflows

Part Number: TMDSCNCD28388D


I developed a software program based on TI ethernet example (ethernet_ex2_phy_loopback) for TMDSCNCD28388D control card, then ported a TCP/IP stack (open source uIP stack software) onto the low level code supported by TI, when testing a UDP connection between CC3220 Launchpad and TMDSCNCD28388D control card; Ethernet Receive FIFO buffers get overflow after about 2 minutes of successful communication.

When Ethernet Receive FIFO buffers get overflow, the code stops entering the Ethernet RX ISR.

How to increase the receive buffers to overcome this overflow?

  • Hi Amr,

    The receive buffer overflow happens when the Ethernet receive interrupt is no more called to process the received packets . Where does the program  stop when the receive buffer overflow occurs?

    To recover from receive buffer overflow you need to enable generic interrupt of Ethernet which is EMAC0.

    You can refer to Ethernet_genericISR() function in ethernet.c in the driverlib to see how generic interrupts are serviced. The receive buffer unavailable condition is being taken care of, you can use the same logic to recover from rx buffer overflow by writing your custom generic isr and mapping it to EMAC0.

    Thanks,

    Yashwant