cancel
Showing results for 
Search instead for 
Did you mean: 

How do I accurately change the sample rate on the SPC560P?

TBles.1
Associate II

My question is how to set the sample rate exactly? I know that I have to set it via the CTR register and there via the values INPCMP and INPSAMP. I also know where to set the values in the LLD-Config. However, I do not understand which change of the values causes what exactly, so how the sample rate is then calculated.

I have already calculated the data from the data sheet with my values but I always come to other values as they are in the Config.

Can someone help me here or give an example for a specific sample rate (eg 10kHz)?

Thanks a lot

This discussion is locked. Please start a new topic to ask your question.
1 ACCEPTED SOLUTION

Accepted Solutions
ODOUV.1
ST Employee

Hello,

I recommend you to read the chapter "ADC sampling and conversion timing" in Reference Manual about the CTR0 fields to control ADC timings.

Best regards.

View solution in original post

1 REPLY 1
ODOUV.1
ST Employee

Hello,

I recommend you to read the chapter "ADC sampling and conversion timing" in Reference Manual about the CTR0 fields to control ADC timings.

Best regards.

Announcement

We’re moving the ST Community to a new platform to give you a better and more reliable community experience.