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: Not able to comunicate using SPI

Part Number: TDC1000
Other Parts Discussed in Thread: CC2538, , TDC7200

Hi, 

I am trying to configure SPI between MCU and 2 components.

MCU: CC2538

Component1: TDC1000

Component2: TDC7200

I am not able to make any read or write instuction

I have attached a plot of my signlas, while trying to read a register

My MCU is operating with 32MHZ external oscilator

Both the TDC components have a clock of 8MHz

I am not able to debug the problem

Configuring MISO and MOSI as GPIO; I am able to toggle them. But with SPI, they don't move

Thank you

  • Hello Ali,

    Thank you for your question,

    The TDC1000 and the TDC7200 use a similar operation for SPI communication. 

    8MHz is suitable for the clk frequency. 

    Below is an example read command issued to the TDC7200. This command represents a register read at address 10h, with a 24 bit response on the MISO line. 

    From your scope-shot, it looks like the amplitude of the MOSI line is relatively low compared to what I would expect. Are you using 3.3V logic to drive the MOSI pin?

    Finally, try to issue a register read command similar to my waveform on the TDC7200 register 01h. This register should have a default value of 40h upon reading the register. 

    Please let me know if you have any questions,

    Regards,

    Jacob.