cancel
Showing results for 
Search instead for 
Did you mean: 

PSoC 4 MCU

Contributor II

Hello,

I have a question.

In ADC_SAR_Seq configuration, there is samples averaged tag. and mimimum value is 2.

pastedImage_2.png

Please see the explanation below.

pastedImage_3.png

Are the outputs added and averaged ?  For example, in case of PSoC4100S, Does that mean the sample rate is one-half of 1Msps?

pastedImage_5.png

Best regards,

Yocchi

0 Likes
Reply
1 Solution
Moderator
Moderator

Hello Yocchi san,

If you see the channels tab of the ADC configuration

pastedImage_0.png

There is an option to enable or disable the sampling rate. For the channels which has enabled summation and averaging will be done. From the component perspective when you have entered the sample rate and try enabling averaging, the component will try to increase the ADC clock accordingly to achieve the required sampling rate. It will throw an error other wise too.

Best Regards,
VRS

View solution in original post

0 Likes
Reply
3 Replies
Esteemed Contributor II

When you select a channel for averaging the sampling rate does not change, but it will take two or more (as selected) samples to form a result. Keep in mind that you may switch off the averaging for each channel individually.

Bob

0 Likes
Reply
Moderator
Moderator

Hello Yocchi san,

If you see the channels tab of the ADC configuration

pastedImage_0.png

There is an option to enable or disable the sampling rate. For the channels which has enabled summation and averaging will be done. From the component perspective when you have entered the sample rate and try enabling averaging, the component will try to increase the ADC clock accordingly to achieve the required sampling rate. It will throw an error other wise too.

Best Regards,
VRS

View solution in original post

0 Likes
Reply
Contributor II

Hello VRS,

I agree with you.

Thank you very much.

Best regards,

Yocchi

0 Likes
Reply