This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

28027 temperature sensor setting

I tried this instruction anywhere in the main, but it doesn't change the bit, I have to put this instruction in ADC_SOC_Cnf.c, then it works.

why doesn't it work in main?

 

AdcRegs.ADCCTL1.bit.TEMPCONV = 1;

 

I am using TI demo Kit, HVPSFB PCMC project.

 

thanks