Hi,
the datasheet of AD4134 (and AD7134) report the following examples to calculate the ODR (AD4134, Datasheet Rev.0 page 49):
The datasheet states that the target ODR is 187.23 kS/s. Hence the decimation rate is approximately 128.1846. 128 in hex is 0x80. So far so good. But how is the float part (ODR_VAL_FLT) calculated?
When I try to convert the float part 1846 (the part after the comma) into hex, I get 0x736 and not the given 0x2F4103E5 as per datasheet (which would be as a decimal: 792789989). Am I missing something? The second example does not help (no float part) and in both ADC Datasheets the examples are the same.
I want to have an ODR of 81.92 kHz. What are the right register bits / how to calculate them?
I would have assumed ODR_VAL_INT = 0x000051 (decimal 81) and ODR_VAL_FLT = 0x00005C (decimal 92).
Thank you very much already,
Patrick
- fixed minor wording issues
[edited by: pre at 6:38 PM (GMT -5) on 4 Feb 2023]