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.

TDC1000-TDC7200EVM: SPI communication with an XBEE

Part Number: TDC1000-TDC7200EVM

Hi everyone,
In my project, I want to read the flow data using the TDC1000-TDC7200EVM and send these data to an Digi's XBEE PRO S2C, exactly the same as the following thread:
https://e2e.ti.com/support/sensor/ultrasonic/f/991/t/660329?TDC1000-TDC7200EVM-Send-output-from-TDC1000-TDC7200EVM-using-RF-Modules-without-the-use-of-GUI-and-connection-between-the-board-and-a-PC

I know that it's possible using the SPI bus coming out from the MSP430, but I have some questions about it:
1) In the "Firmware" folder of the installation directory there is a code for SPI already completed, but is this code already programed in the MSP430 or do I have to program it?
2) If it's necessary to program the MSP430, how do I do that? Is it possible via USB or is it necessary to use a MSP-FET?
3) It says that I can use any of the unused GPIO on the MSP430 as CS, but how do I configure any of these GPIOs to work as a CS?
4) The XBEE module is powered with 3.3V, so the SPI also requires 3.3V signals. The SPI bus from MSP430 would be directly compatible with the XBEE's SPI? Or it would be necessary to convert the signals levels (using a voltage regulator for example)?
5) Is there anything else to be done to accomplish this SPI communication between the TDC1000-TDC7200EVM and the XBEE module?

I'm sorry for so many questions.
Best Regards.

  • Hi Lucas,

    1. The full MSP430 source code is included in the installation directory of the GUI. The SPI labelled code are just examples and not complete firmware.

    2. You can program via USB, but you cannot debug through the USB port. You will have to compile the code, and program it using a BSL loader like the one included with the TDC1000-TDC7200EVM GUI.

    The rest of your questions seem to be more about interfacing the MSP430 with your XBEE module. I think you will get better results by asking about the specific MSP430 model (MSP430F5528) on the MSP430 specific E2E forum.

    Regards,
  • Hi Scott, thank you very much for replying, I will create a new thread in the MSP430 forum.


    Regards.



  • Scott,
    I see that the XBEE is also able to do a UART communication. Would be possible to use the J6's GPIO3 of the TDC1000-TDC7200EVM as TX to send the data to the XBEE?
    In which file should I do the modifications (baud rate for example) for the UART communication?
    Is it the "uart_commn.c" and "uart_commn.h files at ...\Firmware\code\demo_apps\demo4_tdc1000_tdc7200_usb ?