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.

Example Code for SPI communication with F28335

Other Parts Discussed in Thread: CONTROLSUITE

Hello,

 

 I am trying to transfer data between two F28335 devices via SPI.   I am new to SPI.

Does anyone know of example code/tech reference that may help.

 

Thanks. 

 

Amit.

 

  • Hello,

     

    Chris,  The ControlSuite is certainly a helpful resource.

     However, I am still not able to find a good example code for SPI. I am able to understand and execute the examples supplied by TI: Example_2833xSpi_FFDLB_int.c

    This just uses loop back to send and read back the sent data.

    What I am looking for is a higher level example code for a specific application not just to test the DSP's SPI port. Preferably I would like to see an application with duplex communication and data transfer. I think  I am looking for what the TI documentation on the SPI calls "application software".

    Can someone suggest a reference to get started on this?

    Thanks!

    Amit.

     

     

  • Amit,

    In controlSUITE, go to Training & Support, C2000 Teaching Materials.

    Download the material and look at Chapter 10.