8 Replies Latest reply on Mar 25, 2015 9:05 AM by DaKn_263916

    Die Temperature Issues and Errors

    ToVa_285016

      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

        • 1. Re: Die Temperature Issues and Errors
          JoMe_264151

          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

          • 2. Re: Die Temperature Issues and Errors
            DaKn_263916

            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.

               

             

               



            • 3. Re: Die Temperature Issues and Errors
              rola_264706

              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

              • 4. Re: Die Temperature Issues and Errors
                ToVa_285016

                 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

                • 5. Re: Die Temperature Issues and Errors
                  RoSh_301801

                   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.

                  • 6. Re: Die Temperature Issues and Errors
                    DaKn_263916

                    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.

                    • 7. Re: Die Temperature Issues and Errors

                      > 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.

                      • 8. Re: Die Temperature Issues and Errors
                        DaKn_263916

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

                           

                         

                           

                        Regards, Dana.