Skip to content

Using the ICM456868 sensor with the ESP32S3 microcontroller #489

@brightproject

Description

@brightproject

For some reason, I couldn't find support for the ICM45686 sensor in this repository, but I did find it in another repository:

https://github.com/SlimeVR/SlimeVR-Tracker-nRF/blob/main/src/sensor/imu/ICM45686.c

Is this because the ICM45686 sensor doesn't work with the ESP32S3 over the I2C bus, or is there some other issue?

Could this be related to this issue?

SlimeVR/SlimeVR-Tracker-nRF#121

I couldn't connect to the ICM45686 sensor via the I2C bus. I was only able to connect via the SPI library:

tdk-invn-oss/motion.arduino.ICM45686#5

I use this board:

Image

Please tell me how to connect to the magnetometer sensor, which is connected via I2C to the ICM45686 sensor MAS_DA and MAS_CLK contacts.

This library contains the following code:

https://github.com/SlimeVR/SlimeVR-Tracker-nRF/blob/712b3c311c0d20812a3f3847ae7bd99446e4f86c/src/sensor/imu/ICM45686.c#L430

But as far as I understood from the document:

https://invensense.tdk.com/wp-content/uploads/2024/07/AN-000478_ICM-45605-ICM-45686-User-Guide.pdf

Image

This mode is only possible when the sensor is connected via I2C and transmits data from a magnetometer, also connected via I2C.

My ICM45686 sensor is connected via SPI, and I still can't find a way or code to extract data from the magnetometer🙂

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions