Bosch Sensortec Community

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

    BMF055- Program halts on custom design

    BMF055- Program halts on custom design

    RknCdacT
    Member

    Hello everyone,

    We had purchased the BMF055 shuttle board along with breakout board and tested it out. Once satisfied, we had tried to implement the same into our customized board which replicated the circuit details as mentioned in the BMF055 shuttle board.  But, after programming the BMF055 IC and starting the debugging process, the program gets stuck in the "gclk.c" file at while loop (Highlighted line in attachment). We have rechecked the schematic connections of our board with the BMF055 Shuttle board and there are no changes to be found. We are using Atmel Studio IDE and Atmel ICE debugger for our debugging of the BMF055 IC. The example program used by us is "BMF055_DATA_STREAM-atsamd20j18".

    Please support us in resolving this issue.

    Thanks & regards,

    Rajeev K Nair

    9 REPLIES 9

    kgoveas
    Community Moderator
    Community Moderator

    Hi,

    It seems like an issue with the crystal or GCLK initialization. Are you using the crystal?

    The examples may not have been updated with the latest Board Support Package drivers from Atmel and hence may not have the latest work-arounds in the underlying drivers. Shortcut to the SAMD20J18 Errata sheet.

     

    @FAE_CA1,

     Thank you for your reply. 

    @Vincent

    Will share by private message.

    @kgoveas,

    We are not using the crystal. Its the same way as in the default code available for download in Data stream example. Also, the BMF055 is working without issues in the shuttle board. 

     

    Hi FAE_CA1,

    Please support us in solving the issue with the BMF055 IC.

    Also, is it possible to share the BMF055 shuttle board layout with us? It would help us to compare with our custom PCB and resolve any errors that might have been created while designing our PCB. 

    Thanks & regards,

    Rajeev

     

    Vincent
    Community Moderator
    Community Moderator

    In your previous comments,  you said you are not using external crystal  but i found 32KHz crystal on your schematic.  

    Does it mean you just not install it on PCB?

    If it is the case,  you can take a look the errata which my colleague shared to you in comments.  there is some extra things need to be take care in your code.  

    I also attached the BMF055 shuttle schematic in the attachment.  

    Vincent
    Community Moderator
    Community Moderator

    Could you also try to add GND on C1 and C5?  

    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