Part Number: TMS570LS1227
Other Parts Discussed in Thread: HALCOGEN
Hi,
I’m working on the CAN communication of TMS570LS1227.
As per the datasheet, MsgVal bit of the Arbitration register is need to be reset to not valid before making changes in the message objects.
Below is the snap of the same.


The halcogen generated canInit() function sets all the message objects to valid.
Now, I’m using the halcogen generated canUpdateID() API to update the IDs.
But it seems like canUpdateID API doesn’t set the MsgVal bit to not valid, it is keeping the previous state of the 31st bit of Arbitration register i.e. valid (set by halcogen in canInit).
So do I need to set the MsgVal bit to not valid for respective message box every time before using the canUpdateID API?