cancel
Showing results for 
Search instead for 
Did you mean: 

ADC scan conversion timing issue, channel order

Ricardo Hassan
Associate III
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
0 REPLIES 0