cancel
Showing results for 
Search instead for 
Did you mean: 

SPC582B60E1 CAN message filtering issue.

DKuma.3
Associate II

I am using dedicated Rx buffer and configured the filter to accept 3 CAN messages.

For example,

0x250 in Rx buffer 0

0x240 in Rx buffer 7

0x270 in Rx buffer 12

Total number of Rx buffer used 32.

Using MCAN Subsystem 0 MCAN 0. Shared RAM size is 3072. Standard CAN message with 500K baud rate (No CANFD).

My problem is, until few minutes (~5 min) all the above messages are received perfectly. Suddenly, all but the lowest buffer ID message (Here 0x250) is received only. Other messages are dropped.

Callback is used to copy received message to another buffer.

Anyone faced similar issue?

If you have any idea, please share your experience.

Thanks

D. Kumar

This discussion has been locked for participation. If you have a question, please start a new topic in order to ask your question
1 REPLY 1
DCARR
Associate III

Hi,

please take care that after reading a received message the message buffer is correctly unlocked by your SW clearing the corresponding bit in NDAT register. If the NDAT bit associated to a message buffer is set, then the message buffer will not be updated and you will lost incoming messages.

Best regards

Domenico