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: SPI使用DMA传输时调用mcal里的Spi.c的Spi_setupEB出错

Part Number: TDA4VM


TI的大神,您好:

         我们在调试SPI DMA时遇到个问题,在调用Spi_setupEB时返回值是E_NOT_OK,经查验发现是在使用SPI DMA传输的时候mcal里的Spi.c的Spi_setupEB函数加了个过滤条件,如下图

该处注释显示在使用SPI DMA时Spi_setupEB设置的数据长度只能是32,我们设置的长度是8,如下图

在未使用DMA传输时我们设置数据长度为8是没问题的,但是在使用DMA传输之后,我们设置数据长度为8是出问题的,我想请问,SPI在使用DMA传输的情况下Spi_setupEB只能设置数据长度为32吗?