Hallo
I am trying to setup an AD4170-4 ADC on the EVAL-AD4170-4ARDZ Eval Board to use a custom FIR filter.
I did manage to set up a simple voltage input and filtering with the default FIR filter and with the Example_56_SymEven.csv filter file which is shipped with the ACE software. If I try to use a filter file with a custom filter, I do not get the expected results.
For the filter design I tried various online and offline tools, which output the filter coefficients as floats. Parallel to the ACE software I'm using the AD7768_Filter_Model.xlsl which is not designed for the AD4170, but the analysis shows similar behavior as the test with the ACE on the real ADC.
I have 3 questions about the coefficients that need to be loaded into the FIR registers, as I assume an error there isa causing my issues.
- The datasheet refers to the five programmable FIR options (odd/even asymmetric/antisymmetric coefficients and asymmetric coefficients). What is the difference between these modes in terms of coefficient handling inside the ADC and is there a difference of how and which coefficients I need to load on the slots in the coefficient register, besides the maximum length difference?
- The datasheet states that the coefficient is a 24-bit twos compliment. My assumption is that means a 24 value with one sign bit and 23 fractional bits, encoding range from -1 to +1.
I would kindly ask you to elaborate on the format of the coefficients in more detail. Also, I was also wondering if I need to scale the values to sum up to a certain values, as this is required for the FIR filter int he AD7768. - Is there something else (some additional constraints) that I need to be careful about when designing or loading the FIR into the AD4170-4. Maybe something that is not immediately clear from the information presented in the datasheet.