Closed savagerex closed 2 years ago
Hello @savagerex,
thanks for your contribution. The request is now being discussed internally. I will let you now when we have some resolution.
Hi @savagerex
Yes, you're correct, the header file eth_phy_regs_struct.h contains register definitions, but only the generic ones, those that are mostly used for all supported phy's. You can check specific driver's sources for other definitions, specific to each device. As for the RTL802, it's located in the src
, but doesn't include many:
Please, refer to the datasheet of the RTL802 and check for the available functionality to setup the control LEDs. (seems like the regs 18, 19, pg 7 would do). Unfortunately, we don't support writing to these registers from user code, so I'd suggest starting with some simple IDF example to play with the registers directly.
Then, It is possible to create a custom driver, something similar to this esp_idf_eth_w6100 and work with it directly from user code without any kind of modification in SDKs.
Hi @savagerex, was the last comment from David helpful?
OK!! THX
Closing as solved. If it's still needed, please reopen the issue. Thanks for your contribution.
Related area
Peripheral
Hardware specification
ESP32
Is your feature request related to a problem?
please help to esp32 control LED of (PHY) RTL8201
in the core 2.0.2. we found the file (eth_phy_regs_struct.h).
it's seem to control LED. right ???
Describe the solution you'd like
we want to control LED of (PHY) RTL8201
Describe alternatives you've considered
No response
Additional context
No response
I have checked existing list of Feature requests and the Contribution Guide