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.

AWR1642BOOST: AWR1642 BOOST CAN

Part Number: AWR1642BOOST
Other Parts Discussed in Thread: AWR1642, , UNIFLASH

Hi,

 I have been stuck with this issue many times. I have tried flashing the mmWave AWR1642 boost evaluation module with object data over can   program. I was able to flash it successfully. But when i try to connect it with the GUI using the PCAN usb FD module of peak systems. Some data will come and it stops and also no plots is shown as well. I tried reflashing so many time sand issue still persist. Please help me resolve the issue.

BR

Sreenath

  • Hello Sreenath,

    Make sure that you have followed the instructions in the document for any possible hardware change (CANBUS circuit).

    Use CAN usb dongle (link provided in the doc: https://www.peak-system.com/PCAN-USB-FD.365.0.html?&L=1)

    And have checked this EVM with CAN test application provided in mmwave SDK. this is just to confirm if hardware interface is fine.

    C:\ti\mmwave_sdk_03_05_00_01\packages\ti\drivers\canfd\test

    Regards,

    Jitendra

  • Hi,

    Thanks for the replay

    Are u referring to the Object data over CAN document. I have referred it and followed the same.

    Do we have to make any hardware change in the EVM to make Object data over CAN work properly?

    We are using the PCAN usbfd by peak systems the one in the link that you forwarded.

    also how can  i check the EVM with CAN test application in the mmwave SDK?

    what is the procedure?

    BR

    Sreenath

  • Hello Sreenath,

    SDK CAN test application provides an option to test external CAN interface where it rx/wr data 

    Option:4


    if ((testSelection != DCAN_APP_TEST_EXTERNAL_DATA) && (gRxPkts < DCAN_APP_TEST_MESSAGE_COUNT))
    {
    /* Reset the counter: */
    Test_benchmarkStart(0);
    }
    retVal = CAN_getData (handle, &appDcanRxData, &errCode);

    And on the PC you need to set the PCAN with the same setting as device application.

    Regards,

    Jitendra

  • Hi,

      I still didn't get way to test the CAN interface with the above mentioned .

    I found this t on the mmWave SDK but did't quite understood how to mak  use of it.

    BR

    Sreenath

  • Hello Sreenath,

    You need to load debug image of this test application via CCS to MSS core, (where ccsdebug.bin is flashed before).

    Now after loading you need to put breakpoint at "while (testSelection == 0);" line of main.c file and after hitting the breakpoint manually set testSelection variable to required value to execute specific type of test.

    Regards,

    Jitendra

  • Hi,

    1) Is the PCAN you are referring to the GUI application found in object data over can folder?

    2) What are the settings to be set at the application end?

    3)  We did put a breakpoint at  " System_printf("Debug: External transmit testing\n");" but it didn't hit the breakpoint. why so?

    BR

    Sreenath

  • Hello Sreenath,

    1) For test application you need to use PCAN-view which comes along with PEAK driver installation.

    2) I just saw that test application does the loopback test (internal and external loopback test), so for that you can skip PEAK dongle connection.

    3) Did you set testSelection to required value? if yes, then do the step debugging in the CCS to find its flow.

    Regards,

    Jitendra

  • Hi,

    I have used the PCAN view but what data can we obtain from the PCAN view software from running this test application?

    where do we set the test selection value?

    Br

    Sreenath

  • Hello Sreenath,

    It sends txData data which is fixed byte sequence set in the test application.

    Setting for PCAN is provided in the comment of mcanTransmitTest function.

    I have already mentioned this in my last reply that you need to halt CCS and set that value manually. And in other case you can forcefully set that value in the source code itself and recompile this test application.

    Make sure that you use CANFD test application, as CAN PHY on AWR1642BOOST is for CANFD.

    On your original issue- 

    Make sure that you have connected High, low and ground pins from AWR1642BOOST to PEAK Dongles over wire.as shown in getting-started-guide*.pdf

    Use only MMWAVECANVISUALIZER.exe from lab0005_object_data_over_can\odoc-host\gui\gui_exe directory to visualize the object data from the device.

    And install the correct PEAK PCAN driver beforehand.

    It should work without any issue as I have tried same lab at my end with PEAK dongle to be working.

    Regards,

    Jitendra

  • Hi,

     I tried to do the can fd test application and checked it with the PCANview software i received the following error. The pcan dongle led began blinking red.

    I aslo tried the object data over can program by flashings it using uniflash. Connected it with your GUI. And i rxd data afterinitialize. Then again it stopped.

    I have ben\en seeing this issue over and over again.

    Please help me solve this issue

    BR

    Sreenath

     

  • Hi,

    That is very unlikely for this demo not working.

    • Could you try on different EVM (if you have) same application?
    • It may be due to PEAK dongle or PCAN PC driver, so may be try on different PC or with different PEAK dongle.
    • Make sure that you have connected Low, High and Ground lines from AWR EVM to PEAK dongle over wire.

    Regards,

    Jitendra