I’m trying to connect LSM6DSR to my PX4, it’s running on fmu-v4, via SPI 4. How can I activate it? My module is based on the lsm303d imu from imu/st folder.
I set the define CONFIG_STM32_SPI4 and I performed debug tests with printf(because it’s not enough memory with debug flag set ) and I found that: the bus is 4, but I got: instantiate failed no device on bus 4 (devid 0x10000001). It is 1 because px4_spi_buses has only one external driver.
Grateful for any help. This feels like it should be simple, but I can’t find the information I need.