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.

IWRL6432BOOST: MCAN external read write demo passes without sending/receiving anything

Part Number: IWRL6432BOOST

Hi,

I'm running the out of box MCAN external read write demo in CCS with MMWAVE-L SDK 5.3.0.2.

The demo was initially hanging pending gMcanTxDoneSem. Eventually, I was able to see the following message in the console immediately without receiving or sending any messages:

[MCAN] External read - write test, application started ...
After transmitting the messages, it will wait to recieve ten messages for test to pass ...
All tests have passed!!

I've also tried the loopback tests which work fine.

Thanks

  • Hey John,

    Thank you for letting us know about your issue. First of all, how are you verifying that you have not received or sent any messages? Are you using PCAN-View to check if messages are being sent and received or are you checking the CAN signals using a logic analyzer? If you are using PCAN-View and are not seeing any data or getting error messages, please reply with a screenshot of your output. Since you are receiving the final success test message, this would imply that CAN messages are being sent and received by the EVM.

    However, assuming there is no data being sent or received, I would recommend debugging the device and placing a breakpoint at the start of the App_mcanIntrISR function to verify whether the MCAN ISR is being called. This would normally assert the semaphores for sending and receiving CAN data such as gMcanTxDoneSem. I'm also experiencing a similar issue on my end and will look into why the ISR is not being called.

    Regards,

    Kristien

  • Hi, Kristien,

    Do you find out the solution? Or may you recommend any verified available MCAN external read and write example?

    Regards,

    Nelson

  • Hey Nelson,

    If you believe that you are experiencing the same exact issue as John, I would recommend following the debugging steps outlined above if you haven't already done so. If you have and are not receiving any output or getting an error message, I would recommend replying with a screenshot of your output and other notes about the behavior of the application or signals. If it seems like the tests are completing, this could be an issue with the physical interface for the CAN or the MCAN ISR is not being called properly. You can verify the integrity of the physical interface with a logic analyzer or CANalyzer and the ISR can be checked by placing breakpoints within the ISR. 

    If you are getting a completely different issue, I would recommend replying to your original thread, and I will follow-up there instead.

    Regards,

    Kristien