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/TDA2EXEVM: Enabling CAN peripherals from SYSBIOS in Jacinto6

Part Number: TDA2EXEVM
Other Parts Discussed in Thread: SYSBIOS

Tool/software: TI-RTOS

HI,

I want to work with CANBUS peripherals(DCAN) from M4 core of Jacinto 6 EVK. And I am Using VSDK for writing an usecase to read CANBUS data from OBDII cable . I have worked with LINUX part by changing dts file and it is working fine. But the requirement is to get the CANdata from M4 sysbios. Can anyone help me in this

Thanks and regards

Bhagyam

  • Hi Bhagyam,

    Which Vision SDK version are you using. You can refer to DCAN examples provided in drivers folder of Vision SDK BIOS.

    Regards,
    Rishabh
  • Hi Rishabh,
    Thanks for the help.
    I am using PROCESSOR_SDK_VISION_03_02_00_00 .I want to access DCAN1 read api from Links_fw. I found the CAN driver in the path <PATH>/PROCESSOR_SDK_VISION_03_02_00_00/vision_sdk/apps/src/rtos/modules/dcan". Can i directly make use of these drivers ? I want to know how the hardware DCAN1 pins are enabled from M4 SYSBIOS. I am using "MAKECONFIG?=tda2xx_evm_bios_all" in rules.make.


    Thanks
    bhagyam
  • Hi Bhagyam,

    I have forwarded your query to DCAN expert.

    Regards,
    Rishabh
  • Hi Bhagyam,

    If you want to include this example for TDA2xx(J6), you can change the value of 'DCAN_INCLUDE' macro from 'no' to 'yes' in respective 'cfg.mk'(available in "<PATH>\PROCESSOR_SDK_VISION_03_02_00_00\vision_sdk\apps\configs\tda2xx_evm_bios_all"). It will compile but it is not not validated on J6 EVM.
    This example does the pin configuration for DCAN and then sends out message to another CAN node(PC CAN Emulation tool) and waits for the ACK message. This process is repeated periodically. This example runs on IPU1_0(M4).

    Best Regards,
    Vivek Dhande
  • Hi Bhagyam,

    I haven’t heard back from you, I’m assuming you were able to resolve your issue. If not, just post a reply below (or create a new thread if the thread has locked due to time-out)

    Best Regards,
    Vivek Dhande