05-31-2023 06:27 PM - edited 05-31-2023 07:15 PM
I am using the bme68x.h API to try and get data from the BME688 via I2C. I'm experiencing two problems:
In short, I can currently only get one data reading from the BME688 sensor, and that data reading is not correct.
Note that I've written my own "read" and "write" functions which interface with the TI I2C.h library. Also, I'm running the example code that came with the bme68x.h API. I've tried parallel_mode.c and forced_mode.c, but no luck with either.
There are two possible causes in my opinion:
Solved! Go to Solution.
06-01-2023 03:38 AM
Hi zrummler,
I uploaed example code on STM32 for your reference, the example code BME68x sensor API https://github.com/boschsensortec/BME68x-Sensor-API
06-01-2023 05:53 PM
I'm currently using the github example code, but I found a solution. The issue was with my I2C communication. Wasn't performing writes correctly. Now it's working!
06-02-2023 02:47 AM
Good news, zrummler.