Page 1 of 1

MDIO peripheral

Posted: Wed Jul 30, 2025 1:38 pm
by babybakar
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?