ncsurobotics / DEPRECATED-acoustics-2016

Acoustics 2016
2 stars 0 forks source link

significant deviation in sample rate from specified value. Deviation increases with higher sample rates. #25

Closed smosh closed 9 years ago

smosh commented 9 years ago

While sample rate is spot on for 1kHz, faster speeds yield problems. When specified a rate of 200kHz, the ADC operated at 192kHz. when specified a rate of 400kHz, the ADC operated at 357kHz. Errors should be much less.

smosh commented 9 years ago

Fixed by manipulating counter in PRU1.p file (commit on March 22).