This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

tms570ls3137 dcan怎么测试msglst

Other Parts Discussed in Thread: TMS570LS3137

请问tms570ls3137开发板怎样造一个message丢失,使msglst置位?

  • CAN消息处理程序将来自CAN核心移位寄存器的消息存储到消息RAM中的消息对象中。NewData位置1以指示已接收到新数据。当通过IFx读取消息对象时,CPU应将NewDat位复位。如果在接收时已经将NewDat位置1,则MsgLst将被设置为指示先前的数据已丢失。MsgLst位可能不会自动复位。您可以尝试写入1以在特权模式下清除它。

    The actual value of NewDat shows whether a new message has been received since last time when this message object was read. The actual value of MsgLst shows whether more than one message have been received since the last time when this message object was read. MsgLst will not be automatically reset.

    您为何要测试msglst?它是一个只读的,类似状态标志位