Die Temperature Issues and Errors

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
lock attach
Attachments are accessible only for community members.
ToVa_285016
Level 5
Level 5
100 replies posted 50 replies posted 50 questions asked

Hi,

   

I set up a simple system to read the die temperature.  I set it up as the datasheet shows, but I cannot set the 'Single Ended Result Format' due to it being greyed out.  Anyone else tried to do this before?

   

The error I get is 'Net 35 is connectecd to analog mux but is not connected to another component'.  Is this the other input to the ADC?  What am I supposed to connect it to?  The datasheet does not elaborate.  Very simple error I am sure.

   

Thank you,

   

Tom

0 Likes
8 Replies
Bob_Marlowe
Level 10
Level 10
First like given 50 questions asked 10 questions asked

You connected the temperature to the injection channel and left open channel 0 (zero). I would suggest you to connect channel 0 to an analog input pin and read the temerature (from time to tome) from the injection channel.

   

 

   

Leaving open ADC- inputpins is not allowed in Creator.

   

 

   

Bob

0 Likes
ETRO_SSN583
Level 9
Level 9
250 likes received 100 sign-ins 5 likes given

I connected it to the INJ channel, routed without error. The TRM

   

states this is the channel used.

   

 

   

Single ended mode is greyed out because (from TRM) -

   

 

   

the global configuration register SAR_CTRL. When Vminus
is connected to P2.1..P2.7, the single-ended mode is equiv
alent to differential mode. Note that temperature sensor can
only be used in single-ended mode; it will override the
SAR_CTRL [11:9] to 0. The differential conversion is no
available for temperature sensors; the result is undefined.

   

 

   

Regards, Dana.

   

 

   



0 Likes
lock attach
Attachments are accessible only for community members.
rola_264706
Level 8
Level 8
50 likes received 25 likes received 10 likes received

Here is a sample project and you can see how the ADC is connected.  Also as stated by other members you  can not let one of the ADC pins float.

   

 

   

Bobgoar

0 Likes
ToVa_285016
Level 5
Level 5
100 replies posted 50 replies posted 50 questions asked

 Hi,

   

Thank you for the help.  I understand about the floating pin, and have it connected as suggested now, I was just following the datasheet strictly, and connecting to the injection channel and nothing else.  Any ideas why the datasheet has that setup?

   

Thank you,

   

Tom

0 Likes
RoSh_301801
Level 1
Level 1
First reply posted First question asked Welcome!

 In my application, i need to read a voltage in the range of 0-vdda and i need to read the die temperature at a very low rate.

   

My first issue is that the API doesnt include the ability to switch Vref since die temp requires 1.024V interna ref and the 0-VDDA signal requires Vref=VDDA.  I can see, from the trm, how to change the SAR_CTRL_REG but not sure of sequence and timing considerations.

   

I can sometimes get valid readings but mostly not.  I also need a solid answer to the dietemp.c  offsetreg fix as well

   

Can someone plese provide details on how to switch vref at run time, proper order of calls and proper UM setup.

0 Likes
ETRO_SSN583
Level 9
Level 9
250 likes received 100 sign-ins 5 likes given

Might be prudent to file a CASE -

   

 

   

    

   

          

   

To create a technical case at Cypress -

   

 

   

www.cypress.com

   

“Support”

   

“Technical Support”

   

“Create a Case”

   

 

   

You have to be registered on Cypress web site first.

   

 

   

Regards, Dana.

0 Likes
Anonymous
Not applicable

> Any ideas why the datasheet has that setup?

   

This bug just bit me too.  The documentation for the Die Termperature component shows a floating input pin in the datasheet and has no discussion on what to hook up to it.  Searching teh innerwebs with the error text led me here.

0 Likes
ETRO_SSN583
Level 9
Level 9
250 likes received 100 sign-ins 5 likes given

File a CASE and point to this thread, then post back results you get.

   

 

   

Regards, Dana.   

0 Likes