Other Parts Discussed in Thread: C2000WARE
Please check the same issue in the former post: https://e2e.ti.com/support/microcontrollers/c2000/f/171/p/804008/2974974#2974974 i
I checked the can_loopback_bitfields example project n the folder C:\ti\c2000\C2000Ware_1_00_06_00\device_support\f2837xd\examples\cpu1\can_loopback_bitfields\cpu01, and got the same issue.
CAN_IF1CMD_SHADOW.bit.MSG_NUM should be zero, and CAN_IF1CMD_SHADOW.bit.DATA_A should be 1 at the breakpoint, but it shown as below.
Besides, I am still confused with the __byte_peripheral_32() for CAN in 26.3 Address/Data Bus Bridge in the TRM.
I tried to validate the Table 26-1. CAN Register Access From Software, and captured result was strange.
union CAN_IF1MCTL_REG CAN_IF1MCTL_SHADOW;
CAN_IF1MCTL_SHADOW.all = 0x33221100;
