Other Parts Discussed in Thread: TDC1000
Hi,
I am using TDC7200 with STM32F4. I am able to read and write into the TDC7200 registers (CONFIG1 and CONFIG2) over SPI without any problem. The issue is that after I write a 0x01 or 0x03 into CONFIG1 register, I don't get any TRIGGER signal. I am able to read back the same CONFIG1 register and see that the register value has changed to whatever I have configured. The values of other registers are kept default and only CONFIG1 register is modified. I have checked the CLOCK - its 8MHz. SPI CLOCK - SCLK is 8MHz as well. There is a LOW to HIGH on ENABLE Pin at the beginning as well.
For my purpose, I am not using TDC1000. Both TRIGGER and INTB of TDC7200 are connected to MCU (STM32F4) as interrupts. Upon receiving TRIGGER interrupt, I am sending START followed by STOP signals to the TDC7200 to get INTB interrupt and then proceed for calculations of TOF.
What could be the problem ? Why am I not able to get TRIGGER interrupt from TDC7200 ? Is there something that I have missed ? Can someone help ?
Thanks in advance.
-Ananth