[MPC5607B] CAN MB Unknown CODE

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

[MPC5607B] CAN MB Unknown CODE

跳至解决方案
2,694 次查看
adelos
Contributor II

In my current application, I read periodically the CODE of a MB set as an extended transmission MB. In some cases, I read "0x0D" 1101 and this code is not available in the reference manual.  Any idea what does this code 0x0D mean ?

标签 (1)
标记 (2)
0 项奖励
回复
1 解答
2,575 次查看
PetrS
NXP TechSupport
NXP TechSupport

Hi

The least significant bit in the CODE field represents the BUSY bit. So similarly as it is for RX codes this indicates BUSY condition for TX MBs. This is set by module during the “move-out” operation; when the MB is transferring to the SMB.

See Table 25-5. Message Buffer Code for Rx buffers and a note 1 below that table.

“Note that for Tx MBs (see Table 25-6), the BUSY bit should be ignored upon read, except when AEN bit is set in the MCR register.”

BR, Petr

在原帖中查看解决方案

1 回复
2,576 次查看
PetrS
NXP TechSupport
NXP TechSupport

Hi

The least significant bit in the CODE field represents the BUSY bit. So similarly as it is for RX codes this indicates BUSY condition for TX MBs. This is set by module during the “move-out” operation; when the MB is transferring to the SMB.

See Table 25-5. Message Buffer Code for Rx buffers and a note 1 below that table.

“Note that for Tx MBs (see Table 25-6), the BUSY bit should be ignored upon read, except when AEN bit is set in the MCR register.”

BR, Petr