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.

RTOS/MSP432P401R: MSP432P401R TI-RTOS SPI DRIVER

Part Number: MSP432P401R

Tool/software: TI-RTOS

Hi,

I am trying to work out the SPI communication between two evaluation boards , MSP432P401R (Master) and MSP430G2553 (Slave).
My main goal is to check if i can devlop proper comunication using the spi driver (from the ti-rtos) for future design which will include the msp432p401r and the drv8703.

Since we have not made the new board yet i'm checking the comunication features using MSP430G2553 as slave insted of the DRV8703.

As i said before i'm using MSP432P401R launchpad (as a master), code composer studio V7.4, SimpleLink MSP432P4 SDK - v:2:20:00:12.
I tried at first to isolate the master thread from the spiloopback example for the msp432 and used SPI slave example for the msp430g2553 but i'm failling to establish comunication between them.

On the slave side, i have tried put break point on thr RX isr to see if i'm getting somthing at all, and i did, but the data was always identical, '0'.

My questions are:

1) Is it posible to comunicate between those two launchpads (and the msp432+drv8703) via spi? 

2) Is the loopback example is the right example to start with from the master side and with ti-rtos?

3) Are there any other examples or documents which can help us to validate this test (spi comunication from ti-rtos drivers, msp432p401r with msp430 or drv8703)?

I did sucseed to preform the example between two separate spi channels on the msp432 (as instructed in the exemple) however when i tested the signals on the OSCILLOSCOP the signal didnt seemd like spi comunication signal should.

yellow ->clock

purple -> mois
red -> miso

Thanks in advance,

Avi

  • Hello,
    Yes, it is possible to communicate between the two launch pads. Please confirm that the phase, and polarity are consistent between the two devices. Also, the loopback example is a great place to start, however, I did not see a reciprocal type of example for the G2553. As you pointed out you would need to remove the receive portion on the MSP432 side.

    The DRV device you are looking at uses an open collector output, so please be sure to use an appropriate pull-up.

    I am not aware of any specific examples of the MSP432 to MSP430, but you should be able to communicate between the two.

    Chris
  • Hello Chris
    Thank you for yur answer and sorry for the late replay.
    I will work on it and will update soon.
    Best regards,
    Avi
  • Thanks Avi. Let us know if you have additional questions.
    Chris

**Attention** This is a public forum