cancel
Showing results for 
Search instead for 
Did you mean: 

STM32H7 Ethernet issue

kumar swamy
Associate II
Posted on March 23, 2018 at 13:47

Hi,

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.

#ethernet #stm #stm32h7
2 REPLIES 2
Posted on March 23, 2018 at 14:10

Related?

https://community.st.com/0D50X00009XkX4uSAF

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).

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
Joerg Wagner
Senior III
Posted on March 28, 2018 at 18:35

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()