Other Parts Discussed in Thread: SYSCONFIG
Hello All,
I am using MSP432P401R launchpad and using HDC2010 EVM kit to work on the sensor code.
I have written a code which configures 1 sample per second and even with 5 samples per second.
I am getting the data w.r.t the configurations. But the issue is with the first sample from the sensor which always gets wrong and that too for only temperature value. Humidity is getting correct.
I am giving 1 sec delay before reading the data. Not sure what is happening with the first sample. I have iterated multiple times but same issue. Even the same issue when manually reading the data through I2C. Wondering why only Temperature data? PLease help.
I2C Initialized!
HDC2010: HDC2010_SoftwReset executed!
HDC2010: Sample:0
HDC2010: hdc20100Temp = 32 hdc20100TempAsCelsius = -39.9194
HDC2010: hdc20100Hum = 30976 hdc20100HumAsRelative = 47.2656
HDC2010: Test case FAIL!
HDC2010: Sample:1
HDC2010: hdc20100Temp = 28195 hdc20100TempAsCelsius = 30.9865
HDC2010: hdc20100Hum = 30995 hdc20100HumAsRelative = 47.2946
HDC2010: Test case PASS!
HDC2010: Sample:2
HDC2010: hdc20100Temp = 28200 hdc20100TempAsCelsius = 30.9991
HDC2010: hdc20100Hum = 31008 hdc20100HumAsRelative = 47.3144
HDC2010: Test case PASS!
HDC2010: Sample:3
HDC2010: hdc20100Temp = 28199 hdc20100TempAsCelsius = 30.9966
HDC2010: hdc20100Hum = 30979 hdc20100HumAsRelative = 47.2702
HDC2010: Test case PASS!
HDC2010: Sample:4
HDC2010: hdc20100Temp = 28198 hdc20100TempAsCelsius = 30.9941
HDC2010: hdc20100Hum = 30990 hdc20100HumAsRelative = 47.2869
HDC2010: Test case PASS!