AP_HAL_ChibiOS: add LSM6DSV IMU support for KakuteH7 boards - #34092
Open
zebulon-86 wants to merge 2 commits into
Open
AP_HAL_ChibiOS: add LSM6DSV IMU support for KakuteH7 boards#34092zebulon-86 wants to merge 2 commits into
zebulon-86 wants to merge 2 commits into
Conversation
Add SPI device and IMU probe line for the LSM6DSV on KakuteH7.
Add SPI device and IMU probe line for the LSM6DSV on KakuteH7Mini.
zebulon-86
marked this pull request as ready for review
August 17, 2026 07:54
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Support LSM6DSV-family IMUs on KakuteH7 and KakuteH7Mini boards as an alternative to ICM42688.
Classification & Testing (check all that apply and add your own)
Test hardware: Kakute H7 Mini v1.5 and Kakute H7 v1.5
Description
Add an
lsm6dsvSPI device on SPI4 for KakuteH7 and KakuteH7Mini. It is an alternative to the existing ICM42688 and shares the same chip-select line.Add the existing
LSM6DSVIMU probe entry with the board-specific orientation:ROTATION_ROLL_180_YAW_270ROTATION_PITCH_180_YAW_90This change only adds hwdef support; it does not change the shared LSM6DSV driver.
Hardware validation performed with an LSM6DSK320X:
LSM6DSK320X fast sampling, confirming that the LSM6DSK320X is detected and started.4391458, withDevType = 67(0x43). This matchesDEVTYPE_INS_LSM6DSK320X.AI assistance: This PR description was drafted from the two hwdef commits and human-performed hardware test results. The contributor reviewed the change and performed the reported hardware validation.