S32144-CAN_SRXDIS

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 
994件の閲覧回数
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 件の賞賛
返信
1 解決策
987件の閲覧回数
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 件の賞賛
返信
2 返答(返信)
988件の閲覧回数
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 件の賞賛
返信
979件の閲覧回数
Junkie
Contributor I
yes, your are right !
Thank you very much !
0 件の賞賛
返信