stm32duino / STM32Ethernet

Arduino library to support Ethernet for STM32 based board
151 stars 42 forks source link

I want Ethernet to work using the Generic F405/F407 variant #70

Closed nopnop2002 closed 1 year ago

nopnop2002 commented 1 year ago

I am using BLACK F407VE board and LAN8742A_PHY.

The core version is 2.2.

I specify BLACK F407VE for Board part number.

STM32-Ethernet-1

Also add this definition:

Ethernet works.

#define HAL_ETH_MODULE_ENABLED

F405 and F407 support Ethernet.

If I change the Board part number to Generic F407VETx, Ethernet doesn't work.

STM32-Ethernet-2

Do you have any plans to use the Generic F405/F407 variant to make Ethernet work?

fpistm commented 1 year ago

There is no plan, ti is just that generic could requires some configuration to be inline with your hardware, like update the SystemClock_Config and configure the HSEas generic only used by default internal clock. Pay attention to define the correct HSE value as by default for F4 it is 8000000Ubut some can have different one. You can also redefine the PinMap_Ethernetarray to configure the required set of pins....