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.

CCS/BOOSTXL-EDUMKII: Educational BoosterPack MKII project problem

Part Number: BOOSTXL-EDUMKII
Other Parts Discussed in Thread: TMP006

Tool/software: Code Composer Studio

Dear all TI Engineers,

I am testing the Educational BoosterPack MKII together with the MSP432P401R LaunchPad.

I have compiled the project "boostxl_edumkii_temperature_msp432p401r_MSP_EXP432P401R_nortos_ccs" successfully and it is running and showing temperature in degree Fahrenheit.

Now, I want it to show temperature in degree C.  Which part of the source code should I alter?

Thanks in advance.

  • Hi Tim,

    if you look into the HAL_TMP006.c file you will find that the temperature measurement is converted there from Celsius to Fahrenheit.
    Also look for the formula to convert between Celsius and Fahrenheit - you will find it the calculation in the HAL_TMP006.c file again.

    Regards,
    Stefan
  • OK Stefan,
    I can find the formula and change it to C, but it seems quite high. My room temperature is about 20 C, and the boostpad reports that it is about 30 C. Is your formula correct?

    Another problem is: CCS refuses me to enter the character ˚C into the file main.c . How do I correct it?
  • Hi,

    the TMP006 may need some calibration as it depends on the surface your are scanning the temperature.

    See also the Users Guide for the TMP006 (unfortunately not available on the TI side but can be found here:

    The Font used on the GRlib only supports ASCII characters but the Degree char is not part of this.

    So may use DegC here.

    Regards,

     Stefan