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-C2000EVM: Serial Communication with the board

Part Number: TDC1000-C2000EVM
Other Parts Discussed in Thread: TDC1000, TMS320F28035

Hello,

I am communicating with the TDC1000-C2000EVM via Serial communication where I am basically utilizing the time values to calculate fluid flow. The commands as in the host_interface.c file are working except for the Command_C2000SPI_Config_Write, which works on a specific range of Hex values.

It seems like there are certain Hex values that are not being transmitted successfully. Hex values 0x41 until 0x46, then 0x60 until 0x66 are not being written succesfully. For example, writing the value 0x45 (which is the reset value as stated in the TDC1000 datasheet www.ti.com/.../snas648b.pdf) on register address 0h is written on the Byte as 0x0E (at least that's what the serial write command reurns, and when I read the data registers via the GUI, the register also contains value 0x0E). How then could I write this value to this register?

 

  • Rufaro,

    I am unable to comment on the intended working input range of the "Command_C2000SPI_Config_Write" command of the host_interface.c file because I did not write this code. You will likely need to develop your own SPI write command to successfully update the register values correctly.

    You can refer to the dev.ti.com Resource Explorer for SPI examples of the TMS320F28035 MCU: http://dev.ti.com/tirex/explore/node?node=AE5EvIlRW3usarSqmtpC.Q__gYkahfz__LATEST

    As noted on the TDC1000-C2000EVM product page, we are recommending newer devices to displace the TDC1000:

    • For evaluation of TUSS4470, a device with SIMILAR FUNCTIONALITY but not functionally quivalent to TDC1000 for direct-drive ultrasonic systems up to 1 MHz, please use the BOOST-TUSS4470.
    • For evaluation of TUSS4440, a devices with SIMILAR FUNCTIONALITY but not functionally quivalent to TDC1000 for transformer-drive ultrasonic systems up to 400 kHz, please use the BOOST-TUSS4440.

    Depending on your ultrasonic application use-case, we have specific part recommendations as discussed on the Ultrasonic E2E FAQ: https://e2e.ti.com/support/sensors/f/1023/t/748143