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.

MSP432E401Y: Issue with implementing I2c and SPI protocol in mmwavepoeevm

Part Number: MSP432E401Y

Tool/software:

Greetings,

My requirement is to write a program that will implement SPI and I2C protocol to  read data from a peripheral IC and dump data to peripheral IC,I tried modifying the example but it is off no help can you suggest some different approaches and ways to get it to work , like providing more documentation resources regarding the documentation of this board and the micro controller and I  can find  a  in built library being used namely driverlib.h which seems to provide some api's for the mentioned communication protocol but i can't seem any valid documentation regarding that   i need some assistance with this too.

Thank you.

  • My requirement is to write a program that will implement SPI and I2C protocol to  read data from a peripheral IC and dump data to peripheral IC,I tried modifying the example but it is off no help

    What is not working. Just by saying that it is no help does not tell me what is not working. 

    Which example did you use? There are quite a few examples in the SDK. 

    can you suggest some different approaches and ways to get it to work , like providing more documentation resources regarding the documentation of this board and the micro controller and I  can find  a  in built library being used namely driverlib.h which seems to provide some api's for the mentioned communication protocol but i can't seem any valid documentation regarding that   i need some assistance with this too

    This app note about using I2C for MSP432E will be also very helpful. https://www.ti.com/lit/pdf/slaa776

    You can also reference below examples from TivaWare SDK. The TivaWare SDK is for TM4C129 MCU but is the same silicon as MSP432E. 

    C:\ti\TivaWare_C_Series-2.2.0.295\examples\boards\ek-tm4c1294xl-boostxl-senshub\humidity_sht21_simple. 

    C:\ti\TivaWare_C_Series-2.2.0.295\examples\peripherals\i2c

  • I want to perform 3-wire spi operation in this micro controller but I'm not able to find any example code for that.

  • Hi,

      There is no example for 3-wire spi. If you want 3-wire spi then you just don't configure the CS pin. Just remove all the code that is related to the CS pin as you just need the SPICLK, SPITX and SPIRX pins.