June 15, 2024, 09:48:06 AM

STM32-P107 RevB Ethernet

Started by a_kakas, April 03, 2020, 04:38:09 PM

Previous topic - Next topic



I'm looking for working code example howto bringup Ethernet on STM32-P107 RevB?
Official site have example for RevC which have different PHY chip. I tried to modify that example but without any luck.

I've found this link in forum:

for RevB samples, but after porting it to STM32CubeIDE it didn't work either.

Maybe someone does have a working code for RevB in STM32CubeIDE project format?


And after checking the official Olimex examples for RevB, the GPIO pin mapping is invalid and does not conform with the schematic.

For example pins PA0, PB10, PC3 are mapped in code but not connected in schematic, also PB12 (ETH_RMII_TXD0) and PB13 (ETH_RMII_TXD1) are not mapped at all.


What is the Ethernet PHY chip on-board? Is it Micrel or?
Technical support and documentation manager at Olimex


The PHY chip is Micrel KSZ8721BL.


We investigated and the pins in this demo https://www.olimex.com/Products/ARM/ST/STM32-P107/resources/STM32-P107_DemoSoft.zip are properly set.

Probably something went wrong in the porting.
Technical support and documentation manager at Olimex