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.

TMS320F28388D: regarding data storage to SDRAM using DAM

Part Number: TMS320F28388D

Hello

Three DMA channels (1, 2, and 3) are used to read three A, B, and C differential ADC channels. An EPWM trigger source is used to initiate ADC conversion.

A DMA interrupt is generated at the end of 32768 ADC data transfer. also using the same DMA channels to transfer data to SDRAM.

Some value is repeatedly being stored in SDRAM as a result of the 16-bit ADC. All ADC channel results are stored in SDRAM using DMA.

What could be the reason for this?

 

Thanks in advance.

  • Hi,

    Apologies for the late response.

    Can you please check if your DMA configuration is such that it only reads back 1 ADC result register upon every DMA event? This could be one of the reason why the values on your destination (SDRAM -- This is actually GSRAM) are repetitive in nature.  

    Also, other possible reasons for this could be the timing of your control loop. Please check it out once to see if something is amiss for the error you are witnessing. 

    Hope this helps.

    Thanks & Regards

    Pramod