Skip to main content
Visitor II
June 19, 2024
Solved

How to configure STM32F407VG using Ethernet in ENC28J60

  • June 19, 2024
  • 1 reply
  • 4028 views

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.

    1 reply

    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

    ggowd.1Author
    Visitor II
    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ƎALLEmAnswer
    Technical Moderator
    June 19, 2024