09-30-2021 04:08 AM
In the first figure, I write the configuration data to register 0x5E normally and SPI writes the waveform correctly
After the write is done, the data in the 0X5E configuration file is read, and the MISO of the SPI interface remains low
(All other registers read and write normally)
Could you please help to analyze what problems there may be?
11-04-2021 08:42 AM
Hello maiwl,
Clock phase and clock polarity should be "00" or "11". You could set clkPhase to LPSPI_CLOCK_PHASE_1ND_EDGE, clkPolarity to LPSPI_SCK_ACTIVE_LOW. Or set clkPhase to LPSPI_CLOCK_PHASE_2ND_EDGE, clkPolarity to LPSPI_SCK_ACTIVE_HIGH.
And try it again.
12-17-2021 04:09 AM
12-17-2021 10:07 AM
Hello maiwl,
If you read sensor data from BMI088, example code didn't access 0x5E register.
https://github.com/BoschSensortec/BMI08x-Sensor-API/tree/master/examples/read_sensor_data
Could we know what is your application with BMI088? And what is the purpose you access 0x5E register?
12-17-2021 10:23 AM
12-25-2021 03:05 AM