Hello-
When I use analogRead to rapidly acquire ADC data the curve has the shape of a sine-wave. Honestly, I have not confirmed that the cyclical variation I am seeing is actually 60 Hz or some other rate (if I had a scope it would be easy, but I do not). I forgot which analog pins I tested (I think I used pins with low numbers). I am aware that some ADC pins are better than other pins for reducing noise).
I am wondering if anyone has experience implementing DSP functions on a Maple R3 or Maple Mini board? Is there enough memory space on the R3 or Mini? Would the Maple RET6 Edition board be a better choice? Initially I would like to collect 5000 samples per second, but if successful I might try to collect up to 20K-50K samples per second or a bunch of simultaneous data points at a high rate.
I have considered using a hardware filter to remove the noise. I do not know if it is more elegant to implement the filtering in software. It would be nice to see how far we can push the Maple boards.
Is the software solution more or less work?
st.com has some code on their web site for DSP, but I have not tried it yet.
I am asking these questions before I have done much work, because your answers will give me guidance and insight. I realized I may have to learn more about DMA or transfer the data via SerialN rather than SerialUSB.
Thanks!
Stephen from NYC (full disclosure: I am not a member of the LeafLabs staff)