Hi, peter!
My question is related to mpc5744p dma.
When reading a variable named adc_1_ch0 with dma, it comes to dma destination address (adcresult [2]) on trace32. However, when the dma variable (adc1) is read from another function (ex, ctu interrupt, main), the value of the variable is read as 0.

[summary]
adc = adc_1_ch0_CDATA // normal mode setting
adcResult [2] = dma_0_TCD [16] destination //
adc1 = adcresult [2]; // This variable is always read as 0, I do not know why
I'd appreciate it if you could tell me why.
Attach the following file.