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.

TDC7201-ZAX-EVM: Using MatLab to process results with MSP430F5529USB for LIDAR

Part Number: TDC7201-ZAX-EVM
Other Parts Discussed in Thread: MSP430F5529, , MSP430WARE, TDC7201

I am using the MSP430F5529 USB launchpad as well as the TDC7201-ZAX-EVM for a LIDAR system and was hoping to import the measurements into MATLAB to calculate the distance. I'm not totally sure of the best way to do this however. Any insight? My goal is to use Matlab to create a GUI that displays the target range and nothing else. I was also wondering if it's possible to display the range as it changes (from 20cm to 10m at the extremes). Any help that could be given would be very helpful.

  • Hi John,

    Since you are creating your own MATLAB GUI, consider creating your own Code Composer Studio project to read the time-to-digital measurements directly through MATLAB via COM serial terminal. Given the MSP430F5529 device itself includes a built-in USB PHY to support direct USB interfacing for USB CDC communication, you can re-purpose the LaunchPad's micro-USB connector. 

    You can view the TI Resource Explorer's USB Developer Package for the MSP430Ware to find more details on this implementation: http://dev.ti.com/tirex/explore/node?node=AGpmEEUqhP6-Sre2PqpC9g__IOGqZri__LATEST

    Use the CDC Example as a starting template to establish USB connection between your MATLAB GUI and the MSP430, then add the necessary SPI commands to configure, initiate, and capture the TDC7201's EVM START/STOP signals to pull the time-to-digital values through USB.