Skip to content

drivers: icm42688: pin9 function #89366

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

ymleung314
Copy link
Contributor

@ymleung314 ymleung314 commented May 1, 2025

PIN9 of an ICM42688 can be configured as an interrupt output, external clock input or frame sync output. Pin function can now be set via a sensor attribute.

According to the datasheet, FIFO packet timestamps are scaled with respect to the external clock frequency. I have added a field to the decoder buffer header. It may break existing codebase where the mempool is not large enough for the new header struct.

@ymleung314 ymleung314 force-pushed the icm42688_pin9_function branch 2 times, most recently from baec782 to 5500cb8 Compare May 3, 2025 19:06
@ymleung314 ymleung314 marked this pull request as ready for review May 3, 2025 19:08
@github-actions github-actions bot added the area: Sensors Sensors label May 3, 2025
@ymleung314 ymleung314 force-pushed the icm42688_pin9_function branch from 5500cb8 to 82f4e9b Compare May 3, 2025 19:39
PIN9 of an ICM42688 can be configured as an interrupt output, external
clock input or frame sync output. Pin function can now be set via a sensor
attribute.

Signed-off-by: Yau-ming Leung <[email protected]>
@ymleung314 ymleung314 force-pushed the icm42688_pin9_function branch from 82f4e9b to cbad13b Compare May 3, 2025 19:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants