• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

MSP430 Microcontroller Help

NaOH

Diamond Member
I need help. I can get the board to read in using the temperature sensor, but I can't figure what the actual temperature in degrees is. I look in the register that stores the reading and it's in HEX. So lost.
 
[Edit] Check page 371 and 377 of the manual http://focus.ti.com/lit/ug/slau144b/slau144b.pdf
Pg 377 gives the transfer function.
[/Edit]

Does the microcontroller itself have an internal temperature sensor that automatically stores its value into a specific register? Or is there a temperature sensor on a development board that also has the MSP430 on it?
 
yes it has an interal temp sensor and it stores the value into a specific register. I have that data sheet already but I can;t make anything out of that transfer function (idiot).
 
The datasheet should have the function to use to convert to either F or Cs. MSPs are 16bit MCU so prolly this value will be stored in a register somewhere, if you look into your register file to the specific location stated in the datasheet, there should be a 16bit HEX value.
 
What is the value that you read(Unsigned Hex value) ? you're right that transfer function is not really clear. DO you know what is your voltage reference ? then I think the offset Voltage is the actual reading from the sensor - voltage ref.
 
The value read in is like 0xD335. That corresponds to roughly 75C (using an extra thermometer to check). Voltage ref is 1.2V.
 
Back
Top