2024-06-19 12:28 AM - last edited on 2024-06-19 03:12 AM by Peter BENSCH
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
2024-06-19 01:26 AM
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
2024-06-19 02:08 AM
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
2024-06-19 03:06 AM
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
2024-06-20 05:39 AM
Hi SofLit,
Thanks for providing like it's every help full, I did connection between STM32F407 to enc28j60 connection details are:-
STM ENC28J60
SCK -- SCK
MISO -- S0
MOSI -- SI
CS -- CS
-- RESET
-- INT
-- CLKOUT
STM side any remaining connection I need connect to ENC28J60?
Best Regards,
Gagan Gowda
2024-06-20 06:24 AM
See the video I shared before @3:25: https://youtu.be/DqaKZrx_E28?t=205
2024-06-23 11:11 PM
Hi SofLit,
I had Watched video he is configured ioc file in cube and generating code in eclipse software, I followed same procedure to create project, but I am getting error in Middleware library I thing mismatch of software is there any updated recent video of ENC28J60 in STM32F407VG Microcontroller.
Best Regards,
Gagan Gowda
2024-06-24 01:14 AM
Hello,
ENC28J60 is not an ST chip. I recommand you to make a deeper search on google or find a dedicated forum for this chip.