DAVE4 CAN Identifier change

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

cross mob
Not applicable
Hello,

i would like to know, if i can change the identifier of the MO in my program or is the identifier const after GUI setup?. The examples shows only change of data values, but not to change the identifier. DLC and Bitmask is changable too, after gui init?

Does someone has a example?
0 Likes
3 Replies
Travis
Employee
Employee
First solution authored Welcome! 500 replies posted
If you want to change the identifier of a MO, it recommended to change the register directly by writing into MOAR (Message Object n Arbitration register).
0 Likes
AngelB
Employee
Employee
Hello Shazter,

alternatively you can use the XMC_CAN_MO_SetIdentifier() API of the XMClib v2.0.0 for modifying the CAN identifier in runtime.

Best regards,
Angel
0 Likes
Not applicable
Thank you for reply. I will check out the XMCLib.
0 Likes