Skip to main content
Visitor II
August 23, 2020
Question

LSM6DS3TR as master with LPS22HB connected to I2C as slave

  • August 23, 2020
  • 1 reply
  • 706 views

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!

    This topic has been closed for replies.

    1 reply

    ST Employee
    August 24, 2020

    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