S32144-CAN_SRXDIS

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

S32144-CAN_SRXDIS

Jump to solution
466 Views
Junkie
Contributor I

I try to use FlexCAN MB0 to receive CAN frames transmitted  by itself-MB1, just like describled in RM "when MCR[SRXDIS] is deasserted, FlexCAN can receive frames transmitted by itself if a matching Rx mailbox exists. "

i initlization CAN0 normally and corrsponding pin, and clear MCR_SRXDIS, configure MB0 with ID 0x3AA, MB_CS_CODE = EMPTY, and then configure MB1 with ID 0x3AA, data0~8 bytes, MB_CS_CODE = DATA.But it does not work, PTB1 does not stop transmit frames, but FlexCAN can not received.

(CAN transceiver is connected)

0 Kudos
1 Solution
459 Views
PetrS
NXP TechSupport
NXP TechSupport

Hi,

be sure SRXDIS is really cleared, can be written in Freeze mode only.
Also note that only successfully transmitted message without error will be self-received. So for example if other node does not ACK a message it is repeated still and it is not received. Which is probably you have.

BR, Petr 

View solution in original post

0 Kudos
2 Replies
460 Views
PetrS
NXP TechSupport
NXP TechSupport

Hi,

be sure SRXDIS is really cleared, can be written in Freeze mode only.
Also note that only successfully transmitted message without error will be self-received. So for example if other node does not ACK a message it is repeated still and it is not received. Which is probably you have.

BR, Petr 

0 Kudos
451 Views
Junkie
Contributor I
yes, your are right !
Thank you very much !
0 Kudos