cancel
Showing results for 
Search instead for 
Did you mean: 

LSM6DS3TR as master with LPS22HB connected to I2C as slave

krdmitry
Associate II

Dear ST,

is it possbile to use LPS22HB as secondary sensor connected to LSM6DS3TR I2C master port with automatic readout of LPS22 registers?

If yes, could you please recommend some examples / solution suggetsion on this on the firmware side?

Thanks in advance!

1 REPLY 1
Eleon BORLINI
ST Employee

Hi @Community memberrivetskov​ , there is an example on Github (HERE) that may fit your case.

The file is specifically this one: lsm6ds3_sensor_hub_lis2mdl_lps22hb.c

I suggest you to check also the hw specifications for the connection of the LSM6DS3TR with sensor slaves ("Mode2"): you can find them in the datasheet p. 42.

0693W000003Q6pTQAS.png

Regards