From bb4e77b00c54d05d91d5f30e3d5d2b5c6698185b Mon Sep 17 00:00:00 2001 From: Jacob Dahl <37091262+dakejahl@users.noreply.github.com> Date: Wed, 23 Sep 2026 13:13:04 -0800 Subject: [PATCH] fix(boards/ark_fpv): drive SPIX_SYNC only on the IIM-42653 revision (#28825) SPIX_SYNC is the 32 kHz CLKIN on IMU pin 9. On FMUM 1 that pin is the LSM6DSV32X INT2 push-pull output, so the MCU drove against it: the IMU die ran about 10 degC hotter and accel read about 0.19 g off on one axis. Assisted-by: Claude:claude-opus-5-5 --- boards/ark/fpv/src/init.c | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/boards/ark/fpv/src/init.c b/boards/ark/fpv/src/init.c index cbd9382238f..9bdd49f39ac 100644 --- a/boards/ark/fpv/src/init.c +++ b/boards/ark/fpv/src/init.c @@ -296,9 +296,12 @@ __EXPORT int board_app_initialize(uintptr_t arg) #endif /* CONFIG_MMCSD */ - /* Configure the SPIX_SYNC output */ - spix_sync_servo_init(BOARD_SPIX_SYNC_FREQ); - spix_sync_servo_set(0, 150); + /* SPIX_SYNC is the IIM-42653 CLKIN on IMU pin 9. On FMUM 1 that pin is the + * LSM6DSV32X INT2 push-pull output, so driving it fights the IMU. */ + if (GET_HW_FMUM_ID() == ARKFPV_0) { + spix_sync_servo_init(BOARD_SPIX_SYNC_FREQ); + spix_sync_servo_set(0, 150); + } return OK; }