Getting LSM6DS3 to Work on XIAO MG24 Sense with Gecko SDK (I2C)

@mattmagic - I restarted the app in 4.4.6 but can switch back to the latest SDK for a demo.

When I get back to the office I will create a new app for posting to my GitHub repository for you. I’ll continue documenting the steps I took as well.

I just need to know what application you are trying to build? I’m guessing BLE still?
If so, what do you want in the GATT apart from Motion?

The compiler and chip you have chosen is what I normally use for Xiao MG24 development as well.

A few checks you may want to make before I get code completed for you… in SS5.
Ensure that the clocks are set correctly, see Clock Manager.
For BLE set high precision on the LFRCO or use LFXO.
Set the DCDC to disabled and bypass.
Add the GPIO settings.
Add the I2C via the I2CSPM component.

There are a few other settings but I can’t remember all of them without being in front of my computer.

1 Like