2025-11-19 10:26 PM
Hi :
We are using lsm6dsl chip on i2c bus. Our customer request to implement a api interface similar as
2025-11-20 7:02 AM
Hi @jimbo ,
You can enable/disable the high performance mode through the XL_HM_MODE (reg 15h) and G_HM_MODE (reg 16h).
If G_HM_MODE is set to '0', high-performance mode is valid for all ODRs (from 12.5 Hz up to 6.66 kHz).
To enable the low-power and normal mode, the G_HM_MODE bit has to be set to '1'. Low power mode is available for lower ODRs (12.5, 26, 52 Hz) while normal mode is available for ODRs equal to 104 and 208 Hz.
If XL_HM_MODE is set to '0', high-performance mode is valid for all ODRs (from 12.5 Hz up
to 6.66 kHz).
To enable the low-power and normal mode, the XL_HM_MODE bit has to be set to '1'. Low power mode is available for lower ODRs (1.6, 12.5, 26, 52 Hz) while normal mode is available for ODRs equal to 104 and 208 Hz.
2025-11-20 4:38 PM - edited 2025-11-21 12:54 AM
Hi Federica,
Thanks for your reply.
According to the sensor spec document, one power-mode does not correspond to one state. I don't know which one to choose.
For example: If customer request to set to High Performance Mode to Gyroscope sensor, Should I set G_HM_MODE to 0 or set G_HM_MODE to 1 and setting odr to several values greater than 0110 at the same time?
Does it exist a register to stores the power mode?