cancel
Showing results for 
Search instead for 
Did you mean: 

How to manage write pointer of FMAC?

DmRozhd
Associate III

Hi all,

imagine I want to implement two FIR filters (for I and Q, that is very common task for signal processing). First I set X1 buffer to 0 and size, let say, 32, and push there let say four data, thus write pointer is 4. Then I set X1 buffer to 32 (second filter area) and push some data there. Then I set X1 buffer back to 0, and write pointer is set to 0 too. Now I obviously need to set the write pointer back to 4, or the first data I have already pushed will be overwritten. And I cannot set X1 buffer to 4, because in this case the data already pushed will be ignored.

The question is: how do I set the write pointer? Or, maybe, there is a different way of implementing several separate filters that I have not understood?

Regards,

Dmitry

0 REPLIES 0