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/TMS320F28027: MEASURE TEMPERATURE WITH SIMULINK

Part Number: TMS320F28027


Tool/software: Code Composer Studio

hi guys, i'm trying to measure the temperature via internal temperature sensor of the TMS320F28027. As i know, the ADCINA5 is internally connected to temperature sensor, so in SIMULINK, i take out the ADCINA5 and connect it to the scope block like this:

The figuration of ADC block:

The code is built successfully:

And this is the signal i 've got from the scope:

The maximum value it reaches is around 10, this is not true, i'm pretty sure the real temperature is much higher than that.

Where do i get wrong?, please help me. 

  • Khanh,

    This forum is only able to provide competent support for device related questions.  As such, I can highlight that the TEMPCONV bit (as defined in the ADC Reference Guide) needs to be set in order to sample the internal temperature sensor:

    We do not have the expertise to tell you how this should be done in SIMULINK. You will need to contact them directly for SIMULINK-related support.

    -Tommy