Bosch Sensortec Community

    cancel
    Showing results for 
    Search instead for 
    Did you mean: 

    BNO055 on UART

    BNO055 on UART

    brianm
    New Poster

    Hi,

    I am trying to get a BNO055 running using the UART interface and I am getting a lot of BUS_OVER_RUN_ERROR when requesting data. I have the device set up in non-fusion mode and am requesting one set of data every cycle. I am only interested in gyro and accelerometer data but since the compass measurements are in between the two I read 18 bytes and discard the compass data.

    Really I would like a mode where I can set the device up to send the data on the UART when it is ready instead of requesting it asychronously to the processes on the BNO055.

    Is it possible to get access to the internals of the cpu in the BNO055 with some documentation so I could write my own program which does what I have described above? The easiest, of course, would be to get your current code so I could modify it.

    The installed software version is 3.11.

    5 REPLIES 5

    Jet
    Occasional Contributor

    Hi Sir:

        Do you mean that you want to get sensor data with UART interrupt reminder? BNO055 send new data to BNO055 UART buffer and wait HOST to read instead of HOST polling by time or ODR.

       Am I correct to know what you mean?

     

    Yes. The host polling is a waste of time, I send the same request every time and somerimes - quite regularly - the BNO055 cpu is busy and does not read my request in time leading to overruns. I ran a test last night where I read the sensor as fast as I could - which was approximately 166 Hz - I had over 1100 retries where I had to retry 4 or more times and once I had to retry 6 times out of approximately 9 million requests - retries of less than 4 times are very frequent.

    Jet
    Occasional Contributor

    Hi Sir:

        Could you only use UART? I am not sure whether Uart interrupt feature can be achieved as you expected.

        I will talk to our internal experts and reply you.

      

    Yes. Our only connection possibility is UART. Thanks for looking into this.

    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