Skip to content
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

ESP32S3 SPI error: invalid dma channel, chip only support spi dma channel auto-alloc #233

Closed
zrcaeiou opened this issue Dec 17, 2023 · 0 comments

Comments

@zrcaeiou
Copy link

Some codes in lvgl_helpers.c may cause SPI error. Because dma_channel should set to SPI_DMA_CH_AUTO (which value is 3) while using esp32s3, but it set value to 1.

Change these:
#if defined (CONFIG_IDF_TARGET_ESP32C3)
Into
#if (defined (CONFIG_IDF_TARGET_ESP32C3)) || (defined (CONFIG_IDF_TARGET_ESP32S3))
May fix problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant