interfacing bosch bme688 sensor with Stm32
Hello,
I’m working on interfacing the Bosch BME688 sensor with my STM32 Nucleo-F446ZE development board using the BSEC library. The sensor is correctly providing temperature, pressure, humidity, and gas resistance data. However, I’m facing an issue when trying to calculate the IAQ (Indoor Air Quality).
The function bsec_do_steps() returns the following errors during debugging:
- BSEC_E_DOSTEPS_VALUELIMITS
- BSEC_I_DOSTEPS_NOOUTPUTSRETURNABLE
Here’s what I’ve done so far:
- Initialized the BME688 and configured it in forced mode using settings from bsec_sensor_control().
- Populated the bsec_input_t array with sensor data and called bsec_do_steps().
- Verified that timestamps and sensor signals are correctly passed.
Despite this, IAQ outputs are not generated. I suspect the issue might be related to input data limits or incorrect configuration, but I’m not sure how to resolve it.
Has anyone encountered similar errors or could provide guidance on resolving these issues?
Any help would be greatly appreciated!
Thanks in advance!
