12-19-2021 03:43 PM
hello
i have developed a custom board using ATSAMD21G18A as MCU and connected to a BME688 sensor.
i used the BSEC example provided by bosh for arduino and modified it to meet our MCU ( changes in SPI functions and delay ).
the problem is that when starting the application the bsecCallback function is called only once and after that no call is performed.
i used the cortexM0+ as library.
is there any modification to do to the Arduino example to avoid this problem ?
thanks.
Zakaria
12-20-2021 07:19 AM
Hello Zaki13,
Did you refer and run BSEC Arduino example on github?
https://github.com/BoschSensortec/BSEC-Arduino-library/tree/master/examples
12-20-2021 03:11 PM
hello
thanks for your message.
i fixed the problem, it was related to SPI timming.
now the BSEC callback is called during 53 seconds and then stops updating for about 1min40s , and starts again for 53 seconds.
is there any explation on this behaviour.
Regards.
zakaria
12-20-2021 03:12 PM
by the way, iam using BSEC_2.0.6.1_Generic_Release_04302021.
regards
Zakaria
12-20-2021 03:25 PM
Hi again
du to availlability of Microcontrollers this days, i want to use this one : PIC32MM0128GPM036.
is this component compatible with one of the BSEC libraries provided.
Regards.
Zakaria