Skip to main content
ggowd.1
Associate III
June 19, 2024
Solved

How to configure STM32F407VG using Ethernet in ENC28J60

Hi Team,

where we are trying interface ENC28J60 in STM32F407VG Microcontroller to use Ethernet, Is there any procedure to create a project in cube ide are any link related to this board how to interface ENC28J60 to STM controller.

Best Regards,
Gagan Gowda 

This topic has been closed for replies.
mƎALLEm
mƎALLEmBest answer
ST Technical Moderator
June 19, 2024

Google "enc28j60 stm32 lwip":

Examples:

https://www.youtube.com/watch?v=EvDG6Q5p5mI /  https://github.com/eziya/STM32_HAL_LWIP_ENC28J60

https://www.youtube.com/watch?v=DqaKZrx_E28

 

To give better visibility on the answered topics, please click "Best answer" on the reply which solved your issue or answered your question.

7 replies

mƎALLEm
ST Technical Moderator
June 19, 2024

Hello,

ENC28J60 is an ETH/SPI interface as per its datasheet description. So all you need is to read its datasheet (timing/commands) and configure the SPI in CubeMx accordingly.

You can inspire from any example after googling "ENC28J60+STM32" like this one:

https://github.com/microtechnics-main/stm32-ethernet-1-enc28j60

To give better visibility on the answered topics, please click "Best answer" on the reply which solved your issue or answered your question.
ggowd.1
ggowd.1Author
Associate III
June 19, 2024

Hi  SofLit,

 

We have to use SPI to configure ENC28J60, In ioc file we have configure lwip and ethernet to use this module.

Best Regards,
Gagan Gowda

 

mƎALLEm
mƎALLEmBest answer
ST Technical Moderator
June 19, 2024
To give better visibility on the answered topics, please click "Best answer" on the reply which solved your issue or answered your question.