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.

MSP430 Internal Temp. Sensor Simulation problem using IAR Embedded WorkBench v5.51



Hey, I have recently downloaded the "msp430x261x_adc12_10.c" file from the TI code examples library to asses the internal temperature sensor on the MSP430 devices. I have copied the C file into a new project/ workspace using IAR Embedded v5.51 and after successfully compiling, I am attemping to step through/ run the code through the debug veiwer (with visually monitoring the register states to ensure the values are written and read correctly) but the program seems to get stuck after commencing the sample and waiting for the interrupt falg to be set  (as the interrupt flag is not being set (ADC12IFG0) due to no value being written to the ADC12MEM0).

Does anyone get the same problem or know how I can get round this so that the ADC12MEM0 register shows the temperature value please?

Thank you,

Dan

**Attention** This is a public forum