Skip to main content
Visitor II
August 22, 2016
Question

ADC scan conversion timing issue, channel order

  • August 22, 2016
  • 0 replies
  • 450 views
Posted on August 22, 2016 at 19:12

Greetings,

    I am using an STM8L and I'm trying to use the ADC.  I'm trying to continuously sample 2 channels and use DMA to transfer the results.  Everything is working fine with one exception.  After about 10 samples or so, it seems like it skips a channel, so that I get 2 samples in a row from the same channel.  After that the samples continue normally, but they are now in the reverse order.  I assume this is a synchronization problem between the ADC and DMA peripherals.  Has anyone else seen such a thing?  Is there a fix?

#stm8l-adc-dma-channel-order
    This topic has been closed for replies.