DPS422 Temperature

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

cross mob
User19653
Level 1
Level 1
I am using a DPS422 over I2C and am having issues getting a valid temperature

I have read out the coeff block and get a TGain of 16, a dVbe of 5 and a Vbe of -2
I calculate this out (in code and excel) as

Aadc 0.67635
dVbe 0.040339153
Vbe 0.46302236

VBE_CAL 0.684589872
dVBE_CAL 0.059642423
TCalib 26.85138549
Vbe_CalTRef 0.684332026
Kptat 0.036844021
Aprime 6509.825339
Bprime -284.2032573

I make a temp reading and get 0x03A263 but this calculates out to 185.7

Can anyone point out where I have gone wrong in the maths or which value from the IC is not as expected?

Thanks, Steve.
0 Likes
1 Reply
User270
Level 5
Level 5
5 solutions authored First solution authored
Maybe the arduino source code will help.
0 Likes