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.

TMDXEVM5515: DMA callback doesn't work

Part Number: TMDXEVM5515

Hello,

I am following the MDK example code as below. But I found the callback isn't called. This callback should be called by event trigger. I checked the DMA user guide but can find the description of DMACESR1 and DMACESR2, so I don't know what event trigger the callback and why the event doesn't trigger. Please help to provide the details of these 2 registers. 

DmaConfigRcvL.autoMode = DMA_AUTORELOAD_ENABLE;
DmaConfigRcvL.destDataSize = DMA_DEST_DATASIZE_32;
DmaConfigRcvL.burstLen = DMA_TXBURST_1WORD;
DmaConfigRcvL.srcDataSize = DMA_SRC_DATASIZE_32;
DmaConfigRcvL.dmaEvt = DMA_EVT_I2S2_RX;
DmaConfigRcvL.chanDir = DMA_READ;
DmaConfigRcvL.trigger = DMA_EVENT_TRIGGER;
DmaConfigRcvL.trfType = DMA_TRANSFER_IO_MEMORY;
DmaConfigRcvL.srcAddr = 0x2A28;
DmaConfigRcvL.destAddr = (Uint32)L_Buff1;
DmaConfigRcvL.dataLen = 2*BUFF_SIZE;
DmaConfigRcvL.IntEnable = 1;
CSL_DMA_ConfigChan(hDmaRcvL,&DmaConfigRcvL,DmaRcvLCallback);

CSL_DMA_StartTransfer(hDmaRcvL);