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.

AWR1443BOOST: Loopback test

Part Number: AWR1443BOOST

Hello team,

what is difference between internal loopback test and external loopback test given in CAN driver test section under C:\ti\mmwave_sdk_02_01_00_04\packages\ti\drivers\can\test\common\main.c?

Both the tests calling same function dcanLoopbackTest() under which I cannot find any difference for two different loopback tests. As software part remains same do I need to do any hardware modification for external loopback test?

Thank you,
Rajeshwari

  • Hi Rajeshwari,

    In internal loopback mode , the CAN core uses internal feedback from Tx output to Rx input. Transmitted messages are treated as received messages, and can be stored into message objects if they pass acceptance filtering.

    The external loopback mode is similar to the loopback mode; however, it includes the signal path from CAN core to Tx pin, the Tx pin itself, and the signal path from Tx pin back to CAN core. When external loopback mode is selected, the input of the CAN core is connected to the input buffer of the Tx pin. With this configuration, the Tx pin IO circuit can be tested

    Thought the same function is called the setting for the registers are different in both the cases.

    BR,

    Raghu

  • Hi,

    Thank you very much for clarification.

    Yes I do observed that depending upon selection of test, corresponding bit in TEST register sets. But I am curious when these registers are getting updated in code??

    One more doubt is, if external loopback test is successful we can say that CAN core is doing fine job right?

    Regards,
    Rajeshwari

  • Rajeshwari,

    For checking which bit is set in the register, please single step through the code. 

    The working of the external loopback will ensure CAN core is operational.But to fully validate your CAN communication  you will need to do external RX/TX.

    BR,

    Raghu