Hello Sandra Arias,
In the MED-GLU demo sample code the ADC is apparently not calibrated, so this could introduce some accuracy errors. Regarding calibration of the ADC I would highly recommend you to check the next contents:
1) The K53 Reference Manual has a section which talks about ADC calibration (search for "Calibration function" in the manual).
2) The next document in community by colleague Alejandra Guzman talks about the procedure and the importance to calibrate the ADC:
16-bit SAR ADC calibration
3) The attached file includes the sample routine ADC_Cal(), but please notice that you should configure the ADC to the required frequency and sampling settings before running the calibration.
This could improve the measurements repeatability, but also notice that the MED-GLU is just a demo which simply uses a look-up table to match with the ADC conversions, so if that method does not comply with the accuracy requirements you would need to make experiments and develop your own measurement algorithm.
I hope this helps.
Regards!
Jorge Gonzalez