Page 1 of 1

LPS25H failing temperature test

Posted: Mon Sep 19, 2016 3:18 am
by theseankelly
Synched to the latest master branch and ran it. My LPS25H is reporting a temperature problem:

SYS: I am 0x3132383231334715360022 and I have 1024KB of flash!
CFGBLK: v1, verification [OK]
MPU9250 I2C connection [OK].
AK8963 I2C connection [OK].
LPS25H I2C connection [OK].
DECK_DRIVERS: Found 7 drivers
DECK_INFO: Found 0 deck memory.
DECK_CORE: 0 deck enumerated
EEPROM: I2C connection [OK].
AK8963: Self test [OK].
LPS25H: Self test temperature [FAIL]. low: -20.0, high: 80.0, measured: 101.49

Are the low/high values for the test accurate? I wonder if the LPS25H is reporting deg F instead of deg C?

Re: LPS25H failing temperature test

Posted: Mon Sep 19, 2016 2:16 pm
by tobias
Well, I had second thoughts on the commit enabling the LPS25H moving avg filter. There was a comment saying the temperature reading became wrong when enabling it but I tested it with no problem. My guess is that I had a newer chip with this error fixed... Can you try and disable the the filter by commenting out the 4 lines from here?

Re: LPS25H failing temperature test

Posted: Tue Sep 20, 2016 9:40 am
by tobias
Found the problem and just pushed a fix.