Skip to main content
hsiao SW
Associate
July 8, 2018
Question

STM32F072C8 MDIO MDC

  • July 8, 2018
  • 1 reply
  • 1447 views
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

    This topic has been closed for replies.

    1 reply

    Tesla DeLorean
    Guru
    July 8, 2018
    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 VenmoUp vote any posts that you find helpful, it shows what's working..
    hsiao SW
    hsiao SWAuthor
    Associate
    July 9, 2018
    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

    Tesla DeLorean
    Guru
    July 9, 2018
    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 VenmoUp vote any posts that you find helpful, it shows what's working..