MDIO peripheral

babybakar
Posts: 1
Joined: Wed Jul 30, 2025 1:19 pm

MDIO peripheral

Postby babybakar » Wed Jul 30, 2025 1:38 pm

I'm trying to send a MDIO packet using my ESP32-pico-kit_v4.1.
I'm turning on the peripheral RCC, configuring the GPIOs I want to the peripheral's functions (MDC and MDIO). After that I tried to edit the address register (emacgmiiaddr) as a read packet. I copied the order of the editing from esp-idf usage of the peripheral.
After that, nothing happens. I tried to log the value of the register and it seems i can edit every field, except the reg_addr field. I also tried to mimic a slave, but it did not help.
How can i use this peripheral using registers editing?

Who is online

Users browsing this forum: No registered users and 2 guests