Jun 02, 2020
08:27 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Jun 02, 2020
08:27 AM
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.
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.
1 Reply
Jun 25, 2020
05:26 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Jun 25, 2020
05:26 AM