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.

Port out SPI data to UART1 of TDC1000/7200 EVM

Other Parts Discussed in Thread: TDC7200, MSP430F5528, MSP430F5529, TDC1000

Hello,

I want to get the data sent by the TDC7200 to the MSP430F5528 of the eval board and access it via the UART1.
In the board, there is a connector J6 which is not placed and in there are pins for the UART1TX & RX.
I'm trying to get data from these pins. How can I achieve this? How can I enable UCA1TX & UCA1RX?

Jomer

  • I have a working version that will send out the TDC7200 calculation data through the UCSI-A1 pins. It will be released to web sometime soon. Meanwhile, I can share a pre-release. Please send me an email: vishy.natarajan@ti.com.
  • I sent you an email already. I hope we can get what we desired. Kudos!
  • This has been sent. Thanks, Vishy

  • Jomer,

    Default baud rate is set as 230400. You can set it to other rates as well. For example, to get 115200, you need to do minor modifications to files "uart_commn.c" (uncomment line 65/comment line 66) and "uart_commn.h" files (uncomment line 38/comment line 39).

    You can observe the data sent out by using a UART to USB cable (like FTDI  TTL-232R-3V3). Connect GND, RXD to GPIO3, and TXD to GPIO4 of the board. You can use a terminal like Teraterm to observe the data. I have enclosed screen captures of data being sent out. TOFs results are sent out as shown. Most of the applications would use 1 stop, so start to stop1 data alone is valid.

    Regards,

    Vishy

    Start_to_Stop[1]: 39615.392000    Start_to_Stop[2]: 116.139380    Start_to_Stop[3]: 116.139380    Start_to_Stop[4]: 116.139380    Start_to_Stop[5]: 116.139380     
    Start_to_Stop[1]: 39615.112000    Start_to_Stop[2]: 115.990770    Start_to_Stop[3]: 115.990770    Start_to_Stop[4]: 115.990770    Start_to_Stop[5]: 115.990770     
    Start_to_Stop[1]: 39615.224000    Start_to_Stop[2]: 116.099480    Start_to_Stop[3]: 116.099480    Start_to_Stop[4]: 116.099480    Start_to_Stop[5]: 116.099480     
    Start_to_Stop[1]: 39615.500000    Start_to_Stop[2]: 116.084140    Start_to_Stop[3]: 116.084140    Start_to_Stop[4]: 116.084140    Start_to_Stop[5]: 116.084140     
    Start_to_Stop[1]: 39615.388000    Start_to_Stop[2]: 116.129740    Start_to_Stop[3]: 116.129740    Start_to_Stop[4]: 116.129740    Start_to_Stop[5]: 116.129740     
    Start_to_Stop[1]: 39615.280000    Start_to_Stop[2]: 116.057400    Start_to_Stop[3]: 116.057400    Start_to_Stop[4]: 116.057400    Start_to_Stop[5]: 116.057400     
    Start_to_Stop[1]: 39615.112000    Start_to_Stop[2]: 116.023220    Start_to_Stop[3]: 116.023220    Start_to_Stop[4]: 116.023220    Start_to_Stop[5]: 116.023220     
    Start_to_Stop[1]: 39615.172000    Start_to_Stop[2]: 116.000440    Start_to_Stop[3]: 116.000440    Start_to_Stop[4]: 116.000440    Start_to_Stop[5]: 116.000440     
    Start_to_Stop[1]: 39615.440000    Start_to_Stop[2]: 116.091600    Start_to_Stop[3]: 116.091600    Start_to_Stop[4]: 116.091600    Start_to_Stop[5]: 116.091600     
    Start_to_Stop[1]: 39615.280000    Start_to_Stop[2]: 116.023220    Start_to_Stop[3]: 116.023220    Start_to_Stop[4]: 116.023220    Start_to_Stop[5]: 116.023220     
    Start_to_Stop[1]: 39615.168000    Start_to_Stop[2]: 116.046010    Start_to_Stop[3]: 116.046010    Start_to_Stop[4]: 116.046010    Start_to_Stop[5]: 116.046010     
    Start_to_Stop[1]: 39615.388000    Start_to_Stop[2]: 116.063100    Start_to_Stop[3]: 116.063100    Start_to_Stop[4]: 116.063100    Start_to_Stop[5]: 116.063100     
    Start_to_Stop[1]: 39615.392000    Start_to_Stop[2]: 116.023220    Start_to_Stop[3]: 116.023220    Start_to_Stop[4]: 116.023220    Start_to_Stop[5]: 116.023220     
    Start_to_Stop[1]: 39615.336000    Start_to_Stop[2]: 116.101250    Start_to_Stop[3]: 116.101250    Start_to_Stop[4]: 116.101250    Start_to_Stop[5]: 116.101250     
    Start_to_Stop[1]: 39615.164000    Start_to_Stop[2]: 116.080200    Start_to_Stop[3]: 116.080200    Start_to_Stop[4]: 116.080200    Start_to_Stop[5]: 116.080200     
    Start_to_Stop[1]: 39615.108000    Start_to_Stop[2]: 116.097300    Start_to_Stop[3]: 116.097300    Start_to_Stop[4]: 116.097300    Start_to_Stop[5]: 116.097300     
    Start_to_Stop[1]: 39615.216000    Start_to_Stop[2]: 116.203930    Start_to_Stop[3]: 116.203930    Start_to_Stop[4]: 116.203930    Start_to_Stop[5]: 116.203930     
    Start_to_Stop[1]: 39615.120000    Start_to_Stop[2]: 115.989060    Start_to_Stop[3]: 115.989060    Start_to_Stop[4]: 115.989060    Start_to_Stop[5]: 115.989060     
    Start_to_Stop[1]: 39615.284000    Start_to_Stop[2]: 116.021480    Start_to_Stop[3]: 116.021480    Start_to_Stop[4]: 116.021480    Start_to_Stop[5]: 116.021480     
    Start_to_Stop[1]: 39615.064000    Start_to_Stop[2]: 115.994750    Start_to_Stop[3]: 115.994750    Start_to_Stop[4]: 115.994750    Start_to_Stop[5]: 115.994750     
    Start_to_Stop[1]: 39615.336000    Start_to_Stop[2]: 116.067040    Start_to_Stop[3]: 116.067040    Start_to_Stop[4]: 116.067040    Start_to_Stop[5]: 116.067040     
    Start_to_Stop[1]: 39615.168000    Start_to_Stop[2]: 116.095540    Start_to_Stop[3]: 116.095540    Start_to_Stop[4]: 116.095540    Start_to_Stop[5]: 116.095540     
    Start_to_Stop[1]: 39614.952000    Start_to_Stop[2]: 115.907080    Start_to_Stop[3]: 115.907080    Start_to_Stop[4]: 115.907080    Start_to_Stop[5]: 115.907080     
    Start_to_Stop[1]: 39615.004000    Start_to_Stop[2]: 116.023220    Start_to_Stop[3]: 116.023220    Start_to_Stop[4]: 116.023220    Start_to_Stop[5]: 116.023220     
    Start_to_Stop[1]: 39615.280000    Start_to_Stop[2]: 116.167870    Start_to_Stop[3]: 116.167870    Start_to_Stop[4]: 116.167870    Start_to_Stop[5]: 116.167870     
    Start_to_Stop[1]: 39615.388000    Start_to_Stop[2]: 116.124040    Start_to_Stop[3]: 116.124040    Start_to_Stop[4]: 116.124040    Start_to_Stop[5]: 116.124040     
    Start_to_Stop[1]: 39615.220000    Start_to_Stop[2]: 115.996460    Start_to_Stop[3]: 115.996460    Start_to_Stop[4]: 115.996460    Start_to_Stop[5]: 115.996460     
    Start_to_Stop[1]: 39615.212000    Start_to_Stop[2]: 116.127610    Start_to_Stop[3]: 116.127610    Start_to_Stop[4]: 116.127610    Start_to_Stop[5]: 116.127610     
    Start_to_Stop[1]: 39614.996000    Start_to_Stop[2]: 116.181090    Start_to_Stop[3]: 116.181090    Start_to_Stop[4]: 116.181090    Start_to_Stop[5]: 116.181090     
    Start_to_Stop[1]: 39615.064000    Start_to_Stop[2]: 116.049950    Start_to_Stop[3]: 116.049950    Start_to_Stop[4]: 116.049950    Start_to_Stop[5]: 116.049950     
    Start_to_Stop[1]: 39615.280000    Start_to_Stop[2]: 116.017520    Start_to_Stop[3]: 116.017520    Start_to_Stop[4]: 116.017520    Start_to_Stop[5]: 116.017520     
    Start_to_Stop[1]: 39615.108000    Start_to_Stop[2]: 116.042040    Start_to_Stop[3]: 116.042040    Start_to_Stop[4]: 116.042040    Start_to_Stop[5]: 116.042040     
    Start_to_Stop[1]: 39615.004000    Start_to_Stop[2]: 115.956620    Start_to_Stop[3]: 115.956620    Start_to_Stop[4]: 115.956620    Start_to_Stop[5]: 115.956620     
    Start_to_Stop[1]: 39615.336000    Start_to_Stop[2]: 115.962290    Start_to_Stop[3]: 115.962290    Start_to_Stop[4]: 115.962290    Start_to_Stop[5]: 115.962290     
    Start_to_Stop[1]: 39615.004000    Start_to_Stop[2]: 115.985080    Start_to_Stop[3]: 115.985080    Start_to_Stop[4]: 115.985080    Start_to_Stop[5]: 115.985080     
    Start_to_Stop[1]: 39614.840000    Start_to_Stop[2]: 115.994750    Start_to_Stop[3]: 115.994750    Start_to_Stop[4]: 115.994750    Start_to_Stop[5]: 115.994750     
    Start_to_Stop[1]: 39615.220000    Start_to_Stop[2]: 116.068800    Start_to_Stop[3]: 116.068800    Start_to_Stop[4]: 116.068800    Start_to_Stop[5]: 116.068800     
    Start_to_Stop[1]: 39615.060000    Start_to_Stop[2]: 116.127950    Start_to_Stop[3]: 116.127950    Start_to_Stop[4]: 116.127950    Start_to_Stop[5]: 116.127950     
    Start_to_Stop[1]: 39615.108000    Start_to_Stop[2]: 116.114400    Start_to_Stop[3]: 116.114400    Start_to_Stop[4]: 116.114400    Start_to_Stop[5]: 116.114400     
    Start_to_Stop[1]: 39615.056000    Start_to_Stop[2]: 116.085900    Start_to_Stop[3]: 116.085900    Start_to_Stop[4]: 116.085900    Start_to_Stop[5]: 116.085900     
    Start_to_Stop[1]: 39615.112000    Start_to_Stop[2]: 116.057400    Start_to_Stop[3]: 116.057400    Start_to_Stop[4]: 116.057400    Start_to_Stop[5]: 116.057400     
    Start_to_Stop[1]: 39614.952000    Start_to_Stop[2]: 116.028920    Start_to_Stop[3]: 116.028920    Start_to_Stop[4]: 116.028920    Start_to_Stop[5]: 116.028920     
    Start_to_Stop[1]: 39615.220000    Start_to_Stop[2]: 116.089840    Start_to_Stop[3]: 116.089840    Start_to_Stop[4]: 116.089840    Start_to_Stop[5]: 116.089840     
    Start_to_Stop[1]: 39615.284000    Start_to_Stop[2]: 116.099480    Start_to_Stop[3]: 116.099480    Start_to_Stop[4]: 116.099480    Start_to_Stop[5]: 116.099480     
    Start_to_Stop[1]: 39615.000000    Start_to_Stop[2]: 116.085900    Start_to_Stop[3]: 116.085900    Start_to_Stop[4]: 116.085900    Start_to_Stop[5]: 116.085900     
    Start_to_Stop[1]: 39615.220000    Start_to_Stop[2]: 116.129740    Start_to_Stop[3]: 116.129740    Start_to_Stop[4]: 116.129740    Start_to_Stop[5]: 116.129740     
    Start_to_Stop[1]: 39614.944000    Start_to_Stop[2]: 116.091600    Start_to_Stop[3]: 116.091600    Start_to_Stop[4]: 116.091600    Start_to_Stop[5]: 116.091600     
    Start_to_Stop[1]: 39615.060000    Start_to_Stop[2]: 116.051700    Start_to_Stop[3]: 116.051700    Start_to_Stop[4]: 116.051700    Start_to_Stop[5]: 116.051700     
    Start_to_Stop[1]: 39615.112000    Start_to_Stop[2]: 116.007850    Start_to_Stop[3]: 116.007850    Start_to_Stop[4]: 116.007850    Start_to_Stop[5]: 116.007850     
    Start_to_Stop[1]: 39614.952000    Start_to_Stop[2]: 116.101250    Start_to_Stop[3]: 116.101250    Start_to_Stop[4]: 116.101250    Start_to_Stop[5]: 116.101250     
    Start_to_Stop[1]: 39615.060000    Start_to_Stop[2]: 116.127950    Start_to_Stop[3]: 116.127950    Start_to_Stop[4]: 116.127950    Start_to_Stop[5]: 116.127950     
     

  • Hi Vishy,

    Got the set-up working. Initially had problems because of physical connections between UARTs.

    Attached is the screenshot of the output.

    Thanks again for the help.

    Jomer

  • Hi Vishy,
    I have the same problem as Norman with the TDC1110_TDC7200 EVM_Board. I can only be a baud rate to 115200 process. Where can I find the uart_commn.h for the Board?
    I have a second problem pad and the TDC7200 with the combination of MSP430F5529 lanch pad. There I would like to read even the UART.
    GreetingsFrank
  • Hi Vishy,
    I have the same problem as Norman with the TDC1110_TDC7200 EVM_Board. I can only be a baud rate to 115200 process. Where can I find the uart_commn.h for the Board?
    My firmware for the MSP430F5528 brings no signals on GPIO3 and GPIO4. Can you send me the firmware as for Jomer?
    I have a second problem pad and the TDC7200 with the combination of MSP430F5529 lanch. There I would like to read even the UART.
    GreetingsFrank
  • Hello Frank,

    An updated version of the TDC1000_7200EVM GUI is going to be available on the web in the next few days. This version v1.0.9.0 includes the UART data out support explained in this thread. If you need it immediately send me an email vishy.natarajan@ti.com. 

    We have not tested this support with MSP430F5529 launch pad yet.  The backchannel UART of  launchpad corresponds to USCI_A1 module which is what we have used in the TDC1000_7200EVM.  

    Regards,

    Vishy

  • Updated "TDC1000_TDC72000EVM GUI v1.0.9.0" is on the web now:

    www.ti.com/.../tdc1000-tdc7200evm

    Release Notes for Firmware

    v1.37

    -   Support for TDC7200 TOF calculation (start2stop1, star2stop2, … start2stop5) in firmware

    -   calculated values sent out over UART USCIA1 pins: GPIO3/GPIO4 on the schematic

  • Hello, can you specify, where exactly on J6 should I connect GND? To which pin?
  • Hi,

    J6 pin 9 is ground. You can find the schematic of the EVM in the User's Guide (link below)

    www.ti.com/.../sniu021

    Thanks,
    Vishy