Other Parts Discussed in Thread: C2000WARE, SYSCONFIG
How can I sense or configure internal temperature sensing in code composer studio. Is there any example code for the same.
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.
How can I sense or configure internal temperature sensing in code composer studio. Is there any example code for the same.
Hi Rahul,
Yes, there is an example code that is available in C2000Ware. Please check out adc_ex3_temp_sensor example. The example configures the ADC to sample the internal temperature sensor. In the ADC ISR, the sampled ADC readings from the temperature sensor is translated to temperature in degrees C using function ADC_getTemperatureC().
Regards,
Joseph
Is the launchpad at an elevated temperature? The internal temp sensor reports 62degC based on your logs. If the launchpad is not at an elevated temperature, make sure that there are no signals connected to J15. Also ensure that ACQPS (sampling time settings in SysConfig) is about 500ns to ensure enough settling time for the temperature sensor.