Because of the Thanksgiving holiday in the U.S., TI E2E™ design support forum responses may be delayed the week of November 23.

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.

TMS570LC4357: TMS570LC43457 multi Buffer SPI RX not triggering RXDMA

Part Number: TMS570LC4357

Hi,


I am trying to get RXDMAENA (DMACTRL[0] bit 15) to generate an automatic

hardware-triggered DMA request when MibSPI1 receives data, so the
TMS570 DMA controller copies received data from MibSPI1 RXRAM into
application RAM (s_rx_buf) without CPU intervention.

From testing I confirmed that a software DMA trigger will trasnfer the data from RXRAM to the desired buffer, but I can't seem to figure out how to wire mibSPI->DMACTRL to trigger an RX DMA transfer when I received N bytes in RXRAM via the SPI.

I attached my test code with detailed comments and things i tried, and hope someone can point me in the right direction. 

Once this is working, the goal is to also use the TXRAM + DMA to pipe data out of the SPI while using the DMA to receive data. 

I appreciate any help.

mibspi_dma_testing.c