Bosch Sensortec Community

    cancel
    Showing results for 
    Search instead for 
    Did you mean: 
    SOLVED

    temperature values is always 0

    temperature values is always 0

    JimitP
    New Poster

    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

    8618fd96-29e6-478f-b562-c2ccca8fb874.jpg

     

    30 REPLIES 30

    Minhwan
    Community Moderator
    Community Moderator

    Hello, 

     

    I looked into your code, and your sleep fucntion is USTIMER_Delay which could be micro second delay. 

    However, our sleep function is mili second based. 

    /*!
    * @brief System specific implementation of sleep function
    *
    * @param[in] t_ms time in milliseconds
    *
    * @return none
    */
    void sleep(uint32_t t_ms)
    {
    // ...
    // Please insert system specific function sleep or delay for t_ms milliseconds
    // ...
    }

    Could you modify it and run it again ?

    Thanks, 

     

    Thank You for your help!

    micro second delay was the problem.It's now working 

    Hi,

    I am also using the same EFR32BG22 (Cortex M33) with BME68x.

    I can compile the source, but it is unable to get the library source.

    Could share the supported library for compiling my whole source with BSEC algorithm with bsec_iot_example source.

    If you could share your source or project to compile the same.

    My compiler details:

    arm-none-eabi-gcc -g3 -gdwarf-2 -mcpu=cortex-m33 -mthumb -mfpu=fpv5-sp-d16 -mfloat-abi=hard

    I can read the sensor values from bme68x sensor with raw level without using BSEC algorithm.

    Regards,

    Kumar

    Hi, 

    Unfortuantely, M33 is currently not supported. 

    Please check it in our github. 

    https://github.com/BoschSensortec/Bosch-BSEC2-Library

    If you want further discussion, 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. 

    Hi Minhwan,

    Thanks for your response.

    In this same mail thread other person JimitP is also using the same EFR32BG Cortex-M33 platform. He said it is working with BSEC algorithm and shared his output results in previous messages.

    I am also using the same platform and as per your mail said it is not supported for Cortex-M33.

    Please check once and share the feedback. Now we have already made PCB based on your BME688 sensor and able to read only raw level via i2c.

    But for checking the GAS related factors it required your BSEC to convert in different ppm values. 

    check with others and share your feedback.

    Regards,

    Kumar 

     

     

     

     

    Icon--AD-black-48x48Icon--address-consumer-data-black-48x48Icon--appointment-black-48x48Icon--back-left-black-48x48Icon--calendar-black-48x48Icon--center-alignedIcon--Checkbox-checkIcon--clock-black-48x48Icon--close-black-48x48Icon--compare-black-48x48Icon--confirmation-black-48x48Icon--dealer-details-black-48x48Icon--delete-black-48x48Icon--delivery-black-48x48Icon--down-black-48x48Icon--download-black-48x48Ic-OverlayAlertIcon--externallink-black-48x48Icon-Filledforward-right_adjustedIcon--grid-view-black-48x48IC_gd_Check-Circle170821_Icons_Community170823_Bosch_Icons170823_Bosch_Icons170821_Icons_CommunityIC-logout170821_Icons_Community170825_Bosch_Icons170821_Icons_CommunityIC-shopping-cart2170821_Icons_CommunityIC-upIC_UserIcon--imageIcon--info-i-black-48x48Icon--left-alignedIcon--Less-minimize-black-48x48Icon-FilledIcon--List-Check-grennIcon--List-Check-blackIcon--List-Cross-blackIcon--list-view-mobile-black-48x48Icon--list-view-black-48x48Icon--More-Maximize-black-48x48Icon--my-product-black-48x48Icon--newsletter-black-48x48Icon--payment-black-48x48Icon--print-black-48x48Icon--promotion-black-48x48Icon--registration-black-48x48Icon--Reset-black-48x48Icon--right-alignedshare-circle1Icon--share-black-48x48Icon--shopping-bag-black-48x48Icon-shopping-cartIcon--start-play-black-48x48Icon--store-locator-black-48x48Ic-OverlayAlertIcon--summary-black-48x48tumblrIcon-FilledvineIc-OverlayAlertwhishlist