Search found 3 matches

by liuecho
Fri Aug 04, 2023 2:42 am
Forum: ESP-IDF 中文讨论版
Topic: esp32s3 使用串口gdma,无法发送。idf4.4.4
Replies: 8
Views: 5456

esp32s3 使用串口gdma,无法发送。idf4.4.4

使用的是esp32s3,idf4.4.4。串口2单独可以发送,串口2部分配置没问题。但是用gdma无法发送数据。调用uart_gdma_write没反应。不知道是gdma的配置问题,还是uhci的配置问题?请大佬解答。多谢。我现在可以在做哪些测试呢?如何更改配置。因为我有大量的数据来发送,需要使用dma来减轻cpu的负担。 测试代码 dma_descriptor_t *tx_desc; ///< DMA descriptors static gdma_channel_handle_t tx_channel; uint8_t *tx_dma_buf; //dma buffer uhci_sep...