Part Number: TMS570LC4357
I've noticed at runtime, I can update the ID for RECEIVE object, WITHOUT manipulating MsgVal. This seems contrary to whats listed in the manual:
27.7.6 Reconfiguration of Message Objects for the Reception of Frames
A message object with Dir = ‘0’ is configured for the reception of data frames, with Dir = ‘1’ AND Umask =
‘1’ AND RmtEn = ‘0’ it is configured for the reception of remote frames.
It is necessary to reset MsgVal to not valid before changing any of the following configuration and control
bits: ID[28:0], Xtd, Dir, DLC[3:0], RxIE, TxIE, RmtEn, EoB, Umask, Msk[28:0], MXtd, and MDir.
These parts of a message object may be changed without clearing MsgVal: Data[7:0], TxRqst, NewDat,
MsgLst, and IntPnd
Link to a related question saying it IS possible, which agrees with what I'm seeing
https://e2e.ti.com/support/microcontrollers/arm-based-microcontrollers-group/arm-based-microcontrollers/f/arm-based-microcontrollers-forum/1026619/tms570lc4357-how-to-update-can-id-during-run-time/3795218?tisearch=e2e-sitesearch
I'm concerned I might be introducing erroneous behaviour by not deactivating the message box before altering the id. Please confirm whether or not there is an error in the documentation.
Regards,
-Craig