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,485 次查看
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,466 次查看
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,462 次查看
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,452 次查看
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 项奖励
回复