CAN bus sniffer with MPC56xx?

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

CAN bus sniffer with MPC56xx?

ソリューションへジャンプ
1,452件の閲覧回数
borjagomez
Contributor I

Dear Sir/Madam:

 

I have to configure the FlexCAN module to work as a CAN bus sniffer or in normal mode (with msg Id related to a message buffer). I have no problem to run the FlexCAN module when Message Id are known and hence, they are linked to a message buffer, but I would like to know if this module can be configured for the reception of unknown message identifiers. In this case, the CAN module should work as a gateway. It just sends what it has received. Is this possible?

 

Thank you in advance,

 

Borja Gómez

ラベル(1)
0 件の賞賛
返信
1 解決策
1,314件の閲覧回数
PetrS
NXP TechSupport
NXP TechSupport

Hi,

You could just set a mask acceptance register(s) properly, means clear all bits. In that case the received ID is “don’t care”. If you want to receive both standard and extended frames then 2 MBs should be set for receive, one for standard and other for extended frames.

Regards,

Petr

元の投稿で解決策を見る

0 件の賞賛
返信
2 返答(返信)
1,315件の閲覧回数
PetrS
NXP TechSupport
NXP TechSupport

Hi,

You could just set a mask acceptance register(s) properly, means clear all bits. In that case the received ID is “don’t care”. If you want to receive both standard and extended frames then 2 MBs should be set for receive, one for standard and other for extended frames.

Regards,

Petr

0 件の賞賛
返信
1,314件の閲覧回数
borjagomez
Contributor I

Thank you very much.

Borja.

0 件の賞賛
返信