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.

RTOS/AM6548: CAN support

Part Number: AM6548
Other Parts Discussed in Thread: SYSBIOS

Tool/software: TI-RTOS

Hi,

I am using AM65XX IDK (AM6548),  in "pdk_am65xx_1_0_3" I can see some examples for MCAN in "SCL", but not able to understand how to integrate with TI RTOS(SysBios).

Can you please provide manual or steps to integarte CAN driver in CCS projects, so that I can make some example application. if possible also for Ethernet.

Thanks and Best Regards

Avinash

  • Addition : I am trying for R5F.
  • Hello,
    there is a newer version 1.0.4 of PDK which seems to have an example you need.
    It is located ../pdk_am65xx_1_0_4/packages/ti/csl/example/dcan/dcanLoopback/rtos
    It is not much but can be of use as starting point I think.
    BR
    Michail
  • Thanks Michail,

    I installed latest version of PDK (pdk_am65xx_1_0_4) and Processor SDK.(processor_sdk_rtos_am65xx_5_03_00_07).

    I'll check the dcan. I have another question

    In "processor_sdk_rtos_am65xx_5_03_00_07", there is an demo "demos\gateway-demos\can-eth-gateway\" . When I try to compile, I am getting  :

    gmake[1]: Entering directory 'c:/ti/processor_sdk_rtos_am65xx_5_03_00_07/demos/gateway-demos/can-eth-gateway/pctools'
    "c:/Program Files (x86)/CodeBlocks/MinGW"/bin/gcc -Wall -O3 -o eth_tx.exe eth_tx.c -lws2_32
    c:/Program Files (x86)/CodeBlocks/MinGW/bin/gcc: not found
    gmake[1]: *** [makefile:52: eth_tx] Error 127
    gmake[1]: Leaving directory 'c:/ti/processor_sdk_rtos_am65xx_5_03_00_07/demos/gateway-demos/can-eth-gateway/pctools'
    gmake: *** [makefile:38: pctools] Error 2

    Compilation required MinGW, few question : 

    Is it just related to this demo compilation or will be required for this version of PDK and Processor SDK.

    Is this Compiler is part of CCS, in case yes, can please you provide me the version of CCS.

    Thanks and Regards

  • Hi Avinash,
    the GCC is the widely used C/C++ compiler for Linux.
    If you're using Windows you should need MinGW to run it.
    Generally is is not a part of CCS, it is very old standalone project evolving over the years.
    Not all demos will need MinGW but those which need GCC will.
    BR
    Michail