cancel
Showing results for 
Search instead for 
Did you mean: 

STM32F072C8 MDIO MDC

hsiao SW
Associate II
Posted on July 08, 2018 at 05:05

Hi 

 I would like to use the STM32F0 to run the MDIO\MDC in STM32F072C8, if can use the GPIO port to simultion the MDIO\MDC to PHY communication  or exmaples code can share with us .

thanks

3 REPLIES 3
Posted on July 08, 2018 at 17:52

I'd imagine could implement a GPIO bit-bang implementation, don't think you'd be able to hit 2.5 MHz.

Not sure there will be pre-packaged examples, review the specification, and code your own solution.

https://en.wikipedia.org/wiki/Management_Data_Input/Output

 
Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
Posted on July 09, 2018 at 01:47

Hello Clive

thanks comments, if possible reach to 5MHz for MDIO interface or not?

Is there have code for reference to reduce coding time? thank you

Regards

Posted on July 09, 2018 at 03:06

For a write only interface you could probably use SPI to generate the signal, and clock that 5 MHz.

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..