Sir,
I am doing a project on smart-e-meter using msp430f5438a.I tried measuring input voltage by modifying the code of hal_adc.c in slac227j (user experience demo). I gave external voltage as ADC input at pin P6.7 ,but voltage observed on display was not correct and was fluctuating.Can you provide a solution for this,