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.

TMS320F28035: Does F28035PAG(64 PIN) has on chip temperature sensor?

Part Number: TMS320F28035
Other Parts Discussed in Thread: C2000WARE

Tool/software:

Hi Team,

From below picture, It means that F28035PAG don't have on chip temperature sensor?(64 PIN don't have A5)

But from the customer's test, some chips can read right temperature, but some chips can't.

Here is the configuration from customer, and they use external refer voltage 3V:

    AdcRegs.ADCCTL1.bit.ADCBGPWD  = 1;      // Power ADC BG

    AdcRegs.ADCCTL1.bit.ADCREFPWD = 1;      // Power reference

    AdcRegs.ADCCTL1.bit.ADCPWDN   = 1;      // Power ADC

    AdcRegs.ADCCTL1.bit.ADCENABLE = 1;      // Enable ADC

    AdcRegs.ADCCTL1.bit.ADCREFSEL = 1;      // Select external BG

 

    AdcRegs.ADCSOC14CTL.bit.TRIGSEL = EPWM5_ADCSOCA;

    AdcRegs.ADCCTL1.bit.TEMPCONV = 1; //Connect A5 - temp sensor

    AdcRegs.ADCSOC14CTL.bit.CHSEL = 0x05; //Set SOC0 to sample A5

    AdcRegs.ADCSOC14CTL.bit.ACQPS = ADC_SHCLK;

  0℃ offset = 1750 * (3.3 / 3.0) = 1925 LSBs

  slope = 5.56 * (3.3 / 3.0) = 6.12 LSBs

  that is: 1 / 6.12 = 0.16 °C/LSB

Best Regards,

Zane

  • Zane,

    The temperature sensor is there, even if the ADCINA5 pin does not come to the package.  Please have the customer use the temperature sensor example in C2000 ware here: C:\ti\c2000\C2000Ware_5_02_00_00\device_support\f2803x\examples\c28\adc_temp_sensor_conv   as this will ensure the correct settings for sampling the temp sensor on the device.

    Let me know if above cleans things up for the customer.

    Best,
    Matthew