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/MSP430F5528: code

Part Number: MSP430F5528
Other Parts Discussed in Thread: TDC7200, , TDC1000

Tool/software: Code Composer Studio

Hi all,

I want to interface TDC7200 with MSP430F5528 for TOF measurement and send the TOF data to my MCU Through i2c . I don't know how and where to write the code. Can anybody share any code (if you have) or guide me to get it done.

Thanks 

Pabel

  • Hi Pabel,

    The TDC7200 does not support I2C communication, only SPI. You can find the source code for the TDC1000-TDC7200EVM included with the GUI here: 

    There are several example projects that include SPI read and write code, as well as the full MSP430 firmware that is used on the EVM. 

    Regards,

  • Hi Scott,

    Thanks for replying. I will use TDC7200 spi interface with msp430. Again I need to send that result to another MCU through i2c. I found the code for both spi and i2c. Here I think I need to combine both codes.

    How to do that?  These are hex files I am not able to open them also.

    Please help me..

    Thanks

    Pabel

  • Hi Scott,

    Please reply.....

    Thanks

    Pabel
  • Hi Pabel,

    Example SPI source code is located in the following folder provided that you used the default installation directory: C:\Program Files (x86)\Texas Instruments\TDC1000_7200EVM\Firmware\Firmware Source v2.01\CCS\TDC7200_basic_spi_readwrite

    This includes the full source code files, and not just the hex files that can be loaded onto the MSP430.

    Since I2C is not used with the TDC7200, there is no example code for I2C transactions within the included source code. For more information on how to use I2C with the MSP430 reference this application note: www.ti.com/.../slaa382a.pdf

    You can also post on the MSP430 E2E forums for more assistance with using I2C.

    Regards,