Skip to main content
Visitor II
August 27, 2024
Solved

Custom STM32 PCB with LAN8742. How to get this working?

  • August 27, 2024
  • 1 reply
  • 1348 views

Hi all,

Has anyone been successful in creating their own custom PCB with an STM32 and the LAN8742 PHY IC?

I have followed the reference design of the nucleo-f756zg Lan8742 implementation and used a stm32f107 IC.

I am struggling to understand how to use the lan8742.c driver with the Ethernetif.c file generated by LWIP in the cubeIDE

If anyone could talk me through initialisation and beyond or show a design with code where they have it working it would be much appreciated!

Thanks,

Joe

    This topic has been closed for replies.
    Best answer by mƎALLEm

    Hello @JR5 and welcome to the community.

    You can inspire from the STM32F107_EVAL board schematics (unfortunately no more available on ST website) that I'm attaching a part of it (but using DP83848C PHY). and refer to LWIP examples provided in STM32CubeF1 package: https://github.com/STMicroelectronics/STM32CubeF1/tree/master/Projects/STM3210C_EVAL/Applications/LwIP

     

    1 reply

    mƎALLEmAnswer
    Technical Moderator
    August 28, 2024

    Hello @JR5 and welcome to the community.

    You can inspire from the STM32F107_EVAL board schematics (unfortunately no more available on ST website) that I'm attaching a part of it (but using DP83848C PHY). and refer to LWIP examples provided in STM32CubeF1 package: https://github.com/STMicroelectronics/STM32CubeF1/tree/master/Projects/STM3210C_EVAL/Applications/LwIP

     

    JR5Author
    Visitor II
    September 16, 2024

    Hi,

    Thanks for this documentation.

     

    Unfortunately I found a few bugs in the PCB design so i'm waiting for a respin before attempting again.

     

    If i succeed I shall let you and the community know :)

     

    Joe