03-14-2022 01:55 PM
Hi,
Im using a BME688 with BME688-API and BSEC-2.0.6.1.
When I run my code, the function bsec_sensor_control(time_stamp_final, &sensor_settings) returns '0' the first time, but then returns '100', which means 'Difference between actual and defined sampling intervals of bsec_sensor_control() greater than allowed'.
I've seen that my time_stamp is right, as you can see in the photo.
What could be the problem?
Thanks.
Solved! Go to Solution.
06-03-2022 11:56 PM
I believe that you already downloaded BSEC 2 library below url.
https://www.bosch-sensortec.com/software-tools/software/bme688-software/
Then, you need 2 steps.
1) Using one of 300s config files below path.
- \bsec_2-0-6-1_generic_release_04302021\BSEC_2.0.6.1_Generic_Release_04302021\config\generic_33v_300s_4d
- \bsec_2-0-6-1_generic_release_04302021\BSEC_2.0.6.1_Generic_Release_04302021\config\generic_33v_300s_28d
2) Using BSEC_SAMPLE_RATE_ULP instead of BSEC_SAMPLE_RATE_LP or BSEC_SAMPLE_RATE_HIGH_PERFORMANCE
Thank you.