Bosch Sensortec Community

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

    BNO055 USB Stick UART protocol does not match datasheet

    BNO055 USB Stick UART protocol does not match datasheet

    Jason
    Member

    Hello,

     

    We recently acquired the BNO055 USB Stick for evaluation and noticed that the UART protocol to communicate with the device does not match the one specified in the datasheet (verified by running the development desktop and using a serial port sniffer).  I was unable to locate any updated documentation regarding the protocol actually being used.

     

    Does anyone know where this document or example exists ?

     

    For example, the datasheet says you can 'read' a register using 4 bytes, 0xaa 0xXX 0xXX 0xXX however the device does not respond and using the serial sniffer the following bytes are actually sent : aa 0e 01 00 41 16 01 07 01 01 01 00 0d 0a.

     

    Thank you,

    Jason

     

    11 REPLIES 11

    kgoveas
    Community Moderator
    Community Moderator

    Hi Jason,

    There is a microcontroller that is in between the BNO055 and the USB port. It is connected via I2C and other relevant GPIOs internally to the BNO055. The microcontroller uses a different protocol to that of the BNO055's UART protocol. It implements a Bosch Sensortec proprietary USB-SPI/I2C/GPIO bridge protocol known as COINES. Refer to my colleagues response to a similar query here to read sensor data out using the BNO055 USB stick.

    Regards,

    kgoveas

    Thank you for your response.  I saw the COINS discussion which requires use of a Windows DLL.  Unfortunately we need to perform our verification on a custom Linux system that requires access to the protocol or at least a Linux library that can be compiled for a custom platform.

     

    Any ideas ?

     

    Thanks,

    Jason

     

    I have found a donwload that is promising, I will evaulate it and see if it will do what I need for our custom ARM Linux platform, thank you.

    For others I went to : https://www.bosch-sensortec.com/bst/support_tools/downloads/overview_downloads and went to the 'software' tab for downloads and clicked on the "COINES" plus.

    Unfortunately I still do not see a path to using the USB Stick under Linux.  The serial protocol looks fairly straightforward, is there no source code for this protocol ?  It would be a shame to be unable to evaluate the sensor for our target environment over a simple serial protocol.  I have seen others simply captuing the serial communication and "replaying" it to do what they want but that is a difficult mode to support in the long run.

     

    Jason

     

    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