This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Interfacing MSP432P401r with bosch BNO 055

Other Parts Discussed in Thread: MSP430G2553

Hello ..I am very new in this field..I have MSP432p401r launch pad and  I have to interface it with a 9 axis sensor form Bosch which is BNO 055..i want to know how should i start ..??

  • Hi Mohammed!

    The BNO055 orientation sensor can be connected via I²C or UART. You can choose one of them. To get started, you first should get familiar with the MSP - to do so, work with the different code examples provided by TI. They can be downloaded here. Since the LaunchPad has an application UART, you can play around with the UART by exchanging data between the PC and the MSP. In this way you can learn how to use the USCI module in UART mode, for example.

    The code examples have two example programs for the UART:

    • msp432p401_euscia0_uart_01
    • msp432p401_euscia0_uart_03

    And there are examples for using I²C as well, of course, but this isn't as easy to play around without having any slave connected. The MSP <-> PC connection is very simple. Furthermore the sensor has an interrupt output to signal the MSP that something happened, so you can also practice how to use the pin interrupts on a MSP432.

    Download the Technical Reference Manual for the MSP432P401R and read the chapters about the modules you want to use. And don't get shocked by this massive document - no need to read all of it - only the parts that are necessary for your project. The examples are always a good point to start from. But if you are a beginner, you shouldn't directly hook the sensor to the MSP, hoping that there will somehow come usable data from it - first get an idea of how to use the MSP itself. If you do not know how things work, you will also have problems to debug your code.

    Dennis

  • Hello

    I am a graduate student and doing some experiments on sensor tags for motion detection.
    I am trying to interface the BNO055 with the MSP4302553 through the UART. Could you please help me if you have an example code for this?

    Regarding the BNO055, how can I program it? I mean how can do compilation? is it possible to do that through the MSP430 LaunchPad?

    Thank you


    Murtadha

  • Hi Murtadha!

    Pleaso don't use other threads to discuss a new problem although it is the same sensor you are using. You are working with the MSP430G2553, the thread opener used a MSP432P401R. Your processor also has code examples you can download here. Have a look at the programs about the UART to get an idea of it's configuration and working principle.

    Dennis

**Attention** This is a public forum