Part Number: TMS320F28388D
Other Parts Discussed in Thread: C2000WARE
Hi expert,
I am testing example project can_ex1_loopback to reproduce an issue from my customer. When reading a CAN Mailbox, we are instructed to clear NewDat in CAN_IF2MCTL register. We also have a driverlib API to do this automatically:
// Now clear out the new data flag
//
HWREG_BP(base + CAN_O_IF2CMD) = ((uint32_t)CAN_IF2CMD_TXRQST |
(objID & CAN_IF2CMD_MSG_NUM_M));
Problem is that this bit is not really cleared when executing this line. As shown below:
Any comments here?
Thanks
Sheldon