S32K3 CAN

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

S32K3 CAN

3,408 次查看
abc1258
Contributor I

When configuring the CAN communication of S32K3 series core board, I encountered a problem. I hope you can get help. Thank you. The problem is as follows: CAN send and receive (extended and standard) CAN be tested separately. If CAN accept mailbox is enabled, it will enable the accept mailbox interrupt flag when sending, and directly enter the interrupt. How to solve this problem?

 
0 项奖励
回复
4 回复数

3,377 次查看
abc1258
Contributor I

@Senlent ok,thank you

0 项奖励
回复

3,387 次查看
abc1258
Contributor I

@Senlent Thank you for your reply. The previous problem has been solved. When configuring the initialization of CAN, you can just disable the self-receiving,Now we face a new problem, initialize the receiving function and then do processing in the interrupt, will not recognize my ID number, no matter the ID can enter the interrupt and do data processing

0 项奖励
回复

3,392 次查看
Senlent
NXP TechSupport
NXP TechSupport

Hi@abc1258

This should be the same as the FlexCAN module of the S32K1 series, the interrupt of the MB is or operation, so when you send it will also enter the interrupt,you can don't care about it in the interrupt handler.

0 项奖励
回复

3,382 次查看
Senlent
NXP TechSupport
NXP TechSupport
0 项奖励
回复