Hello, I am new to MSP430 devices and learning CCS to program it. I downloaded the following code to my MSP430F5438A contoller to check its behavior. It says LED gets ON when voltage @ P6.0 is greater than half of AVcc. AVcc is 3.3V, so LED should glow when P6.0 > 1.65. But LED doesn't glow until the voltage reaches to 3.6V. Please help me out with this.
// MSP430F543xA Demo - ADC12_A, Sample A0, Set P1.0 if A0 > 0.5*AVcc // // Description: A single sample is made on A0 with reference to AVcc. // Software sets ADC12SC to start sample and conversion - ADC12SC // automatically