hello,
I tried to sample the inside temperature sensor, but found the results vary largely, is it normal?
do I have to use avergae value like 10 values?I thought the inside temperature sensor signal should be quite stable.
thank you
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.
hello,
I tried to sample the inside temperature sensor, but found the results vary largely, is it normal?
do I have to use avergae value like 10 values?I thought the inside temperature sensor signal should be quite stable.
thank you
I increased the sample window,ACQPS from 8 to 20, the variations is still about 10 degrees.
the reason I tried the inside temperature sensor is because I found the ADC sample is quite noisy on a simple voltage input in TI demo kit, so I thought the inside temperature sensor signal should be quite stable to be used to varify if it is the signal filter is not good enough.
it turned out even the inside temperature sensor ADC is not stable, this is a bit strange to me, I didn't find the same problem on TI classical 430 MCUs.
the demo kit is in working mode and just power by 12v from a very good power supply.
thank you for help.
Harrison,
Please see the Silicon Errata document in the product folder.
Direct link to document: http://www.ti.com/lit/pdf/SPRZ292
-Tommy
Thanks for the information, I didn't notice such documents exist.
I used 8 avarages and increased the hold time to 666ns, the sample is still varying from 26 to 32 degrees, is it normal?
I still think it is too large.
I don't have the initial sample problems.
thank you
Harrison,
This sounds like more variation than expected. A few more follow up questions.
Are you using a TI development board or is this running on a custom board?
Also, are you using the controlSUITE example code or are you using your own code?
Is VREG enabled?
Are you using internal VREF reference?
Do measurements on other ADC inputs vary?
-Tommy
Harrison,
Would it be possible for you collect a continuous sampling of the temp sensor to see if it ever stabilizes? It is possible for the device to heat itself up a few degrees as it is executing code.
Would it be possible for you to check for noise on the VDDA/VSSA supplies while you are sampling with the ADC?
-Tommy
Harrison-
I'm not sure if you ever resolved your problem, but I noticed at least at one time you were using an ACQPS value of 20. According to TMS320x2802x, 2803x Piccolo Analog-to-Digital Converter (ADC) and Comparator Reference Guide, this is an invalid selection. The ADC conversions you describe are consistent with using an invalid ACQPS.
best regards,
Joe