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
Commit 4776f73c breaks SPI DMA #963
Comments
From the Lua RTOS team I can confirm this issue. Nothing in Lua RTOS works with SPI. We will fixed this by disabling DMA transfers in our SPI driver in a few minutes. Disabling DMA all works well. |
DMA transfers have been disabled for now. See espressif/esp-idf#963
Hi, the clock disabling commit broke SPI DMA, SDMMC, Ethernet, SDIO slave, and possibly the third-party CAN driver. We have merged the fix for this a couple of days ago, but due to some issues the master branch on Github has not been synchronized yet. Please use the attached patch set for now. |
We can confirm that CAN is not affected. |
Fixed in 51e8f43. |
SPI DMA transfer disabled due to an esp-idf issue. See: 2e83ab5 espressif/esp-idf#963 After esp-idf espressif/esp-idf@51e8f43 DMA transfers work again in Lua RTOS SPI driver.
Commit 4776f73 disables peripheral clocks by default, including the SPI DMA clock. This clock is not enabled when periph_module_enable() is called so SPI transfers with DMA enabled will always fail.
Is this DMA shared between all the SPI modules? Maybe this clock should be left running by default...
The text was updated successfully, but these errors were encountered: