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.

SPI Example

Other Parts Discussed in Thread: TMS320C6670

Dears,

I'm working on the TMS320C6670 Evaluation Module DSP which I want to interface with another kit via SPI.

I have read the document of the SPI and I was searching a lot about examples for it but I didn't find any thing.

Do you provide an examples for SPI ?

Thanks in advance.

  • Hi Maha,

    The SPI interface of TMS320C6670  EVM has been used for booting. There are SPI boot example available. Please refer them below link.

    http://e2e.ti.com/support/dsp/c6000_multi-core_dsps/f/639/t/328608.aspx

    Thanks.

  • Hi Rajasekaran K ,

    Thanks for your reply.

    So I Can't use the SPI for communication with an external device, Can I ?

    I used the functions which is defined here

     C:\Program Files (x86)\Texas Instruments\pdk_C6670_1_0_0_17\packages\ti\platform\evmc6670l\platform_lib\src\evmc66x_spi.c

    for communication with an external device  is this right ?or I must write a new driver .

    Thank you so much

    Sincerely,

    Maha

  • Hi Maha,

    You can use SPI with external device. 

    Please refer the evmc66x_spi.c file description before using it. You may need to modify this file for other external devices.

    Thanks.

  • Hi Rajasekaran K,

     

    Thank you very much for your help.

     

    Sincerely,

    Maha