05-08-2023 09:59 PM
Hi,
I am working on a BME680 project which uses BSEC2.4.0.0_Generic_Release_23012023 .
I am getting BSEC_E_SU_SAMPLERATELIMITS error while initializing the BSec library from the following function
ret = bsec_iot_init(BSEC_SAMPLE_RATE_ULP, 0.0f, bus_write, bus_read, sleep_n, state_load, config_load, bme_dev);
MY plateform detail is as follow
Device: STM32WB5MMGH6 (cortex M4FPU).
Compiler:GCC
I have used the correct libalogobsec.a file for cortex M4F With GCC.
Additionally ,Changing sample rate does not make any difference.
Please help me out with the above problem
Solved! Go to Solution.
05-10-2023 10:08 AM
Hi JimitP,
You need to modify sampel rate from BSEC_SAMPLE_RATE_ULP toBSEC_SAMPLE_RATE_SCAN if you run reference code without any modification.