cancel
Showing results for 
Search instead for 
Did you mean: 

stm32f7discovery cubemx driver ethernet LAN8742a

vrba1
Associate
Posted on December 22, 2015 at 13:04

Hello All,

When I generate code with  stm32cube for kit stm32f7discovery in file

stm32f7xx_hal_conf.h is generated driver for  DP83848_PHY_ADDRESS 0x01 , not for lan9742a

can you help me ?

Thank you

1 REPLY 1
Posted on December 23, 2015 at 18:21

Hi miroslav.vrba,

You can modify the stm32f7xx_hal_conf.h with LAN8742A_PHY_ADDRESS.

STM32CubeMx is using the stm32f7xx_hal_conf_template.h as a template file, this is why you find DP83848_PHY_ADDRESS 0x01.

-Shahrzad-