-
Notifications
You must be signed in to change notification settings - Fork 7.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
error parameter in spi_bus_initialize when using example connect (IDFGH-9750) #11083
Comments
OK, I will confirm the problem and fix it. |
Hi, I have the same problem with an esp32-s3 and a wiznet w5500.
I also fixed the problem by changing the code of the function eth_start in the eth_connect.c file. Fail
ESP_ERROR_CHECK(spi_bus_initialize(CONFIG_EXAMPLE_ETH_SPI_HOST, &buscfg, 1));
Success
ESP_ERROR_CHECK(spi_bus_initialize(CONFIG_EXAMPLE_ETH_SPI_HOST, &buscfg, SPI_DMA_CH_AUTO));
` |
@xieqinan ETA on this? |
The error has already been fixed, and it will be synced to esp-idf today or tomorrow. |
@xieqinan thanks for reply, when you make the change in the master, I update the IDF and compile my project to confirm that the problem is fixed. |
@xieqinan I did the pull to the master and tried it with my motherboard that has a PHY W5500 and it works fine, thank you very much for the work. |
@jjsch-dev Happy to help you. |
Answers checklist.
General issue report
IDF Version: master(ab63aaa)
I use esp32s3 and eth module DM9051 to run example ot_br.
And it couldn't work as expect, log as follow:
So I modify the param in spi_bus_initialize, it work.
I hope this configuration can be fix and merge into the branch, thanks.
The text was updated successfully, but these errors were encountered: