2019-02-22 06:22 AM
Hello community,
i got the STSW-STM32059 running on a STM3210C eval with truestudio.
Now i want to port it to my own PCB, where i use a STM32107RC and the 88E6161 Switch as a PHY. The PHY uses port 5, in 100 full duplex MII mode.
Until now i got the code running on the eval board and am trying to get it running on my microcontroller.
After my investigation, i am of the opinion that i don't have to change anything in the code for the change of STM32107VC to RC. Because all functions are mapped to the same pins.
What i did change was the phy address. Now i also want to change the ethernet properties, but i can not find the code i need to select ethernet 10 or 100Mbits or half/fullduplex. I only found the defines in stm32_eth.h, but could not find the selection of which define we use.
Do i have to change any more code/ ethernet settings?
I'm thankfull for every kind of help!