12-24-2023 08:05 AM
I'm working on a small personal environmental monitoring project that uses the BME688 alongside the BSEC2 library, and I am confused about some of the behvaior related to the sample rate of virtual sensors, as documented in section 1.2.4 of the integration guide PDF, and in the example code provided in the library.
Solved! Go to Solution.
12-25-2023 03:53 AM
Hi marsfan,
Virtual sensors cannot be mixed in BSEC_SAMPLE_RATE_SCAN mode and BSEC_SAMPLE_RATE_LP mode.
BSEC software does not yet support the mixing of virtual sensors in BSEC_SAMPLE_RATE_SCAN mode and BSEC_SAMPLE_RATE_LP mode. It is not yet supported to use both functions simultaneously.
BSEC_OUTPUT_RAW_GAS_INDEX, BSEC_OUTPUT_RAW_GAS_ESTIMATE only support BSEC_SAMPLE_RATE_SCAN mode, setting BSEC_OUTPUT_RAW_GAS_INDEX, BSEC_OUTPUT_RAW_GAS_ESTIMATE to BSEC_SAMPLE_RATE_LP mode in reference code bsec_iot_example.c is incorrect.
12-27-2023 06:09 AM
Thanks for the quick reply. So SCAN and LP modes cannot be mixed at all. Is it possible to mix modes such as CONT, and LP, so that some sensors update faster than others.
Also, regarding lifetime (question #4 that I had), does that mean that once I have used the sensor in LP mode, I should never use it in SCAN mode, even for a new project I may be prototyping, or does that just mean in the active application?
12-27-2023 07:16 AM
Hi marsfan,
CONT, and LP cannot be mixed.
The current BSEC software architecture does not support simultaneous operation of SCAN mode and LP mode, and the BME688 sensor hardware itself does not limit the software's use of which mode.
12-27-2023 09:36 PM
Awesome. Thank you.