Bosch Sensortec Community

    cancel
    Showing results for 
    Search instead for 
    Did you mean: 

    BMA456 AN load config file

    BMA456 AN load config file

    flotischu
    New Poster

    Hi,

    we try to load the BMA456 AN firmware with using the Bosch Sensor API 2.29.0

    The normal communication (read/write registers) is successful (read BMA4_CHIP_ID_ADDR, set BMA4_POWER_CONF_ADDR, etc.).

    But after loading the firmware the register 0x2A (BMA4_INTERNAL_STAT) is always 0.

    We try it with the default BMA4_READ_WRITE_LEN == 46 and also with 1200 byte (the size of the AN firmware). Both settings don't work.

    We compare the loaded config file with the array, there is no difference (0x5B 0x00 0x5C 0x00 0x5E [start of the 1200byte firmware]).

     

    Are there other things we can check besides the 0x2A register to track down the problem?

     

    Regards

    2 REPLIES 2

    BSTRobin
    Community Moderator
    Community Moderator

    Hi flotischu,

    Which interface(SPI, I2C) you used?
    I also upload BMA456AN example code on STM32 for your reference.

    Hi,

    thank you for the example code! We already use the Bosch Sensor API 2.29.0, but I will try the stripped down example also.

    We are using the SPI interface. Communication, reading, writing, verify of registers work as expected. The problem is to load the AN firmware.

    Today we get our apllication board 3.0 with the Shuttleboard BMA456. We want to recoerd the SPI communication in order to get a working configuration and to figure out what the problem with our code is.

    What are these patchfiles for the DD2.1 software? I did't find any explanantion to "Algoplugin patch", "Shark patch" and "Roger patch"?

     

    Regards

    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