I would declare these as volatile as they are used in an interrupt
extern int16 ADC_res;
extern int16 ADC_FIR;
extern uint16 i;
Insofar as output array being 0, one can assume your input signal was
in the passband ? You have confirmed input array from SAR looks right ?
Lastly the SAR is set up 800K SPS. That might be a tad too fast
to guarentee that your polling gets the sample before its overwritten
by the DFB. Maybe a DMA approach might make more sense.
thanks Dana fro your hin
i checked the ADC_res, the values of the SAR are as axpected and the signal IS in the passband(Signal freq. 90 KHz)
so it should work but it dosen't
i thik it could be the configuration of the filter, but i didn't find it out
Hosam, I am at a loss for error, consider posting a CASE and if
you have time post the results back here, I am curious as to what
the issue is -
To create a technical case at Cypress -
“Create a Case”
You have to be registered on Cypress web site first.