I’m using the DP83640 PHY transceiver to communicate with the STM32F767 over Ethernet. This one is different from the one on the Nucleo version of this chip, which is the LAN8742A. I connected every pin of the PHY transceiver as described in the datasheet and used the same pins as on the Nucleo version of this chip (both are using the RMII interface). Also, the registers that are configured in the mbed-os software are the same for both PHY transceivers. The only difference is the PHY address of both PHY transceivers (1 for the DP83640 and 0 for the LAN8742A). I solved this by changing ETH_ARCH_PHY_ADDRESS in stm32xx_emac.cpp in the library files of mbed-os.
As soon as I run my code on the Nucleo it works perfectly, while it gives an connection error (-3004) when I run the code using the DP83640 as PHY transceiver. Can someone help me with this issue?
Thank you very much,