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: how to use dma mode in main domain spi1

Part Number: TDA4VM

  when i use spi1 slave mode, the fifo only support 64 byte, but we will used 128 byte protocol, so fifo can't meet our protocol requirements, so we try to use dma mode, in the process our encountered some problems.

  1. how to enable the macro definition SPI_DMA_ENABLE in file ti-processor-sdk-rtos-j721e-evm-07_01_00_11/soc17_pdk/packages/ti/drv/spi/src/v1/SPIV1.c +1311 lines.

  2.when i delete of the macro SPI_DMA_ENABLE, i used the interface Udma_eventRegister() failed in files ti-processor-sdk-rtos-j721e-evm-07_01_00_11/soc17_pdk/packages/ti/drv/spi/soc/dma/v2/SPI_dma.c  +144 lines, it's called by MCSPI_dmaConfig in files ti-processor-sdk-rtos-j721e-evm-07_01_00_11/soc17_pdk/packages/ti/drv/spi/src/v1/SPIV1.c +1311 lines.