Other Parts Discussed in Thread: AM6548
Dear TI team,
we have a question regarding the interrupt mode of the emac driver on AM6548 SR2.0 hardware.
We have an application which is successfully running on the AM6548 SR1.0 with SDK 07.00, which uses the TI emac driver on TI-RTOS (SYS/BIOS) to send and receive frames. It uses the interrupt mode (EMAC_MODE_INTERRUPT) of the TI emac driver to receive frames.
We're now trying to port the existing application to the SR2.0 hardware. We applied all the necessary changes (different firmware, initialize TX PRU, …), but now sending and receiving frames works only in polling mode. For this application we require interrupt mode.
In the previous version of our application, we used to call emac_poll_pkt to receive frames. If we do the same on SR2.0 we don't get any frames.
If we call emac_poll_ctrl with rxPktRings=0x2, we receive all frames, so basically receiving works, but only in polling mode. We can't use this function, because it works in a non-blocking fashion. The EmacLoopbackTest application in the PDK also uses polling mode for SR2.0 and interrupt mode for SR1.0.
We found this thread on the E2E forum
https://e2e.ti.com/support/processors/f/791/p/938752/3501325
According to the above thread interrupt mode was not supported for SR2.0 with the emac driver, but was supposed to be supported by the ENET-LLD. There is source code for the enet-lld in the AM65x PDK, but it doesn't seem to be finished, at least the release notes, user guide etc. don't mention the ENET-LLD.
Is there any driver available that supports interrupt mode on SR2.0 hardware?
What is the status of the ENET-LLD source code that is included in the AM65x PDK? Is it supposed to be usable? Are there known issues?
Best regards,
Dominic