UART transmit DMA on ESP32

arnoldb1778
Posts: 1
Joined: Wed Apr 24, 2024 12:37 pm

UART transmit DMA on ESP32

Postby arnoldb1778 » Wed Apr 24, 2024 1:50 pm

First time ESP32 project for me, and I’m porting an STM32 project to ESP32-WROOM-32, using IDF 5.2.1.

The STM32 project uses UART DMA to fill a TxFIFO in chunks then transmits bursts of 2.5Mbps data at semi-regular intervals (~30ms). I would like to implement a similar scheme with the ESP32. The ESP32 docs say there are two UART DMA controllers using link descriptors and such, but I have failed to find any example code like the many there are for other UART applications. More concerning is a remark in an issue from 2021 that UART DMA support was/is only planned for the ESP32S2/S3/C2, not the ESP32. Haven't found that claim anywhere else though, yet.

https://github.com/espressif/esp-idf/issues/7831

Can someone comment on this or link to a UART DMA example for the ESP32? Thanks in advance.

Who is online

Users browsing this forum: Google [Bot] and 78 guests