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.

