Forum Rule: Always post complete source code & details to reproduce any issue!
-
Flush initial zeros out of Analog Buffer DMA?
Hi guys,
I am working on a project that is very much based on the adc_dma example in the teensy ADC library, and it uses the PDB to set the frequency of sampling. The analog buffer interrupt simply sends all the data over serial where it is processed on my PC.
I notice 4 zeros at the beginning of the first buffer of acquisition, and it their existence is independent of number of averages for the adc, conversion speed, etc. It might be a bit silly and particular, but I would like to see if I can get rid of them on the teensy before sending the data to my PC. I am using a teensy 3.6.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules