I've notice that no matter what I set the sample_rate to I always get ~51KHZ sampling which is leading (I think) to buffer overflow as I'm reading out only a fraction of what is being produced?
So I guess I'm confused by the fact that mcc172_a_in_clock_config_write uses sample_rate yet mcc172_a_in_clock_config_read uses &actual_sample_rate.
Is there a way of explicitly setting the read rate? or do I have to use actual_sample_rate?
Question
NicR
I've notice that no matter what I set the sample_rate to I always get ~51KHZ sampling which is leading (I think) to buffer overflow as I'm reading out only a fraction of what is being produced?
So I guess I'm confused by the fact that mcc172_a_in_clock_config_write uses sample_rate yet mcc172_a_in_clock_config_read uses &actual_sample_rate.
Is there a way of explicitly setting the read rate? or do I have to use actual_sample_rate?
Link to comment
Share on other sites
2 answers to this question
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now