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,