Bosch Sensortec Community

    cancel
    Showing results for 
    Search instead for 
    Did you mean: 

    BNO055 0x07 error over UART

    BNO055 0x07 error over UART

    Thanasis
    New Poster

    We are configuring the BNO055 to run on NDOF mode. The BNO is setup to run on its internal crystal. FW version 03.14

    We are polling using the UART interface, 24 bytes every 50ms. 

    Occationaly we are getting an 0x07 BUS_OVER_RUN_ERROR which on datasheet is explained as "The BNO055 was not able to clear the receive buffer in time for the next senddata, this can happen, since UART is an asynchronous protocol"

    However we are not transmitting a data read command if no response is received from previus read command. So the question is how is the BUS_OVER_RUN posible? We are waiting for the BNO to reply every single time and we get to a point the tha reply is 0xEE 0x07. After this the BNO055 seams to restore operation after 100 to 400 ms. (Does this mean the BNO has for some reason reset?)

    4 REPLIES 4

    Vincent
    Community Moderator
    Community Moderator

    Is this over run happened only for reading data from BNO055?

    the potential reason is internal MCU is busy with fusion data calculation with high pirority so it is not response to UART bus interrupt on time. 

    Then the MCU will report bus over load. 

    After internal computation done, this error status will be clear automatically. 

    The NDOF mode needs magnetic sensor,  and runs under 100Hz.  Accel + gyro data rate is set also to 100Hz but magnetic data is 20Hz means every 50ms,  BNO need more time to calculate the fusion data with magnetic data input. 

    It also matched your output data rate as 50Hz.  

    That is my assumption here. 

    will it make any difference running the BNO on an external crystal ? Does the performance improove ? 

    Vincent
    Community Moderator
    Community Moderator

    No,  it doesn't have performance difference to run with internal or external crystal on this point. 

    But we are also trying to find out a workaround for this issue now.

    Will keep you updated. 

    Vincent
    Community Moderator
    Community Moderator

    We checked,  there is no wor around to avoid the 0x07 output while using UART since it is Async transmition mode. 

    The only work around is resend the read command when you receive 0x07 response.  it should successful in second try.

    Also you can try to upgrade our BNO055 FW to 03.14 or higher version.  Then you will have INT_STA which is the data ready interrupt.  With this interrupt,  you will know the fusion calculaiton is done.  then you submit read command,  it should not meet overrun error. 

    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