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.

  • TI Thinks Resolved

TDA2EVM5777: How to Delay SPI Slave to Master Response in Vision SDK

Part Number: TDA2EVM5777

Hi ,

Please guide me how to delay slave to master response in Vision SDK by one clock ?

I am missing MSB in MISO and wave form shows that when clock starts first bit is already passed so it starts reading from second MSB.

Thanks,

  • Hi,

    Have you configured the TDA2 in master or slave mode?

    In case of slave mode, the TDA2 device does not control the clock. It only responds to the clock sent by the external master.

    Regards,
    Prasad

  • Rajesh,

    Are both master and slave operating in the same SPI mode 0/1/2/3?
  • In reply to Stanislav Stilyanov:

    Hi,

    Sorry for the delay in reply.

    TDA2x is configured in slave mode and both are using SPI mode 3.

    I have attached a screen shot for the slave to master communication for data 0111 0000 and the problem is our MSB gets lost because delay in clock signal and we are receiving 1110 0000 on MCU side.



    We are using SPI mode 3 for this communication and using GIO_issue and GIO_reclaim API's given by Vision SDK.

    Could you please guide us here how we can sync clock signal so that we will not loose first bit (MSB) while doing communication from slave to MCU.

    MCU to slave no issue.

    Thanks, 

  • In reply to Rajesh Rathod:

    Hi Rajesh,
    Can you post or send by email the part of schematic diagram related to SPI?

    Stan
  • In reply to Stanislav Stilyanov:

    Hi,
    Please check your email for the SPI related schematic diagram.
    Thanks
  • In reply to Rajesh Rathod:

    Hi Rajesh,

    did you resolved your issue? If you have further question please write here or send mail to Stan.

    Regards,
    Yordan

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.