Skip to content

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

Closed
@zrcaeiou

Description

@zrcaeiou

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions