⚠️
Hi there.. thanks for coming to the forums. Exciting news! we’re now in the process of moving to our new forum platform that will offer better functionality and is contained within the main Dialog website. All posts and accounts have been migrated. We’re now accepting traffic on the new forum only - please POST any new threads at https://www.dialog-semiconductor.com/support . We’ll be fixing bugs / optimising the searching and tagging over the coming days.
6 posts / 0 new
Last post
bwendin
Offline
Last seen: 3 years 8 months ago
Joined: 2019-02-06 18:44
Temp sensor

Regarding temp sensor, I only need to turn it on and it works, correct? I don't need to turn on anything else and connect to it? It isn't clear to me from the documentation. I ask because it seems to be not working for me. See attached PDF for my design.

Attachment: 
Device: 
Device Number: 
SLG46826
pavloZ
Offline
Last seen: 2 years 7 months ago
Staff
Joined: 2018-01-31 12:50
Hi bwendin,

Hi bwendin,

Yes, correct. 

Set the parameter ‘Enable temp. sensor’ to Enable

then choose Powed down source:

From matrix: If the PD Input is Low, Temp Sensor is ON. If the PD Input is High, Temp Sensor is OFF.

From register: Register [1093] can be set to 1 or 0 via I2C. A 1 indicates power up and a 0 indicates power down.

Then connect PD input if needed.

 

bwendin
Offline
Last seen: 3 years 8 months ago
Joined: 2019-02-06 18:44
In my picture Doc1.pdf, it is

In my picture Doc1.pdf, it is already enabled. Anything else required to use Temp sensor in this part?

The problem I have is that the voltage, when being put under a load varies wildly (+/- 0.2V). I though maybe I wasn't driving something correctly inside GreenPAK. The output goes directly to STM32 ADC input. Will keep looking into it.

pavloZ
Offline
Last seen: 2 years 7 months ago
Staff
Joined: 2018-01-31 12:50
Could you please share your

Could you please share your design through email Pavlo.Zakalyk@diasemi.com

What kind of load do you have (any resistors etc.)?

bwendin
Offline
Last seen: 3 years 8 months ago
Joined: 2019-02-06 18:44
We figured out our problem.

We figured out our problem. We had output connected directly to STM32 ADC input. It doesn't seem to like that. We added a capacitor to the line (between line and ground) and that fixed the problem.

Thanks for the help. I think this is solved.

pavloZ
Offline
Last seen: 2 years 7 months ago
Staff
Joined: 2018-01-31 12:50
Your welcome! Feel free to

Your welcome! Feel free to ask any time.