Tool/software:
Hi,
I have the Launchpad for the mspsm0g.
I want to sample data with 10bit from 4 channels into a ring buffer(uint16). I set mem0 to 3.3V and mem1-3 on GND. So what I do is:
1) Configure Transfer Size > 0 (60 in my case)
2) Configure DMA Samples Count = 6 (= 12 x 16 bit) -> total of 60*12 = 720 samples
3) DMA Trigger on MEM11 result loaded
4) On DL_ADC12_IIDX_DMA_DONE I set the next address an reenable dma (DMA single Mode - Like the Ping Pong example)
When the ADC interrput is hit (on DL_ADC12_IIDX_DMA_DONE), I only see ~120 values written to the buffer.
The values are like 300, 1020, 0,0, 300, 1020,0,0.
Where I would expext 1020,0,0,0,1020,0,0,0 and so on
Questions:
1) Is there an example for my use case? I looked at the adc ping pong example already (single channel)
2) When is DL_ADC12_IIDX_DMA_DONE triggered, after a single transfer or alle transfers configured?