Hello Martin,
I don't want do tell to much about the project in a community like this, but let me decribe this as following:
I need a result with min 18 stable bits - approx every 20ms.
So, I have time for a slower sample rate and software averaging.
I tried a slower sample rate - with a different Value for the register clockDivider = kAFE_ClockDivider256 but it seems to make mor worse results than better.
I tried a simple filter too - like (pseudocode):
// make a unsigned long with space for bit-shifting (Channel 0)
afe_result = (uint32_t)((AFE_GetChannelConversionValue(AFE, 0)& 0xFFFFFF)+0x7FFFFF);
// simple digital filter function
u32filter_reg = u32filter_reg - u32filter_reg >> AFEFILTERFACTOR) + afe_result;
u32filtered_result = (uint32_t)(u32filter_reg>>AFEFILTERFACTOR);
with bit-shift-factor AFE4FILTERFACTOR of 4.
So it looks like I got approx 16..17 stable bits - but I need 1, 2 bits more...
Do you got a hint for a better way?
Best regards
Manfred