2010ee179
Member level 2
- Joined
- Jun 22, 2011
- Messages
- 43
- Helped
- 4
- Reputation
- 8
- Reaction score
- 3
- Trophy points
- 1,288
- Location
- Pakistan
- Activity points
- 1,555
Hey , I'm trying to implement a FIR filter using PIC32 microcontroller.
I read a sample, process it and then send it to output. I'm done and waiting for next sample. This is sample by sample filtering.
Now I want to implement block filtering that is to read a block of consecutive samples, process them and then output them.
But i don't see how its gonna work for real time signals...I mean when I'm processing a block...what about the samples coming at that time...
I can't read and buffer those samples while I'm processing current block. I can only do one task at a time.
I'd appreciate if you guys could give me any suggestion.
I read a sample, process it and then send it to output. I'm done and waiting for next sample. This is sample by sample filtering.
Now I want to implement block filtering that is to read a block of consecutive samples, process them and then output them.
But i don't see how its gonna work for real time signals...I mean when I'm processing a block...what about the samples coming at that time...
I can't read and buffer those samples while I'm processing current block. I can only do one task at a time.
I'd appreciate if you guys could give me any suggestion.