Hi,our product is ready for production and we are preparing commissioning software.
The 52840 is powered from a 3.7V LiPo via an external switching regulator that outputs 3.3V to VDD.
We can measure the battery voltage via an external resistor divider to an analog input accurately.
We would also like to measure the 3.3V reg output during production testing with software to verify all is OK.
But when we select VDD as input to the SAADC we get a voltage value above 3.3V at about 4.4V.
We are using internal reference of 0.6V and gain of 1/6 which means we should be able to measure up to 3.6V?
I am the electronics engineer and don't write the software. I have stepped through the code with the developer and can't see anything wrong. The SAADC code is common with both battery and VDD readings apart from the input selected. We are using SDK 15.0.
Any ideas.
Thanks
Leon