Olimex Support Forum

ARM => ST => Topic started by: a_kakas on April 03, 2020, 04:38:09 pm

Title: STM32-P107 RevB Ethernet
Post by: a_kakas on April 03, 2020, 04:38:09 pm
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?
Title: Re: STM32-P107 RevB Ethernet
Post by: a_kakas on April 03, 2020, 05:28:50 pm
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.
Title: Re: STM32-P107 RevB Ethernet
Post by: LubOlimex on April 08, 2020, 10:13:03 am
What is the Ethernet PHY chip on-board? Is it Micrel or?
Title: Re: STM32-P107 RevB Ethernet
Post by: a_kakas on April 08, 2020, 04:36:52 pm
The PHY chip is Micrel KSZ8721BL.
Title: Re: STM32-P107 RevB Ethernet
Post by: LubOlimex on April 15, 2020, 01:50:56 pm
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.