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.

CCS / TMS320F28379D:How to use ADC Synchronous Mode/Burst Mode /DMA Mode together ?

Part Number: TMS320F28379D

Tool/software: Code Composer Studio

Hi

I want to get a quick reference from the ADC channel. When I read the reference manual, I saw that I can use the ADC channels synchronously. I have attached this situation as a picture below.

What effect can I have if this synchronous structure is used with burst mode. Also, what effect does it have to use DMA mode with ADC?

  • This introductory F28379D Workshop may be useful for ramping up on the device features.

    M.D said:
    What effect can I have if this synchronous structure is used with burst mode.

    The synchronous description generally refers to the simultaneous triggering of SOCs from different ADCs, and by extension, the sameness of ACQPS settings if serial SOCs are processed by concurrent ADCs.  The Burst Mode does not affect the primary SOC triggering scheme and would therefore behave similarly to the Normal (non-Burst) Mode as far as synchronous behavior is concerned.

    M.D said:
    Also, what effect does it have to use DMA mode with ADC?

    The DMA is used to move data between memory locations without the need for direct CPU intervention.  It does not affect the ADC behavior directly.  The benefit it brings is that ADCRESULT values can be buffered in RAM in real-time without involving the CPU.

  • Thank you for your answer. It was a very effective answer for the situation I was in and wondering. So how can I go about using the ADC channel effectively and quickly without tiring the CPU?

  • M.D,

    ADC conversions are typically triggered using a time-based module (like EPWM or TIMER).  This scheme allows conversions to take place at set intervals without CPU involvement.

    The CPU is usually interrupted to process the ADC results when a predetermined number of conversions are ready.  This is often done by generating an ADC EOC interrupt, or by generating a DMA interrupt when a batch of conversions have been buffered.

    -Tommy