I was wrong about the number 1, actually after some experiments I noticed that 
I'm still losing samples, even after setting the ACK_CLKDIV to something that 
divides the 24MHz by 3. Anyway it is useful to know that you can obtain higher 
sample rates by setting a lower value to that register.

I'd also like to add that the continuous mode that you set on the step config 
seems not good. I noticed it after sampling higher frequency waves, however 
even on low frequency ones there's a noticeable step on the sampling: every 
14-15 samples had approximately the same value... I solved that by setting 
STEPCONFIG it to the default one-shot mode and then the PRU request a sample 
when it thinks it's time to. To request a sample, re-set the bit on the 
STEPENABLE register.

My last step is to discover how to solve the lost samples problem...
When I'm sampling at 300kSps I noticed I lose 358 samples every 5005 samples. 
At 30kSps the proportion was 5 to 500.

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to