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.

TMS320F28069 controlSTICK serial peripheral interface and gui interface to pc

Other Parts Discussed in Thread: CONTROLSUITE

Hello,

          I have background of motor control with tms320f2812eZdsp. 

 

   1.              I want to use serial peripheral interface to connect to DAC AD5662. this is a single way communication.

Can some one help me please with a sample serial peripheral interface code for the f28069 Control Stick?

                I think i need to use SPISIMOA (24) , SPICLKA ( 29 )  and a pin to sync the communication.

-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

2.       I want to develop a GUI in windows, to communicate the position ref to the control stick and read the position from the control stick. A sample development idea or code will be really helpful.

 Thanks and Best Regards,

Shantanu.

 

 

 

 

 

 

  • Shantanu Nakhate said:

    I want to use serial peripheral interface to connect to DAC AD5662. this is a single way communication.

    Can some one help me please with a sample serial peripheral interface code for the f28069 Control Stick?

    I think i need to use SPISIMOA (24) , SPICLKA ( 29 )  and a pin to sync the communication.

    I would suggest that you download controlSUITE as it provides some examples supporting the F2806x class of device in the device support portion of the software.  There is an example that illustrates a particular configuration of the SPI interface in digital loopback mode.  You would need to reconfigure this for your specific needs, but it would be decent starting point.

  • i dint find any example related to SPI for the control Stick f28069 in the control suite. Can you please provide me the specific link to the same.

    Thanks

    Shantanu.

  • I was thinking of the examples that are a part of the device support software for the F2806x in controlSUITE.  The specific example can be found at the following path:

    <CONTROLSUITE_INSTALL_DIR>\device_support\f2806x\v110\F2806x_examples\spi_loopback