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.

TMS320F28377S: Incorrect temperature sensor reading

Part Number: TMS320F28377S
Other Parts Discussed in Thread: CONTROLSUITE, REF3030

Hi,

I have a piece of code that reads out the internal temperature sensor. It is largely based on the example provided in ControlSUITE.
The main difference is that the sensor reading (from ADC-A channel 13) is stored in SOC13, which is software triggered every 10ms.
Running the code on a LAUNCHXL-F28377S eval board works just fine, sensor readings make perfect sense.

However, the same code produces a much to high reading (roughly 60% off) on the target HW design (which was based on a previous version of the LAUNCHXL).

The only hardware difference that I can spot so far, is that the LAUNCHXL uses a unity gain OP-AMP after the voltage reference source (REF3030)
to feed the ADC reference voltage while the target design directly connects the REF3030 to VREFHI and uses a buffer cap.

So the reference voltages are the same, the code is the same.
On the target device the ADCs are connected to actual peripherals, could this make a difference for the internal temperature sensor reading?

What could I possibly be missing?
Are there some timing constraints on the sampling of the temperature sensor?
Is the unity gain OP-AMP really optional as the reference manual says, or is it a must-have under some circumstances?

Kind Regards,
Andreas Fellnhofer

  • Hi Andreas,

    Op-amp vs no op-amp on the VREF shouldn't make a difference for 12-bit mode DC accuracy.  Testing shows this has more of an effect on 16-bit AC performance: SNR and THD. 

    Some things to look at:

    • Do the voltage supply levels look good on the custom board (VDD, VDDIO, VDDA)?
      • Any way to measure the supply currents?
    • Is the S+H time (set by ACQPS) the same on custom board?  Does increasing the S+H time improve performance?
    • If you sample a DC voltage on one of the external channels on the same ADC as the temp sensor, does it look OK on your custom board?
    • Are any of the external channels (particularly the ones connected to the same ADC as the temp sensor) way above or below the range of [VSSA to VDDA]? 
    • Is your "60% off" reading 60% off of the raw temp sensor conversion or off of the value after converting to deg. C?
    • Is the chip hot (do you have access to a thermal camera, thermal couple you can tape to the package, or an IR thermometer you can point at the package)?   

  • Hi Devin,

    thank you very much!

    Following your advice it quickly turned out that only ADCB on the custom board uses the 3V voltage reference while ADCA is referenced by the supply voltage of a current sensing circuit (for "auto-scaling" measurements).

    With the fixed 3V reference sure enough the temperature readings are o.k.

    Kind Regards, Andreas

  • Hi Andreas,

    Great to hear it is now working!