Hi,
AM335X_StarterWare_02_00_00_07, dcanTxRx exampl has the following code:
index = CAN_NUM_OF_MSG_OBJS;
while(index--)
{
/* Invalidate all message objects in the message RAM */
CANInValidateMsgObject(SOC_DCAN_1_REGS, index, DCAN_IF2_REG);
}
This effectively invalidates messages with indexes 63..0. But according to AM335x TRM the IFx registers receive message index in 1..64 range.
Do I miss something or there is a bug here (in code or TRM)?
Best,
Vasili