Filter sampling rates VS Data ready signal

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

cross mob
Anonymous
Not applicable

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

0 Likes
1 Solution
Bob_Marlowe
Level 10
Level 10
First like given 50 questions asked 10 questions asked

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

View solution in original post

0 Likes
1 Reply
Bob_Marlowe
Level 10
Level 10
First like given 50 questions asked 10 questions asked

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

0 Likes