如何使用SPI的DMA

electronicm
Posts: 3
Joined: Tue Feb 08, 2022 1:05 am

如何使用SPI的DMA

Postby electronicm » Tue Feb 08, 2022 1:14 am

module:ESP-WROOM-32
IDF Version:ESP-IDF 4.3

各位,ESP32的技术手册中有关于SPI DMA的描述,但是在ESP-IDF编程指南https://docs.espressif.com/projects/esp ... aster.html当中并没有相关的API,请问是否有关于SPI DMA的例程参考 :?:

ESP_morris
Posts: 290
Joined: Wed Sep 05, 2018 6:23 am

Re: 如何使用SPI的DMA

Postby ESP_morris » Tue Feb 08, 2022 9:48 am

https://github.com/espressif/esp-idf/bl ... ain.c#L439

注意 spi_bus_initialize 函数的第三个参数

Who is online

Users browsing this forum: No registered users and 144 guests