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.

Compiler/TDA2EG: XCAM usecase

Part Number: TDA2EG

Tool/software: TI C/C++ Compiler

I am using tda2xx evm board .i try to execute DCAN from modules coding ,but xcam usecase   not show any option  in the serial window.

1)can i get data from single usecase using DCAN protocol

2) can i get data from usecase using DCAN

  • Hi kalaiventhan,

    I have forwarded your question to a VisionSDK expert.

    Regards,
    Yordan
  • HI,


    please reply my query


    Regards
    kalai
  • HI,


    i didnt get any reply .so reply my query as son as possible
  • HI,

    please answer my query,i am using tda2xx can i get the data from DCAN ,when i am using single camera usecase,and how to get the data and execute that .i need answer quickly.
  • Hi Kalaiventhan,

    The starterware which is in VisionSDK components provides a demo application for CAN. Please refer ti_components\drivers\starterware_0x_0x_00_xx\examples\dcc_app

    There is no usecase which demonstrate reception & transmission of CAN messages in VisionSDK. Having said that, it's fairly simple to implement one. You could refer the I2C as an example and implement similar API's.

    Regards, Sujith

  • Minor correction on path for CAN app, please refer ti_components\drivers\starterware_0x_0x_00_xx\examples\dcan
  • HI sujith,


    thanks sujith.

    1)how can i use VISION_SDK_02_12_00_00\vision_sdk\examples\tda2xx\src\modules\dcan i need to execute this coding.

    2) in the ti_components\drivers\starterware_0x_0x_00_xx\examples\dcan how to receive external data from the other device,i was trying to send the data into the TI BOARD using busmaster it shows some error message. so where we have to change the code for receiving data

    please give the suggestion as soon as possible

    regards
    kalai
  • HI,


    please reply my query

    thanks
    kalai
  • HI sujith ,

    1)how can i use VISION_SDK_02_12_00_00\vision_sdk\examples\tda2xx\src\modules\dcan i need to execute this coding.

    2) in the ti_components\drivers\starterware_0x_0x_00_xx\examples\dcan how to receive external data from the other device,i was trying to send the data into the TI BOARD using busmaster it shows some error message. so where we have to change the code for receiving data

    please give the suggestion as soon as possible

    regards
    kalai

  • Hi Kalai,

    This demo code is no longer supported. You might have to debug and make this module functional.

    The function System_dcanInitCfgStruct () defines the basic dcan configuration, probably, you should look at this and attempt to bring up CAN transmission first.

    Regards,

    Sujith

  • HI sujith,

    thanks,i did DCAN some times its working TX/RX,but sometime not working.what kind of change we have to do?

    can i run this coding from the arm core?

    we need to get some data from TI board via CAN module?

    please reply as soon as possible

    thanks 

    kalaiventhan.v

  • HI sujith

    i was check that coding its working but i need to use this function(application) into the other camera usecase like lane detection, so please suggest to me.

    please reply its important to me

    regards
    kalai
  • Hi Kalai,

    The demo application transmit CAN message periodically and receives the same.
    You might want to update this, instead of periodically transmitting CAN message, transmit only when you have to. Please refer \vision_sdk\examples\tda2xx\src\modules\dcan\utils_dcan.c and function Utils_dcanPrdCalloutFcn (), Utils_dcanTxTsk ()

    I would suggest to add a option in menu to transmit know message on press of key, say "t". i.e. When you press "t" on console call function Utils_dcanPrdCalloutFcn (), ensure to disable the periodic call back in function Utils_dcanCreatePrdObj ().

    Try and understand how the messages are constructed, modify the same to suite your needs.

    Regards,
    Sujith