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

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

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

526 Views
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 Kudos
3 Replies

507 Views
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 Kudos

503 Views
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 Kudos

493 Views
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 Kudos