MEMS (sensors)

Showing results for 
Search instead for 
Did you mean: 

Forum Posts

Getting correct register value when reading "WHO_AM_I" register on LPS25HB mems sensor but the wrong values read from the sensor. (STM32G474RE)

I have a board developed by one of my colleague, that uses a STM32G474RE microcontroller and in his SPI1 I had both an LPS25HB (Mems ST barometer) and too an acelerometer SCA3300. For the LPS25HB I'm using the following driver:


Resolved! STM32G474RE Internal temperature sensor returning very low value

HiI am trying to make work the internal temperature sensor from a STM32G474RE and it seems to return a low value... 11.14 celsius degrees.This is the code I am using:#define TS_CAL1_ADDR ((uint16_t*) ((uint32_t)0x1FFF75A8)) #define TS_CAL2_ADDR ((uin...

_legacyfs_online_stmicro_images_0693W00000bjQERQA2.png _legacyfs_online_stmicro_images_0693W00000bjQEWQA2.png
RPG by Senior
  • 3 replies
  • 0 kudos