Author |
Message |
Topic: AD Digital Filter |
clarence
Replies: 63
Views: 69914
|
Forum: General CCS C Discussion Posted: Wed Mar 19, 2014 8:46 am Subject: AD Digital Filter |
I need to clarify the median filter.
The selected output is the value that is between the hi and lo value in the buffer, not anything to do with the index into the buffer. |
Topic: AD Digital Filter |
clarence
Replies: 63
Views: 69914
|
Forum: General CCS C Discussion Posted: Wed Mar 19, 2014 8:20 am Subject: AD Digital Filter |
K = 0.5 then just shift right one place.
or use fixed point like 8.8
also consider a median filter.
The last three values are buffered and the output is always the middle value in the thr ... |
Topic: AD Digital Filter |
clarence
Replies: 63
Views: 69914
|
Forum: General CCS C Discussion Posted: Wed Mar 19, 2014 7:43 am Subject: AD Digital Filter |
AV=AVold + K*(Avold - reading);
AVold =AV;
K between 0 and 1 ( not inclusive of limits ie not exactly zero or one)
small K is more filtering, large K is less.
K = 1 is no filtering at all.
... |
Topic: pcd mac assembler instruction. |
clarence
Replies: 1
Views: 5020
|
Forum: General CCS C Discussion Posted: Tue Mar 18, 2014 2:21 pm Subject: pcd mac assembler instruction. |
Does the pcd compiler implement the full mac instruction with two register prefetch and increment.
MAC B, W2*W3, W2, [W5]+=2, W3, [W7]+=4
In this case W2 and W3 pointers are both updated in the ... |
|