karplus / PteroDAQ

Other
3 stars 2 forks source link

Teensy 3.1 sampling rate wrong #34

Closed karplus closed 9 years ago

karplus commented 9 years ago

Original report by kevin_karplus (Bitbucket: kevin_karplus, ).


When requesting a sampling rate of F, we're actually getting F/2.

Haven't checked the timer on the pin-change yet.

karplus commented 9 years ago

Original comment by kevin_karplus (Bitbucket: kevin_karplus, ).


Fixed. Two bugs, both related to the PITs being driven by the bus clock, which is half of 72MHz system clock.