Skip to main content
j3lda1
Associate
October 30, 2014
Question

Synchronization of two DMAs

  • October 30, 2014
  • 1 reply
  • 717 views
Posted on October 30, 2014 at 21:54

Hello, I need generate via DAC and measure via ADC at the same time (when I connect DAC with ADC, I should exatly measure what I generate). Transmissions from ADC and to DAC are now via DMA.

Is it possible to synchronize these two DMA (=synchronize ADC with DAC)?

Thank you very much for answeres
    This topic has been closed for replies.

    1 reply

    Tesla DeLorean
    Guru
    October 30, 2014
    Posted on October 30, 2014 at 23:23

    Yes, you'd use a TIM channel to trigger the ADC/DAC, both could share the same channel, or if required 2 different channels to provide a slight phase relationship to compensate for any measurable latency.

    You should review the manual to see what timer/channel choices are available for each.
    Tips, Buy me a coffee, or three.. PayPal VenmoUp vote any posts that you find helpful, it shows what's working..