I can only obtain correct data from LSM6DSL when debugging. Exiting debug mode results in incorrect
My STM32 can only correctly retrieve data from LSM6DSL when debugging. The code remains unchanged. When debugging, I get the correct data; without debugging, I get incorrect data.My SPI frequency is limited to 8 MHz, and there is a delay of more than...