09-16-2020 09:54 PM
Hi,
I've been trying to get the BME680 to work with BSEC for a while now on a TI CC1352R device (M4F, gcc). I seem to struggle with the timings. The timestamp I am feeding to bsec_sensor_control is e.g. 406000000. The sensor_settings.next_call is returned as 406003000. As the timestamp is in ns as indicated in the docs, the delta seems to be 3µs compared to the 3secs I would expect. Obviously I am getting BSEC_W_SC_CALL_TIMING_VIOLATION with my timings being off.
Any help where I might be misunderstanding something? Any additional information that might help helping me?
The config I use is coming from generic_33v_3s_4d, code is based on BSEC_1.4.8.0_Generic_Release, the driver is v3.5.10 as indicated.
Thanks.
Tobi
Solved! Go to Solution.
11-10-2020 12:01 PM
Leaving the root cause here in case someone eventually has a similar issue: By mistake I used the M4F library instead of the M4 one which would have been correct for my core.
It might be a good thing to check for the presence of the FPU during initialization in the M4F library and return an error in case it is not present.