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/TDC1000-TDC7200EVM: Using CCS to connect other boards through UART/SPI

Part Number: TDC1000-TDC7200EVM
Other Parts Discussed in Thread: MSP430F5528

Tool/software: Code Composer Studio

Hi, I am new to Embedded System Development. I want to perform UART/SPI  transactions between the MSP430F5528 to SimpleLink cc3220 through GPIO.

I want to know which  communication protocol is better? I had a reference to https://e2e.ti.com/support/sensors/f/1023/t/654845?tisearch=e2e-quicksearch&keymatch=arduino%20tdc1000-tdc7200EVm Is that means I may only connect GPIO3,GPIO4 to the simplelink board and the data will transmit through UART, or I should also write some codes to Imitate uart communication? 

The second question is that the demo codes of tdc1000-tdc7200 don't have codes about how to use GPIO, Can I just include gpio.h and using gpio.c? Or I should change some definitions in msp430.h or others?

Thank you so much.  

  • Hi,

    If you have two separate issues, please crate two posts.
    Your post subject does not refer to MSP430F5528 and CC3220.

    <<< I want to perform UART/SPI transactions between the MSP430F5528 to SimpleLink cc3220 through GPIO.
    Not through GPIO but using UART/SPI pins.

    <<< I want to know which communication protocol is better?
    These are two different protocols for different needs, no answer for your question.
    I recommend you to use UART.

    <<< Is that means I may only connect GPIO3,GPIO4 to the simplelink board and the data will transmit through UART, or I should also write some codes to Imitate uart communication?
    You need to check pins on MSP430F5528.

    <<< or I should also write some codes to Imitate uart communication?
    Of course, you need to write some code.

    <<< The second question is that the demo codes of tdc1000-tdc7200 don't have codes about how to use GPIO, Can I just include gpio.h and using gpio.c?
    You can program GPIOs and other resources at three levels:
    - register level,
    - driverlib level,
    - TI-RTOS drivers.
    You should read and study examples to understand how to program GPIOs and other resources.
    Start reading: dev.ti.com/.../
  • Hi Tom,
    Thank you so much for your advice.


    regards,
    Jiao