Hi,
I have a problem with the library BSEC 2.4.0.0 initialized with "BSEC_SAMPLE_RATE_LP".
I'm using IAR with a BME688 connected via I2C to a nucleo-l432kc board.
If I use BSEC_SAMPLE_RATE_SCAN with these subscribes {
BSEC_OUTPUT_RAW_GAS_INDEX,
BSEC_OUTPUT_RAW_TEMPERATURE,
BSEC_OUTPUT_RAW_PRESSURE,
BSEC_OUTPUT_RAW_HUMIDITY,
BSEC_OUTPUT_RAW_GAS,
BSEC_OUTPUT_GAS_ESTIMATE_1,
BSEC_OUTPUT_GAS_ESTIMATE_2,
BSEC_OUTPUT_GAS_ESTIMATE_3,
BSEC_OUTPUT_GAS_ESTIMATE_4
}
it works correctly.
But when I use BSEC_SAMPLE_RATE_LP with these subscribes {
BSEC_OUTPUT_IAQ,
BSEC_OUTPUT_RAW_TEMPERATURE,
BSEC_OUTPUT_RAW_PRESSURE,
BSEC_OUTPUT_RAW_HUMIDITY,
BSEC_OUTPUT_RAW_GAS,
}
I have this warning in "bsec_sensor_control": BSEC_W_SC_CALL_TIMING_VIOLATION and all output (T, H, P, IAQ) is zero.
I attach two screens:
- 1: initialization is with BSEC_SAMPLE_RATE_SCAN
- 2: initialization is with BSEC_SAMPLE_RATE_LP
Thanks,
Edo