Question about CAN002

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
Not applicable
Hey there,

I´m using CAN002 App and therefore I have two questions:

First:
I want to know when i get a receiving CAN-message to start the Task for the Evaluation of the data. The App stores the last CAN-Messages with the chosen identifier in the associated LMO, if I get that right. In the example Projects they only read the Messages at a random time after receipt, but I need to evaluate the message right after receipt. So should I launch the Task with the receipt Interrupt?

Second:
Is it possible to receive Messages with variable identifier? The Messages in my case have variable identifiers. But I only can choose one identifier per LMO. Is it possible to get Messages with variable identifier with one LMO?

Thanks for help
Stefan
0 Likes
2 Replies
Not applicable
Hi Stefan,

1) The answer is "Yes"
2) The answer is "Yes", you can configure the Acceptance Mask field in "Message Configuration" tab to receive Messages with variable identifier.

BR,
Zain
0 Likes
Not applicable
Hi Stefan,

The CAN002 App is using the NVIC TxRx node interrupt for the OS Handling. Hence, you may need to modify the generated code in CAN002.c…

Best regards,
Sophia
0 Likes