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.

TMS320F280049C: DMA configuration + burst mode ADC

Part Number: TMS320F280049C

Hello TI,

first is it possible to configure the DMA that he takes samples of SOCs0,2,4,6,8 ... 

I am using the burst mode to sample higher frequent signals on even SOCs and lower frequent signals on the odd SOCs. 

I have 3 high frequent signals which should fill a buffer of 1000 samples. In order to reduce load, using the the samples out of the result buffer would probably help.

If this is possible, is there an example? 

Best Regards

  • Hi Jan,

    Yes, it is possible for DMA to take even and odd SOC samples.  This can be configured by using functions DMA_configBurst() or DMA_configTransfer() by manipulating the values of arguments srcStep or destStep to arrange the ADCRESULTS for instance in the order that you described to separate the results for high and low frequency signals in the destination address.

    There is no direct example for what you described but you can start with adc_ex6_soc_continuous_dma.c and see how the DMA transfer is set in function configureDMAChannels() and modify accordingly for your case to arrange destination location to have even/odd SOC results grouped together.  

    Best regards,

    Joseph