BMP384 return meaningless value.

Hi

I have bmp384 sensor and I did the starting configuration. Ex: configure press and temp oversampling ,  datarate , int pinout type, int pin  enable ,data ready int ,enable pressure and tempreture reading and choose normal mode. I read the 3 bytes value for temp => xlsb , lsb , msb and I collect that byte to 1 int for ex.: xlsb= 0 lsb = 61 , msb = 130 convert to binary =>

xlsb = 0000 0000 

lsb  = 0011 1101

msb  = 1000 0010

when I collect that bytes like that (msb<<16) | (lsb<<8) | xlsb => 1000 0010 0011 1101 0000 0000 whis is 8535296(dec). this is my raw data and I compensate that value . my compensated value is around 8.5 million or something like that. my point is compensating process doesn't change value a lot. I try 2 diffirent sensor and I get around 8.5 million value for compensated temp. Do I miss something ? Can you help me ASAP?

 

1
3 replies