Bosch Sensortec Community

    cancel
    Showing results for 
    Search instead for 
    Did you mean: 

    BNO055 unable to read multiple bytes continuously in I2C at 400Khz or 100Khz

    Highlighted
    New Poster

    BNO055 unable to read multiple bytes continuously in I2C at 400Khz or 100Khz

    In my application we have used BNO055 as 1 of the peripherals along with other 2 peripherals, where I'm not able to do multiple bytes read and write continuously.Whereas I'm able to read and write multiple bytes for other two peripherals continuously.

    Ex:- Magnetometer is set to 30Hz bandwidth,  AccMag mode is set and I2C is kept at 400Khz or 100Khz.

    Whenever the device which contains the BNO055 is kept stable I'm able to read the data continuously even while the multiple byte read method is used.

    When the device is moved little I don't get the data continuous instead there will be no proper transactions in the bus, not only the Magnetometer readings im not able to read the chip Id and next bytes in the multibyte read method.

    As the number of bytes read increases the transactions on the bus ceases.Ex:- If 2 byte read i get most data if it increases to 4 bytes the continuous data read ceases.

    But if a single byte read is performed I'm able to read the data at 30Hz frequency.

    5 REPLIES 5
    Highlighted
    Community Moderator

    Re: BNO055 unable to read multiple bytes continuously in I2C at 400Khz or 100Khz

    Hi,

    Thanks for your inquiry.

    On page 100 of BNO055 datasheet it says that BNO055 I2C interface uses clock stretching. Please check if your MCU also supports clock stretching or not.

    Thanks.

    Highlighted
    New Poster

    Re: BNO055 unable to read multiple bytes continuously in I2C at 400Khz or 100Khz

    Yes that has been taken care, still I'm not getting the data continuous

    Highlighted
    Community Moderator

    Re: BNO055 unable to read multiple bytes continuously in I2C at 400Khz or 100Khz

    Please provide your timing plotter of I2C bus (Captured by logic analyer) with and without the problem for us to better understanding your issue.

    Highlighted
    New Poster

    Re: BNO055 unable to read multiple bytes continuously in I2C at 400Khz or 100Khz

    Kindly find the attached documents where the continuous logic analyzer file contains continuous multiple bytes read working when the device is kept at a constant stable position. Non-continuous logic analyzer file contains the non-continuous multiple bytes read when a movement of the device is made. 

    In both, the scenario the data is tried to capture at 33Hz frequency.

    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