Part Number: MSP430FR2433
Tool/software: Code Composer Studio
I have successfully run the C example "msp430fr243x_adc10_16.c." When trying to incorporate into my larger code however, I cannot read from the temp sensor. I can get values, but they are incorrect. I have checked all the relevant PMM and ADC registers for both programs and the registers are identical during the crucial part of reading from the ADC. There must be somewhere where the ADC falls out of its normal operation. I have attempted to put some pieces of code into the example that functions to try to see what would break it and have been unsuccessful in finding what would break the ADC. Most of my code uses registers, but I'm not opposed to using driverlib if someone has a good solution using it. Is there a good way to reset the crucial parts in order to use the ADC for temperature reading? Are there any common ways to cause the ADC to become unusable for temperature reading?
Thanks,
Don