I am using Talk through example of BF537 kit board. I want to implement the inbuilt FIR filter function 'fir_fr16(in, out,VEC_SIZE, &state)' . But i m not receiving any out put. Kindly help me. My project is attached herewith.
Could you check and tell if only FIR filter part of code is working, so that you be sure of the coefficients which has been chosen?
In the code which you have attached, Process_Data() function has following lines of code:
Because of the above lines of code you are overwriting all the n values of out at one location of iTxBuffer1.
Also to process the input data of size VEC_SIZE, you should configure transmit DMA (DMA 4) and receive DMA (DMA 3) with a X count of VEC_SIZE.
It would be better if real time FIR filter is implemented using ping pong buffer concept by using one buffer for accessing data and the other one for processing. This can be implemented by configuring DMA in descriptor list mode instead of auto buffer mode. The Talk through example of BF537 is mainly used for applications using less processing time, so you can modify it by applying ping pong buffer.
Thanks Kritika. I Will definitely try this.
Retrieving data ...