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:F28035PAG (64引脚)是否具有片上温度传感器?

Guru**** 2943350 points

Other Parts Discussed in Thread: C2000WARE

请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/microcontrollers/c2000-microcontrollers-group/c2000/f/c2000-microcontrollers-forum/1381359/tms320f28035-does-f28035pag-64-pin-has-on-chip-temperature-sensor

器件型号:TMS320F28035
Thread 中讨论的其他器件:C2000WARE

工具与软件:

大家好、团队成员:

从下图中可以看出、F28035PAG 没有 片上温度传感器?(64引脚没有 A5)

但从客户的测试来看、有的芯片能读出正确的温度、有的芯片不能。

下面是客户提供的配置、他们使用外部参考电压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 -温度传感器

  AdcRegs.ADCSOC14CTL.bit.CHSEL = 0x05;//将 SOC0设置为对 A5进行采样

  AdcRegs.ADCSOC14CTL.bit.ACQPS = ADC_SHCLK;

 0℃ 偏移= 1750 *(3.3 / 3.0)= 1925 LSB

 Slope = 5.56 *(3.3 / 3.0)= 6.12LSB

 即:1 / 6.12 = 0.16 °C / LSB

此致、

Zane

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    Zane

    温度传感器就在那里、即使 ADCINA5引脚未连接到封装也是如此。  请让客户在此处使用 C2000软件中的温度传感器示例:C:\ti\c2000\C2000Ware_5_02_00_00\device_support\f2803x\examples\c28\adc_temp_sensor_conv  、因为这将确保对器件上的温度传感器进行采样时采用正确的设置。

    请告诉我以上内容是否为客户清理干净。

    此致!
    Matthew