ad7172: Correct postfilter rates and rejection #166
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "atse/thermostat:correct-postfilter-rate"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The AD7172-2 Rev. A datasheet is inconsistent on the 50/60 Hz postfilter rates and rejection figures between the ENHANCED 50 Hz AND 60 Hz REJECTION FILTERS and the FILTER CONFIGURATION REGISTER 0 sections. Use the former section's figures instead.
The latter section is wrong since the 21.25 SPS figure is incorrect, as the output data rate = 1 / (settling time), and 1 / (40 ms) = 25 Hz. This seems to have been corrected in the datasheets for the rest of the AD717x family, which have the same filter.
accd634963
to81112e429b
For reference, here's a screengrab of the ENHANCED 50 Hz AND 60 Hz REJECTION FILTERS section:
...and the figures in the FILTER CONFIGURATION REGISTER 0 section:
The same section in the AD7173-8 Rev. B datasheet:
It is indeed 25 SPS instead of 21.25 SPS.
(Verified on Kirdy with a MCU timer)
Checkout
From your project repository, check out a new branch and test the changes.