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.

PRU-ICSS-INDUSTRIAL-SW: Link status handling by interrupt

Part Number: PRU-ICSS-INDUSTRIAL-SW

Hi,

  I am developing an Ethernet driver for PRU-ICSSG (SR 2.0) using dual mac firmware for AM6548 chip based on a proprietary RTOS.

  I am using the DUAL EMAC firmware based on SDK 7.01. I have checked the test program in test_utils_k3.c and have seen that the link status is determined by emac_poll() function in a loop. Is it possible to perform the link status detection by an interrupt (while using DUAL EMAC firmware based on SDK 7.01)?

Best Regards,

Debarun

  • Hi Debarun,

    Yes. You can use the MDIO Link interrupts for this. Please refer to Section 6.4.12.2.4 PRU_ICSSG MII MDIO Interrupts of the TRM.

    Note, that this is currently not enabled in EMAC and can only be supported in future on ENET-LLD, we have no committed date in mind for this feature.

    Regards

    Vineet