LPS25H failing temperature test

Firmware/software/electronics/mechanics
Post Reply
theseankelly
Expert
Posts: 153
Joined: Mon Dec 28, 2015 3:23 pm
Contact:

LPS25H failing temperature test

Post 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?
http://www.thejumperwire.com
Tips, tutorials, and science about DIY electronics, drones, and embedded software.
tobias
Bitcraze
Posts: 2339
Joined: Mon Jan 28, 2013 7:17 pm
Location: Sweden

Re: LPS25H failing temperature test

Post 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?
tobias
Bitcraze
Posts: 2339
Joined: Mon Jan 28, 2013 7:17 pm
Location: Sweden

Re: LPS25H failing temperature test

Post by tobias »

Found the problem and just pushed a fix.
Post Reply