- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Might be prudent to file a CASE -
To create a technical case at Cypress -
“Support”
“Technical Support”
“Create a Case”
You have to be registered on Cypress web site first.
Regards, Dana.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
> 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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
File a CASE and point to this thread, then post back results you get.
Regards, Dana.