2024-11-19 03:24 AM
Hello.
I tried to use an imu that was previously working using the spi2 port of the stm32f4 series with the spi4 port of the stm32h7 series, but I cannot communicate with it. (imu is using icm42688p.)
Is it possible that I have made a mistake in my settings or something?
↓Configuration in the stm32f4 series.
↓Configuration in the stm32h7 series.
Best regards.
2024-11-19 04:24 AM
IMUs are complex devices, usually they have non-volatile configuration and so on. The problem can be on the IMU side.
2024-11-20 12:54 AM
So you're saying that the settings are fine and I should try with a different imu?
2024-11-20 12:56 AM
I would like to know if there is some code or other that would turn on spi programmatically.
2024-11-20 09:59 AM
If you have not changed STM32 side program but the IMU acts up, it is logical to swap the IMU. If possible, take a new one with factory setup.
2024-11-21 12:23 AM
I will replace it with a new IMU.
2024-11-23 02:34 AM
Changing imu made no change.
2024-11-23 04:18 AM
Well, then proceed as usual. Scope, logic analyzer ...