Bosch Sensortec Community

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

    BME680 BSEC library for Microchip PIC32 microcontrollers

    BME680 BSEC library for Microchip PIC32 microcontrollers

    emm
    New Poster

    I require the Bosch BSEC library for the BME680, to run on Microchip PIC32 microcontrollers.

    Is there a BSEC library version compatible with Microchip's C32 or XC32 compilers (NOT for the MikroC compiler)?

    I see that PIC32 is not included in the table here: https://www.bosch-sensortec.com/bst/products/all_products/bsec

    However, I have found that the zip download contains a library file named "BSEC_1.4.7.3_Generic_Release\algo\bin\Normal_version\mplab\libalgobsec.a". The "mplab" suggests it is something related to Microchip. Is this library PIC32 or C32/XC32 compatible?

    Thank you.

    3 REPLIES 3

    o_o
    Contributor
    Hello,

    Not sure why it was included in this release, but the this Microchip build is made for the following part:

    MCU p/f: Microchip dsPIC33EP64MC202
    IDE environment: MPLAB v2.26
    Compiler: XC16 v1.23

    As PIC32 is not supported, I would recommend that you select a more common MCU architecture, such as ARM Cortex M series.

    emm
    New Poster

    Is Bosch able to provide an XC32 compatible library? This would be far more widely used than the MikroC library, which is provided.

    Otherwise, changing the sensor is a better solution than changing the MCU!

    o_o
    Contributor

    Unfortunately at this time, this time here is the list of supported architectures (May 2019):

    Platform Compiler ROM (BSEC) ROM (BSEC lite*) RAM TYPE
    Cortex-ARM ARMCC 19-20k 12-13k 1k Cortex-M0, M0+, M3, M4, M4_FPU, M7
    Cortex-ARM GCC 20-22k 12-14k 1k Cortex-M0, M0+, M3, M4, M4_FPU, M7
    Cortex-A* GCC 21k 13k 1k Cortex-A7
    AVR_8bit AVR-GCC 42k 25k 1k MegaAVR, XMEGA
    AVR_32bit AVR-GCC 24k 13k 1k 32-bit AVR UC3
    ESP8266 xtensa-lx106-elf-gcc 28k 17k 1k ESP8266
    ESP32 xtensa-esp32-elf-gcc 24k 14k 1k ESP32
    MSP430 msp430-elf-gcc 34k 20k 1k MSP430
    Android system-x86 gcc 39-49k 22-26k 1k x86, x86_64
    Android system-arm gcc 21-38k 13-19k 1k arm, arm64
    IAR gcc 20k 12-13k 1k Cortex-M0, M0+, M3, M4, M4_FPU, M7
    Raspberry PI0 linux arm-linux-
    gnueabihf-gcc
    71k 56k 1k armv6-32bits
    Raspberry PI3 linux arm-linux-
    gnueabihf-gcc
    72k 57k 1k armv8-a-64bits

     

    We support hundreds of microcontrollers and application processors that are the most popular at the moment.

    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