cancel
Showing results for 
Search instead for 
Did you mean: 

ST32F217 never pass ''while (ETH_GetSoftwareResetStatus() == SET);''

andrey23
Associate II
Posted on April 03, 2012 at 10:42

Hello all!

I writed an app for ST32F Next, i change target in keil to ST32F207IG and try to make it work on my custom ST32F217 board with STE100P PHY controller in MII mode. But controller cant pass ethernet initialization function, its stop on

1.
while
(ETH_GetSoftwareResetStatus() == SET);

My GPIOs initialized properly, i quess. What kind of problem i see? How to solve it? #st32f217
10 REPLIES 10
bouhoula
Associate II
Posted on April 09, 2013 at 10:25

Thanks, we have found the solution : adding this line after the PA8 configuration

''GPIO_PinAFConfig(GPIOA,GPIO_PinSource8,GPIO_AF_MCO) ;''