Guidance Needed for Connecting External Ethernet Module (RMII) to STM32
Hello Everyone,
I'm seeking guidance on how to connect an external Ethernet module using the RMII interface to an STM32 microcontroller. The challenge I’m facing is that CubeIDE does not allow me to customize the GPIO configuration when using the built-in LwIP stack. Specifically, when I try to reset or modify the configuration of one of the Ethernet GPIO pins, CubeMX disables the Ethernet interface altogether.
One suggestion from a colleague was to set the CubeMX target as a raw F7 MCU, but that didn’t resolve the issue. I believe the best approach might be to manually configure the LwIP stack from scratch as a third-party library, bypassing the built-in CubeMX LwIP integration. I would appreciate your thoughts on whether this is a feasible solution, and if so, any relevant tutorials or resources on how to implement this.
For testing, I have two Nucleo boards: the STM32L476RG and the STM32F767ZI. Prior to posting this, I successfully connected the built-in Ethernet module on the STM32F767ZI and an external W5500 Ethernet module using SPI and a dedicated library.
Thank you in advance for any help or advice you can provide!
