Hi all,
I do not manage so far to have a functionnal ADC and DMA on the TMS570L or RM48x.
My sequence is :
After having initialised the adc module, with all the 64 buffers on the group1 of ADC1 (2 x 32), I start the continuous conversion on pin0 using :
adcREG1->G1DMACR |= 0x00400005; // => 1 block of 64 values should be converted
and not : adc->GxINTCR[group] = s_adcFiFoSize[index][group]; which is using interrupt threshold as specified in the user manual.
I start the conversion by : adc->GxSEL[group] = s_adcSelect[index][group]; // write on pin0 tu strat conversion
I go on with dmaEnable, and assign the chanel 0 on request 1,
then configure the DMApacket to read at the ADC Memory 0xFF3E0000, and not the Fifo implementation (ADC1BUFF).
The value should be written in an array of size 64.
then dmaSetcCtrPacket, and dmaSetChanel.
What I observe is that 1 DMA request is well done but after I can't read new value of ADC anymore.
After one go, I have in the register and that never change
G1IntCtrl 0x00000000
...
G1DmaCtrl 0x00000005
Is there someone to help me on that ? I can share the example
Tks.