07-16-2021 04:40 PM - edited 07-16-2021 05:58 PM
is there currently an easy way to use the BME688 on the Arduino Nicla Sense ME board in combination with the BSEC library? The NRF52 chip on the board is connected to a BHI260AP via SPI which is connected to the BME688 via SPI.
In our use case, we are currently only interested in the air quality index provided by BSEC.
Solved! Go to Solution.
07-19-2021 08:43 AM
The hardware of Arduino Nicla Sense ME board and sensor is designed in this way. MCU connected to BHI260AP via SPI, BHI260AP connected to BME688 via SPI. MCU could get IAQ value from BHI260AP driver code, but SW will update in the future for supporting it.
07-20-2021 09:59 AM - edited 07-20-2021 06:25 PM
thank you very much for your response.
So is my understanding correct that the current way to solve this would be to create a custom firmware for the BHI260AP which includes the BSEC library and a driver to expose the desired values as virtual sensors, so that the MCU can access them?
Would this be feasible?
I was looking for a SDK for the BHI260AP, but I only found the SDK for the BHI260AB. Are they compatible?
07-21-2021 03:58 AM
"So is my understanding correct that the current way to solve this would be to create a custom firmware for the BHI260AP which includes the BSEC library and a driver to expose the desired values as virtual sensors, so that the MCU can access them?" Yes, this is the design goal of the software.
The software for Arduino Nicla Sense ME board was under development based on BHI260AP SDK. BHI260AP SDK was not published on official website, it could be applied if you had a project to do.
07-25-2021 11:45 AM
could it maybe also be possible to use the BHI Soft Pass-Through function (datasheet BHI260AP section 13.2.4) to talk to the BME688 directly? In this instance it would be possible to write a wrapper function and pass its pointer as read and write function to the BSEC library running on the MCU.