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: CAN visualizer is not able to display the detect points.

Part Number: AWR1642BOOST
Other Parts Discussed in Thread: AWR1642

Hi,

I am trying running "lab0005_object_data_over_can" in AWR1642BOOST board.

Followed all the instruction present in the document and configured the CAN visualizer with the respective CANFD bit rate and press the initialize button.

CAN visualize has updated for few seconds and automatically stops updating very quickly.

Additional Information: I have taken prebuilt binary from an automotive toolbox version 3.2.0.

Thanks and Regards,

Vijaya Krishna.

  • Hi,

    Have you configured the SPI/CAN switch on the boost EVM?

    Can you please check with a scope that you see data on the CAN lines?

    Thank you

    Cesar

  • Hi Cesar,

    Thanks for the reply,

    We are using AWR1642Boost EVM of "Rev A".

    In "Rev A" SPI/CAN switch is not present.

    and probed the CAN lines and can able to see the data for a few seconds and stops updating(below Image) immediately.

    Best Regards,

    Vijaya Krishna. 

  • Vijay,

    If you are using Revision A of the AWR1642 board, this will involve make physical changes to the board to enable the CAN lines being brought out to the CAN connector. Did you make any changes to your AWR1642BOOST EVM?

    Regards,
    Kyle

  • Hi Kyle,

    Thanks for the reply.
    Yes, we have made some changes. Modifications are listed below:
    1. R6, R4 is unmounted.
    2. R11, R12 is mounted with ohms.
     
    I ran the application in debug mode by adding some debug prints.
    it works normally for a few seconds, then starts continuously throwing errors with error code:"-3502".

    and 
    I want to share some of my observation while debugging the issue:
    Case 1. When we run the ODOC demo with TI's CAN visualizer application.
                 It will run for a few seconds and stop sending the data.
     
    Case 2. When we run the ODOC demo with the PCAN-View application(listen mode), it works fine without any issue. 
                 and able to see continued data.
               
    Case 3. When we  run the PCAN-View application(Default Mode),
                 it will run for a few seconds and stop sending the data. 
    From the above observation, 1st and 3rd Cases are having the same behavior of output.
     
    Our Quarry : 
    How to configure the  "PCAN-USB FD(CAN adapter)" in Listen Mode by using TI's CAN Visualizer?

    Regards,
    Vijaya Krishna.
  • Vijava,

    Error code -3502 is defined in the CANFD driver header file:

    /**
     * @brief   Error Code: Operation cannot be implemented because a previous
     * operation is still not complete.
     */
    #define CANFD_EINUSE                    (MMWAVE_ERRNO_CANFD_BASE-2)
    This error code is raised when a previous transmit operation has not been completed yet and the application is attempting to send another message.
    The visualizer is provided as a compiled executable. The source code is not provided.
    Can you also provide a picture of your physical EVM? This demo is designed to work only with ES 2.0 devices. In the case where your EVM may have an ES 1.0 device, this application will not run as intended. An image of your EVM will help rule out this scenario.
    Regards,
    Kyle
  • Thanks for the update.
    I am using EVM Board "Rev A" and Chip version ES2.0 and EVM pictures are below.
    and i am trying to run "lab0005_object_data_over_can" on AWR1642.
    Initially, I have taken prebuilt binary from an automotive toolbox version 3.2.0 and

    Followed all the instruction present in the document and configured the CAN visualizer and initialized.

    CAN visualize has updated for few seconds and automatically stops updating very quickly.

    while debugging:
    I have configured the demo to CAN mode in the "mss_main.c" file and tested it with TI's CAN visualizer application and is working as excepted.
    and I used for same demo code and configured it as CANFD mode (no other changes )and It will run for a few seconds and stop updating the data.
    Regards,
    Vijaya Krishna.
  • Vijaya,

    Thank you for providing this update. Let me review this information and I will get back to you.

    Regards,
    Kyle