S32K312 How to solve the problem that both standard and extended frames CAN be received in one CAN.

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

S32K312 How to solve the problem that both standard and extended frames CAN be received in one CAN.

1,494件の閲覧回数
guochuan
Contributor III

hi 

In the configuration of MACL, the same mailbox cannot receive extended frames and standard frames at the same time. How to solve the problem that both standard and extended frames CAN be received in one CAN.

config

guochuan_0-1678163572380.png

If configured as standard frames, standard frames can be received normally. If configured as extended frames, normal frames cannot be received。

0 件の賞賛
返信
3 返答(返信)

1,475件の閲覧回数
VaneB
NXP TechSupport
NXP TechSupport

Hi @guochuan 

Given the use case you are trying to implement, MIXED is the configuration you need.

VaneB_0-1678210389519.png

MIXED should allow you to receive both standards and extended CAN frames. Even though the configuration is MIXED, "standard and RECEIVE type will be treated as EXTENDED," as shown in config tools.

 

B.R.

VaneB

0 件の賞賛
返信

1,471件の閲覧回数
guochuan
Contributor III

hi @VaneB 

thank you repy.

Yes ,I configured CAN with MCAL and used tools to configure mixed frames. The test found that only extended frames could be received, and standard frames could not be received normally.I looked it up and explained that in the configuration of MACL, the same mailbox cannot receive both extended and standard frames.

  • Please help ensure that the modification accepts both standard and extended frames

guochuan_0-1678239389970.png

thanks 

0 件の賞賛
返信

1,461件の閲覧回数
VaneB
NXP TechSupport
NXP TechSupport

Hi @guochuan 

When defining the CAN IS Message Type as MIXED, all the messages will be handled as EXTENDED type.

0 件の賞賛
返信