06-20-2021 05:03 PM
Hello All
Goof Day!!
We are integrating BSEC library with BME688 sensor on NRF SDK ,
We succesfully able to get compensated Temprature , Humidity,Pressure value from BSEC
But we are facing issue to get Gas Estimate X out from BSEC,it always show zero value even after 45 minute of test run.
And also IAQ value always show 25 and "Run in status" flag always show 0 from BSEC output.
Please suggest possible solustion of issue.
Please find detail log in Attachedment
Let me know if more information require.
Solved! Go to Solution.
06-22-2021 01:11 PM
Hello BSTRobin
Please find attached .c and .h file along with the configuration file that we are using for getting GAS_ESTIMATE_X data.
bsec.c file is created using the arduino example present in bsec library downloaded from BOSCH website.
Your reply at the earliest will be very helpful.
Thanks,
Vishvaraj
06-23-2021 04:44 PM
Hello Robin,
Any updates on our query.
It will be really helpful to us as we are stuck and unable to find any solution
06-29-2021 06:33 AM
hello,
any updates??
07-12-2021 11:25 AM
Hello jadeja14890,
Sorry for delay reply.
You migrated Arduino project to nordic platform. Could we know the following two
1.What code do you call the API(BSEC_2.0.1.0_Internel_Release\API\bme680.c)?
2.Before you call bme680_init() in your code, what is the initialization code for struct bme680_dev?
struct bme680_dev {
/*! Chip Id */
uint8_t chip_id;
/*! Device Id */
uint8_t dev_id;
/*! Unique id */
uint32_t unique_id;
/*! SPI/I2C interface */
enum bme680_intf intf;
/*! Memory page used */
uint8_t mem_page;
/*! Ambient temperature in Degree C*/
int8_t amb_temp;
/*! Sensor calibration data */
struct bme680_calib_data calib;
/*! Read function pointer */
bme680_com_fptr_t read;
/*! Write function pointer */
bme680_com_fptr_t write;
/*! Delay function pointer */
bme680_delay_fptr_t delay_ms;
/*! Communication function result */
int8_t com_rslt;
/*! Store the info messages */
uint8_t info_msg;
};
07-12-2021 12:09 PM
Hi BSTROBIN,
Please Find Below Answer
1.What code do you call the API(BSEC_2.0.1.0_Internel_Release\API\bme680.c)?
[Ans] BSEC api callerd from Main.c in While(1) loop please see atached snapshot Main_c.png
2. Before you call bme680_init() in your code, what is the initialization code for struct bme680_dev?
Please find attached code snippet for same (Main_C.png,bme688_get_dev_structure.png, and BME688_Init.png).