We are using STM32H7 controller instead of STM32F7 controller.How to set the Phy address and the AutoNegotiations enable while generating the code from the cube Mx.
Related? STM32H7 Ehernet issue
The H7 is currently in the initial phases, expect additional code and support in the future.
On the leading edge you might need to learn how the hardware actually works, and write the software, yourself. This will be especially true if you're using parts other than those used in the reference designs (ie EVAL and NUCLEO boards).
You cannot set the PHY address.
In lan8742.c is a for loop which starts at address 0 and tries to find a device until addr=31.
In ethernetif.c (in your project files) you can change the behaviour of the negotiation in low_level_init()
Retrieving data ...