S32K314 How to initialize the can module to support both standard and extended frame reception

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

S32K314 How to initialize the can module to support both standard and extended frame reception

3,679件の閲覧回数
shunyizhang
Contributor IV

shunyizhang_0-1727262689703.pngshunyizhang_0-1727262689703.pngshunyizhang_1-1727262710602.pngshunyizhang_1-1727262710602.png

 

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

3,652件の閲覧回数
Julián_AragónM
NXP TechSupport
NXP TechSupport

Hi @shunyizhang,

You can configure CanHardwareObject to receive MIXED. Unfortunately, "Mixed" and "Extended" are implemented with the same behavior, as it's a deviation noted in CAN UM: S32K358 FlexCAN Receive Standard and Extended IDs - NXP Community.

This CS bit should include the IDE bit.

Julin_AragnM_1-1727281205598.pngJulin_AragnM_1-1727281205598.png

Best regards,
Julián

 

0 件の賞賛
返信

3,624件の閲覧回数
shunyizhang
Contributor IV

I am very sorry that I can only enable one can channel of S32K314 at present, and the extended frame and standard frame of this can channel can receive normally at the same time. However, when I disable the other three CAN channels and the three CAN channels only receive extended frames initially, the one that can normally receive extended frames and extended frames before can still receive and send normally. However, the following three channels can can not receive normally, and the sending is normal. I don't know if there is a problem with the ID configuration of my email. The attachment is my code, please help me review the ID of my email, thank you ~

0 件の賞賛
返信

3,603件の閲覧回数
Julián_AragónM
NXP TechSupport
NXP TechSupport

Hi @shunyizhang,

Sorry for the misunderstanding, but I'm not sure I get your issue completely. Are you unable to receive frames after deinitializing and initializing the other 3 can interfaces? 

If possible, could you share a project where this issue can be seen? This is in order to test this on my side. 

Other than that, on the surface, there is nothing out of ordinary in your configuration. Could you confirm if these CAN interfaces (0, 1, 2, 3) all work individually? 

Best regards,
Julián

0 件の賞賛
返信