How to change the ADC scan rate

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
ViSh_3577471
Level 2
Level 2
10 replies posted 5 replies posted 10 questions asked

Hi

My kit is PSoC63.I can find some  information from ADC datasheet .The achieved scan rate is dependent on the following:

▪ ADC clock rate

▪ Number of channels

▪ Averaging

▪ Resolution

▪ Achieved acquisition time

The parameters of number of channels ,averaging and resolution are fixed,  so which API  can change the scan rate ?

Best regards, vick.

0 Likes
1 Solution

你可以直接看datasheet page 5,6,7, 之前我的回复里面把问题描述复杂了。

SAR ADC的时序图如下:

pastedImage_6.png

采样速率的计算公式为:

pastedImage_7.png

总共是18个clock周期。

如果你想达到改采样速率的目的,那么你可以改ADC的时钟。

如果你想获得achieved scan rate = 1MSPS,

环境的基本设置参数:channel =1, no average, resolution =12, achieved acquisition time =167ns,

倒推过去,你需要设置ADC的clock设置成18Mhz,其它的速率也是同样的方式。

View solution in original post

0 Likes
3 Replies