NRF25 using Butterworth bandpass filter for ECG by SAADC

HI everyone, i have a problem when implementing Butterworth bandpass filter in SAADC module to cancel out the noise of our ECG module.

I used " nrf_saadc_value_t m_buffer_pool[2][SAMPLE_BUFFER_LEN] " and " nrfx_saadc_buffer_convert(m_buffer_pool[0], SAMPLE_BUFFER_LEN) "

As far as i had known, the VOLTAGE signal of the analog input will be transfered to the memory of MCU and converted to an appropriate level of BITS, then these value will be stored in registers in terms of BITS. I used a software filter based on the code on this Github link: github.com/.../filter-c

My question is: How can the Butterworth filter cancel out the noises and only select the band of desirable frequency for my project. Does it work only on frequency generated by the electrical voltage Or it can also filter the BITS value in the memory?

Thanks in advance.

Parents Reply Children
No Data
Related