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.

TDA2E: Data of tidl link is not updated after DCan initialization

Part Number: TDA2E

Hi,

Due to the needs of product development, I use tda2x chip to realize the research and development of ADAS related products.

I need to embed the deep learning network (tidl) and send the results of network detection to other devices through DCan.

However, after I initialize DCan, tidl does not work without connecting any can devices.

When I access can devices (for example, can test), as long as the can connection line is interrupted, tidl will frequently encounter data update jamming.

  • Hi Yuling,

    Can you please explain your system in detail?

    W/o using DCAN, does TIDL work?

    What do you mean by 'tidl does not work without connecting any can devices'?  Does this mean that there should be a CAN transfer prior to TIDL?

    Thanks & Regards,
    Vivek Dhande.

    Texas Instruments (India) Pvt Ltd

  •  Hi Vivek Dhande,

    1)Open files in directory cfg.mk D:\PROCESSOR_SDK_VISION_03_04_00_00\vision_sdk\apps\configs\tda2xx_evm_bios_all

    2)# Enable below macro to enable DCAN integration into Vision SDK.

              DCAN_INCLUDE=yes

    3)Once the DCan is initialized, the chain main program is interrupted (shown as the freeze frame of the displayed screen)。

    connected to the can device (for example, can test), and the program runs normally (shown as the continuous update of the displayed screen).

    If the connection with the can device is disconnected, the chain main program is interrupted again.

    But the can communication is normal, and it can send and receive data

    Thank you  for your reply!

    Mary.

  • Hi Yuling,

    Can you please confirm my understanding:

    1. You have changed the existing DCAN use case to suit your needs, right?
    2. When the main program is interrupted after DCAN initialization, have you connected TDA2E to an external CAN device? If not, then, you might have some busy-wait loop for CAN communication to occur before it can run the main program. Can you please check this?
    3. When you disconnected the CAN device, the main program stops. Is CAN communication normal while the external CAN device is disconnected? Can you please also check this?

    Thanks & Regards,

    Vivek Dhande.

    Texas Instruments (India) Pvt Ltd

  • Hi Yuling,

    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).

    Thanks & Regards,

    Vivek Dhande.

    Texas Instruments (India) Pvt Ltd