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.

TDC7200EVM: Trying to set up connection between TDC7200EVM and MCU

Part Number: TDC7200EVM
Other Parts Discussed in Thread: TDC7200

Hi everyone,

I am trying to set up connection between TDC7200EVM and a small MCU called Pocket Beagle Bone.

I already connect the MISO, MOSI, CLK, CS, 3.3v Power Supply and Ground. Do I still need to connect Enable port and Init port? And which port on the MCU I should choose?

Right now, there is no response when I try to write data into the configure register. Here is the code I am using (python):

from spidev import SpiDev

con = SpiDev(1,0)   #open the bus. The bus port is correct

con.mode = 1          #set mode. If it is not mode 1, please tell me the right answer.

con.max_speed_hz = 2000000      #set the max speed

con.xfer2([0x40 | (0x0F & 0x00)] + [0x10])   #try to write data into config register 1.

Thanks a lot,

  • Kevin,

    The TDC7200EVM has an MSP430 MCU in it for operation, in case you would like to bypass this MCU and use your own MCU. We recommend that you check the connections from this MSP430 on the board and connect the same to your own MCU.
  • Hi,

    I use an oscilloscope to read signals. I noticed when TDC7200 connected to the MSP430 board, the INIT, ENABLE and CRYSTAL ENABLE is high. The DIN, DOUT, Chipselect and SCLK port will have clear output signals.

    But when I use the same way to set up connection between TDC7200 and my MCU board. Everything looks the same except the DOUT signal is very low. I couldn't get any result from TDC.

    Do I miss something?

    Thanks,

    Kevin Fan

  • Kevin,

    This is very uncommon, when the device works in one MCU and not on the other. Please check if there is any change in way the device is connected in the MSP430 MCU vs the Pocket Beagle Bone. Check in a oscilloscope if there is a clear START & STOP signals while you connect with the PBB MCU.