Re: STM32 Ethernet Demo
Posted: Sun Mar 25, 2012 9:58 am
If the driver works correctly my idea is to backport it.
Giovanni
Giovanni
rubenswerk wrote:Thanks you kgysmits for the example.
I'd like to get rid of this external oscillator for the PHY, because we have very nice PLLs onboard of the STM32. My self-designed board with a DP83848 in RMII configuration works fine along with a STM32F1 clocked by 50MHz MCO output of the F1. This is also a recommended solution in the F1 datasheet.
Unfortunately, this does not apply for the F4. The datasheet only mentions the MII mode with 25MHz. When using RMII, an external oscillator is recommended. But why? There are even 2 PLLs in the F4, and the I2C PLL can be configured to output 50MHz on MCO2 pin. This is exactly what I would like to do.
Someone from the German board (http://www.mikrocontroller.net/topic/248796#2607279) tried to do this, but the Chinese PHY board did not work correctly when clocked by the F4...???
kgysmits, when you developed your board with low cost in mind, why did you use one of these expensive external oscillators? I hope it can be avoided.
Another possibility is to use a MII compatible PHY (DP83848, KSZ8051) with 25MHz, but it increases the pincount. I will do some experiments with ChibiOS lwIP demo and MCO clock as soon as my PHY board arrives.
Giovanni, I hope you're not angry that this becomes a hardware related discussion