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.
Tool/software:
Hi,
Wanted to ask if the MCAN module defines priority on CAN extended messages upon CAN standard messages.
trying to send 4 messages with the following ID's and Tx order:
1. 0x587
2. 0x187
3. 0x1287 (CAN EXTENDED)
4. 0x1187 (CAN EXTENDED)
I am using 4 different dedicated Tx buffers, the Tx request flag is set at the same time for all the messages.
But in the receive side of the BUS i am getting the messages in the order as below:
The order that i expect to be sent is:
1. 0x187
2. 0x587
3. 0x1187 (CAN EXTENDED)
4. 0x1287 (CAN EXTENDED)
I tried to send the same messages with the same COB ID and order with queue method instead of the dedicated buffers but getting the same behavior .
Thanks
Maxim Vengerov
Hey Maxim,
I am looking into this now, I will attempt to replicate the issue on my end and provide initial feedback before the end of the week.
Best Regards,
Zackary Fleenor
Hey Maxim,
I apologize for the delay here. My bandwidth has been maxed out this week and I did not get the opportunity to replicate your issue yet. I will get this started over the weekend and provide feedback by Wednesday of next week. Thanks again for your patience.
Best Regards,
Zackary Fleenor
Hey Maxim,
Can you please send your example code for reference?
Best Regards,
Zackary Fleenor
Thank you for providing this information.
I did notice the following note in the SDK documentation.
Can you try changing the messageID for each value to be sent and see if the issue persists? If the same messageID is required, then the application must take special care in ensuring the highest priority message uses the lowest available buffer instance.
Best Regards,
Zackary Fleenor