Mar 22, 2020
09:01 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Mar 22, 2020
09:01 AM
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.
Solved! Go to Solution.
1 Solution
Jul 27, 2020
12:56 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Jul 27, 2020
12:56 AM
你可以直接看datasheet page 5,6,7, 之前我的回复里面把问题描述复杂了。
SAR ADC的时序图如下:
采样速率的计算公式为:
总共是18个clock周期。
如果你想达到改采样速率的目的,那么你可以改ADC的时钟。
如果你想获得achieved scan rate = 1MSPS,
环境的基本设置参数:channel =1, no average, resolution =12, achieved acquisition time =167ns,
倒推过去,你需要设置ADC的clock设置成18Mhz,其它的速率也是同样的方式。
3 Replies