cancel
Showing results for 
Search instead for 
Did you mean: 

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

JR5
Associate II

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

2 REPLIES 2
SofLit
ST Employee

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

 

To give better visibility on the answered topics, please click on "Accept as Solution" on the reply which solved your issue or answered your question.
JR5
Associate II

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