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
This commit is contained in:
Jacob Dahl authored and GitHub committed 2026-09-23 15:13:04 -06:00
1 parent 2521e78a7f
commit bb4e77b00c
1 file changed
+6 -3
+6 -3
View File
@@ -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;
}