Bosch Sensortec Community

    cancel
    Showing results for 
    Search instead for 
    Did you mean: 

    BMM350 SB config changes failing in bmm350_init

    BMM350 SB config changes failing in bmm350_init

    fcovely
    Established Member

    I did a clean install of COINES and the BMM350-SensorAPI git repo and it compiles links and downloads to the App 3.0 board just fine.  I can see debug output on a COM port on the PC.

    However, I see no indication that the App3.0 board is talking to the 350 SB.  In bmm350_init (in bmm350.c) a call to bmm350_set_regs call returns OK, but this call fails right after that:

                rslt = bmm350_get_regs(BMM350_REG_CHIP_ID, &chip_id, 1, dev);
     
    with a  error code -2, (BMM350_E_COM_FAIL), the bmm350_init routine returns BMM350_E_DEV_NOT_FOUND (-3).
     
    I feel like possibly the firmware on the App3.0 board is suspect?
     
    Help!
    4 REPLIES 4

    fcovely
    Established Member

    Another question:  Is there anyway to know if a shuttle board mounted on the App 3.0 board is fried?  

    BSTRobin
    Community Moderator
    Community Moderator

    Hi fcovely,

    Did you use BMM350 shuttle board 3.0?

    fcovely
    Established Member

    Yes, in fact I have 2 App 3.0 boards and 2 BMM350 shutte boards neither BMM350 SB 3.0 board works on either 3.0 app board.  Here is the mouser part:
    262-SB3.0BMM350
    Shuttle Board 3.0 BMM350
    Bosch Magnetic Sensor Development Tools
    US HTS:9030890100 ECCN:EAR99 COO:CN

    BSTRobin
    Community Moderator
    Community Moderator

    Hi fcovely,

    Can your APP3.0 board work well with other shuttle boards?
    Can the bmm350_interface_init() function before the bmm350_init() function execute successfully?

    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