01-28-2022 04:25 PM
Hi ,
I am trying to integrate BESEC software to interface BME680 with EFR32BG22(Cortex M33).I sucessfully integrate libalgobsec.a file for GCC cortex M33F into my project.The project get compiled sucessfully without any error.
I have problem with the output data from the BME680.The temperature value remain 0 all the time, and CO2,Iaq and breath values take quiet long time to show-up (initially they all shows 0 values)
My program take reading every 3 sec. I am using simplicity studio IDE and GNU ARM v10.2.1 compiler.
I susppect there is someting wrong with bsec_init()(initialization in BESEC library) function .It looks like temperature functionality of BME680 is not getting initialize properly.
I am attaching the snapshot output console:
Please help me to resolve this issue.
Thank You
Solved! Go to Solution.
06-16-2022 08:13 AM
06-16-2022 07:36 PM
Hi Kumar,
Yes, we do have library for Cortex_M33. You can download it below path.
https://www.bosch-sensortec.com/software-tools/software/bme688-software/
And there is M33 library in below path folder.
BSEC_2.0.6.1_Generic_Release_04302021\algo\normal_version\bin\gcc\Cortex_M33
Thank you.
06-17-2022 10:13 AM
Hi Minhwan,
Thanks for your response. But my platform compiler and flags are as below:
arm-none-eabi-gcc -g3 -gdwarf-2 -mcpu=cortex-m33 -mthumb -T -mfpu=fpv5-sp-d16 -mfloat-abi=hard
Any modifications please suggest to me. as per my compiler will your below link library will support? I believe you shared the library is not arm gcc right?
Want to explore more, please clarify my doubts?
Regards,
Kumar
06-17-2022 02:04 PM
Hi Minhwan,
Update as per given libraray compiled for our Cortex-M33 platform and got the below error::
------------------------------------------------------------------------------------------------------------------------------------------------------------------
c:/toolchains/gnu_arm/7.2_2017q4/bin/./../../../arm-none-eabi/bin/ld.exe: error: BME680_Algo.axf uses VFP register arguments, c:/toolchains/gnu_arm/7.2_2017q4/bin/../lib/gcc/arm-none-eabi/7.2.1/../../../../arm-none-eabi/lib\libalgobsec.a(bsec_codegen_do_steps.o) does not
c:/toolchains/gnu_arm/7.2_2017q4/bin/../lib/gcc/arm-none-eabi/7.2.1/../../../../arm-none-eabi/bin/ld.exe: failed to merge target specific data of file c:/toolchains/gnu_arm/7.2_2017q4/bin/../lib/gcc/arm-none-eabi/7.2.1/../../../../arm-none-eabi/lib\libalgobsec.a(bsec_codegen_do_steps.o)
------------------------------------------------------------------------------------------------------------------------------------------------------------------
Please share it to your development team will guess what exactly the problem. I am suspectign given the libraray is not compatiable to our compiler flag.
check and share the supported library?
Regards,
Kumar
06-17-2022 07:39 PM
Hi Kumar,
In terms of custom library, please visit https://www.bosch-sensortec.com/about-us/contact/contact-form, use the contact form to submit your request and please make sure you refer to the question posed in the community.
Thank you.