- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Very Simple Question!
The number of average filter samples is 4, how to fix it to 5?
Thanks.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @CySysClkIloComp ,
Average Filter takes the four most recent samples and computes their average to eliminate periodic noise. We cannot configure it to take 5 samples instead of 4 samples.
Thanks!
Kind Regards
Arpit Srivastav
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @CySysClkIloComp ,
Average Filter takes the four most recent samples and computes their average to eliminate periodic noise. Please allow me to check internally if in case we can configure the Average filter to take 5 most recent samples instead of 4. Let me get back to you.
Thanks!
Kind Regards
Arpit Srivastav
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @CySysClkIloComp ,
Average Filter takes the four most recent samples and computes their average to eliminate periodic noise. We cannot configure it to take 5 samples instead of 4 samples.
Thanks!
Kind Regards
Arpit Srivastav
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
It's a pity that you can't change the number of samples used for the average. If you change the number of "CapSense_REGULAR_AVERAGE_LEN" that is generated when you activate the average filter, you may think that it is possible. If the existing codes of PSoC used reasonable and ideal coding rules, it seems highly likely that they will work that way.
Anyways, thanks for the reply.