Other Parts Discussed in Thread: SYSCONFIG,
Dear Experts, I am fighting with a problem to indicate "work is done":
I sample ADC on LP-MSPM0C1104 for 128 results, transfer them into the variable for FFT[] and can see values coming from ADC in memory location for the array. Now I want to call the ISR to set a variable dma_done = true; I am searching the way how to program "DL_DMA_INTERRUPT_CHAN_DONE". All work done so far is done by SYSCONFIG.
But I cannot see how to configure such an event in the DMA-block.
Your example in https://dev.ti.com/tirex/explore/node?isTheia=false&node=A__AI.BkXZOjs1Mumz8FFaLTg__MSPM0-SDK__a3PaaoK__LATEST
checks in ISR for ADC if work is done:
switch (DL_ADC12_getPendingInterrupt(ADC12_0_INST)) {
case DL_ADC12_IIDX_DMA_DONE:
gCheckADC = true;
break;
default:
break;
I wonder, why you don't choose the way via ISR for DMA, means howto fire the ISR?