This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

[参考译文] TDA4VM:如何在主域 SPI1中使用 DMA 模式

Guru**** 2005520 points
请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1007482/tda4vm-how-to-use-dma-mode-in-main-domain-spi1

器件型号:TDA4VM

 当我使用 SPI1从模式时、FIFO 仅支持64字节、但我们将使用128字节协议、因此 FIFO 无法满足我们的协议要求、因此我们尝试使用 DMA 模式、在这个过程中我们遇到了一些问题。

 1.如何在 文件  ti-processor-sdk-rtos-j721e-evm-07_01_00_11/soc17_pdk/packages/ti/drv/spi/src/v1/SPIV1.c +1311行中启用宏定义 SPI_dma_enable。

 当我删除宏 SPI_DMA_ENABLE 时、我 使用了接口 UDMA_eventRegister ()、该接口在文件 ti-processor-sdk-rtos-j721e-evm-07_01_00_11/soc17_pdk/packages/ti/drv/spi/dma/v2/spi_dma.c +144行中失败、它在文件中被称为 SPI/mc7x11_sdk/dpdk/dpdk/dpdk/t/dr/dpdk/dr/dpdk/dr/dr/dpdk/t1.ti_k/dsp/dc/dpdk.c。

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    你好,buawkp,

    我们 已经讨论了在另一个线程的 SPI 中启用 DMA。 我们可以只打开一个线程吗?

    对此,

    Brijesh