October 13, 2024, 02:01:30 AM

STM32-P107 RevB Ethernet

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

Previous topic - Next topic

a_kakas

Hi,

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:
https://www.olimex.com/Products/ARM/ST/STM32-P107/resources/STM32-P107_DemoSoft.zip

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?

a_kakas

#1
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.

LubOlimex

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

a_kakas

#3
The PHY chip is Micrel KSZ8721BL.

LubOlimex

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