Cypress技术论坛
直播中

黄远飞

7年用户 184经验值
私信 关注
[问答]

数据就绪信号的高真实抽样率的具体数字是什么?

你好会员
在过滤器的数据表(3P,数据就绪信号)中有以下描述。
“如果以高的实际采样率运行该过滤器,那么DMA是唯一一种能够快速处理数据流的唯一方法。”
你能告诉我这个“高真实抽样率”的具体数字吗?
如果采样率超过了HZ,DMA是唯一的方法吗?
最好的问候

以上来自于百度翻译


     以下为原文
  Hello members

There is the following description in Filter's data sheet (3P, Data ready signal).
"If running the filter at high real sample rates, it is likely that DMA is the only method that is fast enough to successfully handle the data stream."
Could you tell me the specific number of this "high real sample rates"?
If the sample rate is over what Hz, is DMA the only method?

Best Regards

回帖(1)

王琳

2018-10-29 11:44:22
这是我们所能预知的,这取决于你的程序和PSoC的设置。
等待数据准备就绪-使用中断或轮询-从过滤器中读取数据,并执行您想要的数据需要多个时钟周期。这些甚至取决于编译程序的优化级别。ADC采样比这些时钟周期快,将导致数据流中的间隙。当采样速度快于50kHz时,你应该考虑使用DMA,DMA在运行时就像一场火灾,忘记它在后台运行。有一些应用程序和使用DMA的例子。
鲍勃

以上来自于百度翻译


     以下为原文
  This is nothing we can predict, it depends on your program and your settings for the PSoC.
Waiting for data ready -using an interrupt or polling- reading the data from the filter and doing what you want to the data takes a number of clock cycles. These even depend on the optimization level your program was compiled with. ADC sampling faster than these clock cycles take will lead to gaps in the data stream. When sampling faster than 50kHz you should consider using DMA which, when running, is like a fire-and -forget-it running in background. There are some app nottes and examples using DMA.
 
Bob
举报

更多回帖

发帖
×
20
完善资料,
赚取积分