Hello everyone,
I am using the i.MX RT1042 with a KSZ8081 Ethernet PHY and the lwIP stack (based on the lwIP ping example). My goal is to ping external servers like 8.8.8.8 using DHCP.
Currently, I have not configured the PHY INTR pin as a GPIO/interrupt input. With this setup, I am facing an issue where DHCP fails and I am unable to acquire an IP address. However, when I configure and use the PHY interrupt pin, things seem to work more reliably.
This makes me suspect that the INTR pin is required for proper link/status updates and DHCP operation.
My questions are:
Is it mandatory to use the KSZ8081 INTR pin for Ethernet to work correctly with lwIP on i.MX RT1042?
Is there any alternative method (such as polling PHY registers) instead of using the interrupt pin?
If polling is possible, how should it be implemented properly with the ENET driver and lwIP?
Are there any known limitations if the INTR pin is not used?
Any guidance or references would be greatly appreciated.
Thanks in advance!