I had increased the frame rate by changing the frame periodicity in the "frameCfg" command from 50 to 20(msec).
the IIR filter coefficients are based on this 20 frames per second rate
Accordingly I would like to calculate and update those coefficients.
I am not sure how to change the following values. Can you guide me how to calculate and change it accordingly?
FYI) when I just changed frameCfg 50 to 20 in command and run in EVM, frame numbers are skipped.
cf)
/*! @brief Second-order IIR-Filter contains 6 coefficeints per stage */
#define IIR_FILTER_COEFS_SECOND_ORDER 6
/*! @brief Number of Delay Elements in Second-order IIR-Filter */
#define NUM_DELAY_ELEMENTS_IIR_FILTER 3
/*! @brief Size should at least equal to "Coefficeints per stage * Number of stages + 2" */
#define BREATHING_WFM_IIR_FILTER_TAPS_LENGTH (IIR_FILTER_COEFS_SECOND_ORDER * IIR_FILTER_BREATH_NUM_STAGES) + 2
/*! @brief Size should be equal to Coefficeints per stage * Number of stages + 2 */
#define HEART_WFM_IIR_FILTER_TAPS_LENGTH (IIR_FILTER_COEFS_SECOND_ORDER * IIR_FILTER_HEART_NUM_STAGES) + 2
Thanks in advance,
BR,
kisub