Search found 2 matches
- Wed Nov 15, 2023 12:14 pm
- Forum: General Discussion
- Topic: How to use SPI DMA function in ESP32-S3?
- Replies: 0
- Views: 623
How to use SPI DMA function in ESP32-S3?
In my project, ADC data transfer via SPI. At present, host(ESP32-S3) read SPI data when GPIO interrupts are triggered by ADC's DRDY signal. In this way, it takes up a lot of kernel time and the ADC update speed is limited. Can I directly use DMA to read ADC data through SPI? Are there any related ex...
- Fri Nov 10, 2023 8:25 am
- Forum: ESP-IDF 中文讨论版
- Topic: ESP32-S3中如何使用SPI DMA功能?
- Replies: 0
- Views: 3840
ESP32-S3中如何使用SPI DMA功能?
项目中需从SPI的ADC中读取数据。目前是用ADC的DRDY信号触发GPIO中断,在中断中读取SPI数据,这样会占用较多内核时间,无法提高ADC更新速度。能否直接用DMA通过SPI读取ADC数据?有没有相关例程可以参考?