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.

CAN BUS example source code

Hi,

Is any source code available for 28x controller in Ti web to speed up the design?

Thanks,

ms

 

  • ms/sm,

    Have you downloaded the C/C++ Header Files for your particular series of 28x?

    If so, there is an eCAN header & initialization C file, and then at least 2 example projects using the CAN.

    For example, once you install the F2833x Header Files you can find the following

    C:\tidcs\c28\DSP2833x\v103\DSP2833x_common\source\DSP2833x_ECan.c

    C:\tidcs\c28\DSP2833x\v103\DSP2833x_examples\ecan_a_to_b_xmit

    C:\tidcs\c28\DSP2833x\v103\DSP2833x_examples\ecan_back2back

    If you need a middleware stack for CAN we recommend Port, Vector, or Simma Software http://www.simmasoftware.com/products.html for full drivers.

     

  • This application note may also be useful.  It was written for the 281x but most of the material will apply to other 28x devices

    Programming Examples for the TMS320F281x eCAN

    http://www.ti.com/litv/pdf/spra876a

    Associated code (.zip)

    http://www.ti.com/litv/zip/spra876a