Hi there,
I was just digging through the code of the KeyFob again and I stumbled upon the calculation of the battery percentage in battservice.c
All calculation is done against a REF-voltage of 1.25V but the data sheet states that the internal reference voltage of the 2540 is 1.15V?
Beside that the resolutions in hal_adc.h (8, 10, 12 and 14 bit) are different from the ones mentioned in the datasheet (7, 9, 10 and 12 bit).
Now which values are correct?
Andre