10-17-2023 05:35 PM - edited 10-17-2023 05:44 PM
Hello,
I want to build an application with a BME688 sensor, BSEC library, and Fudan FM33LG048 ARM Cortex M0 microcontroller. I am using BSEC_2.4.0.0_ExampleCode. Everything seems working except I cannot get anything in return from bsec_do_steps, it is stuck on that line and I cannot solve it.
bsec_status = bsec_do_steps(bsec_inputs, num_bsec_inputs, bsec_outputs, &num_bsec_outputs);
What could cause this issues?
Best Regards
Nijat Aliyev
Solved! Go to Solution.
10-18-2023 06:43 AM
Hi nicatali007,
Did you correctly migrate example code from https://community.bosch-sensortec.com/t5/MEMS-sensors-forum/BME688-BSEC-library-for-Fudan-FM33LG048-... to your platform? You can record the print information for check.
10-18-2023 11:34 AM
10-19-2023 01:39 PM - edited 10-19-2023 01:43 PM
Hi BSTRobin,
When I have a delay of 2 seconds (2000 ms) before bme68x_get_data(); function, I get nFields = 1 (and I get THP data, gas resistance data, and everything is working). However, I get nFields = 0 (meaning that no new data), when I comment the delay function or lower it to 1500 milliseconds and below.
What can be the reason for this? Do you know how I can solve it? (screenshots are attached below)
Best Regards
Nijat Aliyev
11-28-2023 03:49 AM
Hi nicatali007,
Here are two suggestions:
1. Increase the stack size in your software project;
2. Strictly refer to the example code on STM32 we provided previously.