Skip to content

vmu_rt1170: Add axis alignment to ICM4268X with Right-Hand rule #92660

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 8 commits into
base: main
Choose a base branch
from

Conversation

ubieda
Copy link
Member

@ubieda ubieda commented Jul 3, 2025

This PR sits on top of #92579 to add Axis Alignment to the VMU RT1170 so both on-board IMUs are aligned (ICM42686 and ICM42688).

This patch was co-authored by @bperseghetti

Note

Marking this PR as DNM until #92579 is merged.

ubieda added 8 commits July 3, 2025 14:14
As a first step to enable the similar variants (e.g: ICM42686),
refactor common functionality into icm4268x files. As a result,
applications using the icm42688 will need to have both compatible
properties: "invensense,icm42688" and "invensense,icm4268x" defined.
In-tree boards have been modified to comply with this pattern.

This patch does not contain functional changes. The driver should
work the same as before.

Signed-off-by: Luis Ubieda <luisf@croxel.com>
Addressing low-hanging fruits.

Put in a separate commit in order to make it easier to keep track of
changes.

Signed-off-by: Luis Ubieda <luisf@croxel.com>
Now this driver supports both ICM42688 and ICM42686.
Tested with read-decode as well as streaming mode.

Signed-off-by: Luis Ubieda <luisf@croxel.com>
When IMU is set to stream with High-res mode, the FSR settings are
fixed:
- ICM42688 at 16g and 2000dps.
- ICM42686 at 32g and 4000dps.

Unless this is enforced, the driver will provide incorrect scaling for
readings coming through streaming when the current FS setting is any
different than these.

Signed-off-by: Luis Ubieda <luisf@croxel.com>
Additionally, remove overlay from sensor-shell sample, which is
redundant.

Signed-off-by: Luis Ubieda <luisf@croxel.com>
For build-time validation.

Signed-off-by: Luis Ubieda <luisf@croxel.com>
Missing an inverted sign on Axis Align on X.

Signed-off-by: Benjamin Perseghetti <bperseghetti@rudislabs.com>
Signed-off-by: Luis Ubieda <luisf@croxel.com>
Matches with on-board ICM42688, complying with right-hand rule.

Signed-off-by: Benjamin Perseghetti <bperseghetti@rudislabs.com>
Signed-off-by: Luis Ubieda <luisf@croxel.com>
@ubieda ubieda added the DNM This PR should not be merged (Do Not Merge) label Jul 3, 2025
@ubieda ubieda added this to the v4.3.0 milestone Jul 3, 2025
Copy link

sonarqubecloud bot commented Jul 3, 2025

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
DNM This PR should not be merged (Do Not Merge)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant