Paul: I am already re-wired for the external ADC but I will whip up some battery packs and try that out, thanks for the advice. In the final deployed configuration there is only one battery pack...
Type: Posts; User: CrustyAuklet
Paul: I am already re-wired for the external ADC but I will whip up some battery packs and try that out, thanks for the advice. In the final deployed configuration there is only one battery pack...
I figured it would be unlikely to drop packets over USB, so maybe the buffer is losing samples? in the single buffer setup some samples could be overwritten during a write if it is going really fast....
UPDATE:
USB noise still present, in fact with the new code it seems to present itself as a constant hum at 3kHz, 6kHz, 9kHz, 12kHz... etc when I look at spectogram in audacity. Probably due to a ton...
Holy cow, your code is great. The IDC_ISR runs in 540ns (mine ran in 1.2us) so between that and the interrupt priority I am now sampling at 400ksps! My pie in the sky goal was 300ksps so that is...
AGND is wired to GND (redundant i think), Vin is 4.5V, 3.3V goes to the mic, and AGND to the mic as well. there is a .1uf cap between AGND and 3.3V since there was a small ripple in the teensy...
I will put the code inline next time, just thought it was kind of long :)
The USB writes seem to take 2.5us no matter how big a buffer i send it. I don't think I ever tried just sending it exactly...
Everything up to the ADC pins is being designed by another student and it is very nice and shielded. The sensor we are working with now is a hydrophone to record echolocation clicks, but they want it...
I am working on a project to collect scientific data from sensors via the ADC, at high sample rates (right now at about 150-160ksps). The data is not being stored on the Teensy, but is being piped...