[MPC5607B] CAN MB Unknown CODE

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

[MPC5607B] CAN MB Unknown CODE

Jump to solution
1,155 Views
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 ?

Labels (1)
Tags (2)
0 Kudos
1 Solution
1,036 Views
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

View solution in original post

1 Reply
1,037 Views
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