cancel
Showing results for 
Search instead for 
Did you mean: 

Unable to get EOC on Triple ADC mode

robbi
Associate II
Posted on April 21, 2016 at 19:44

The original post was too long to process during our migration. Please click on the attachment to read the original post.
3 REPLIES 3
Posted on April 21, 2016 at 21:48

The DMA serves the EOC (self clearing), you'd be better using the DMA TC or HT signals.

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
robbi
Associate II
Posted on April 21, 2016 at 22:53

I see HTIF but not TCIF and there is no error since none the other flags for stream 0 in DMA_LISR are not set..

(In my code, ADC_DMA_STREAM is DMA2_Stream0).

robbi
Associate II
Posted on April 21, 2016 at 23:21

Strangely, by inspecting the destination array it looks as though it converted 4 of the 6 values (well, 3. the first one is zero) but DMA_S0NDTR is still 6 when I pause and look from the debugger meaning that it has not transferred any values at all.