DPS310 pressure data

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

cross mob
lock attach
Attachments are accessible only for community members.
User20613
Level 1
Level 1
Hello,
I have a DPS310 eval board connected to an ANALOG2 DISCOVERY tool to generate SPI frames.
I've not been able to get correct temperature and pressure data.
I set the correct TMP_EXT bit in TMP_CFG register to 1 as per what is in Coefficient Source register bit 7 and now I have a much better temperature value
at least coresponding to what it should be around 20°C.
But the pressure is still too low.
My registers are set as follow:
0x06 = 0x14 : PM_RATE= 1 or 2 measuremetn/sec and PM_PRC=4 or x16 oversampling rate
0x07 = 0x90 : TMP_EXT=1 and TMP_RATE=1 or 2 measurements/sec and TMP_PRC=0 (no ovesampling)
0x09 = 0x07 : permanent pressure and temperature measurement enabled
I used for pressure the kP=253952 and for temperature kT=524288
atmospheric pressure is supposed to be 1015hPa now and here. I get only 736.85hPa.
I do think that my coefficients are correct and I two's complemented. Same for pressure raw data.

Do you have an idea where the problem lies? I attached my excel sheet that you used to calculate my pressure and temp.

thanks for your help.

Alain
0 Likes
0 Replies