AnsweredAssumed Answered

ADC scan conversion timing issue, channel order

Question asked by Ricardo Hassan on Aug 22, 2016
    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?