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.

CCS/AM3358: DCAN CSL example

Part Number: AM3358

Tool/software: Code Composer Studio

Is there a DCAN example with CSL available for the AM335x? I'm still new to CCS and TI-RTOS. To start with TI AM3x, AM4x, AM5x and AM6x in combination with TI-RTOS, it would be great to have working examples based on this platform for all available peripherals. To speed up development, mixing example projects should be easy. I've searched the forum for DCAN, but it is very hard to get it to work. Of coarse I can run the example loopback project, but integrating DCAN in a basic RTOS application seems almost impossible. I found an example of a CSL DCAN project, but it's only meant for AM5x. I would like to focus on my application instead of figuring out how to get basic drivers to work in my project. Is there any documentation available on adding drivers to your project and how to use them?

  • Hi,
    Your query has been assigned to a TI engineer. Please note that response may be delayed due to Christmas and New Year holidays.
  • Hi John,

    There are two DCAN RTOS examples in C:\ti_am3_610\pdk_am335x_1_0_16\packages\ti\starterware\examples\dcan.

    The binary files are at

    C:\ti_am3_610\pdk_am335x_1_0_16\packages\ti\starterware\binary\dcan_app_frame_tx_rx and

    C:\ti_am3_610\pdk_am335x_1_0_16\packages\ti\starterware\binary\dcan_app_loopback

    Ming

  • Hello Ming,

    The example is running, as I mentioned before, but it is based on Starterware. As far as I understand, this is "old" technology. It's just not compatible with a new TI-RTOS project with CSL. So if I want to add DCAN support to a new project, the example is not very useful. The example that works with TI-RTOS is only available for the am5x. So my question is basically how to add DCAN support to a new TI-RTOS project (with CSL) for the AM335x.

    It is basically the same question as "RTOS/AM3358: DCAN example project issue". That topic was closed, without a publicly available solution. It is very disappointing that this basic functionality is not available.

    Kind regards,

    John

  • Hi John,

    AM3/AM4 DCAN support is based on the starterware. Yes it is old and not the same architecture as the AM5 and later devices, the function wise, it is the same as the AM5. You can write your own application using the DCAN support in the starterware. There is no plan to re-engineer the AM3/4 DCAN driver into the PDK.

    Ming