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.

AM625: mcan_loopback_interrupt failed

Genius 13655 points
Part Number: AM625
Other Parts Discussed in Thread: TEST2

Hello Champs,

Customer failed to run the AM625 rtos demo in C:\ti\mcu_plus_sdk_am62x_08_03_00_07\examples\drivers\mcan\mcan_loopback_interrupt. He only added some printf code. 

Below are the tests he did.

1. build and run the polling mode code, this internal loopback code send 8 bytes then receive, the TX 32bit ID and data are the same to RX 32bit ID and data. The test is successful. 

2. build and run the interrupt mode code, this code is can FD internal loopback mode. send 64bytes and then receive, the TX 32bit ID and data are not the same to RX 32bit ID and data. 32bit ID FD variable rate are all 0. There is only higher 8 bytes in data. The test failed. Please see below is the log.

3. Modify the above test1 polling code to can fd mode, the phenomena is the same to test2. 

4. The can fd example in linux is correct. 


Thanks.
Rgds
Shine

  • Shine,

    thanks for the query we will look at this question , Monday is a holiday in US which can delay the response.

    Please expect response next week

    Regards

    Anshu

  • Hi Shine,

    We ran the same examples by only adding print statements in the interrupt mode using CAN FD. However, we are unable to reproduce the error and all the tests are successful. We are attaching print statements we added and the results we got after running the example for your reference. In case you are still facing this issue, can you please share the example code and full logs.

    Regards,

    Nihar Potturu