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.

CCS/MSP432P401R: Connecting it with MPU 9250

Part Number: MSP432P401R

Tool/software: Code Composer Studio

Is there any starting code on the resource explorer ?

Also, how do I know which pins from the MSP to connect to the MPU?

  • Hello Jon,

    We do not have example codes with this specific part.  I Googled it and it appears you are referring to Invensense 3-axis accel/gyro/magn?

    Your question is too open-ended right now to get any specific answers about this, but I would encourage you to narrow your question in the following way.  Read through the device datasheet for the part you are using, you can almost always find this on Google or from where you bought the part.  Once you read through the datasheet and get an idea for how it works, then you can ask more focused questions which will yield more useful answers for you.

    For example, I Googled the part and found that it appears to work off of I2C or SPI.  We have a lot of I2C/SPI examples in the SDK in TI resource explorer(TI-REX) in the Register Level, DriverLib, and TI Drivers example folders.

    Additionally, we have a sensors boosterpack which has several sensors on it and does have example codes specifically for it in TI-REX. In case you find that useful.  If you have already decided on the MPU part and do not want to use this boosterpack, depending on if their methods of operation are compatible (again, the datasheets will be your friend to learn this), you might still be able to reference the Demos folder in TI-REX and find  boostxl_edumkII_accelerometer_msp432p401r or  boostxl_sensors_sensorGui_msp432p401r useful.

    As for pin connections, this again will be information you can find in the datasheets for these devices.  Depending on which instance of peripherals you use and how you set up your code, this can be somewhat variable.

**Attention** This is a public forum