analogdevicesinc / ad936x-filter-wizard

MATLAB-based FIR filter design
Other
50 stars 40 forks source link

Update auto filter generation to passband ripple minimize base on sample rate #37

Closed tfcollins closed 5 years ago

tfcollins commented 5 years ago

This PR enumerates different clock settings based on possible options for the FIR for a given sample rate. Based on each variant an FIR is generated and the configuration resulting in the minimum passband ripple error is used. This has shown to keep the passband ripple within 1 dB based on tests over the entire sample rate range.

CI tests were also added for LTE filter generation and passband ripple.

This fixes #36 as well.