这是我们所能预知的,这取决于你的程序和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
这是我们所能预知的,这取决于你的程序和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
举报