S32K148:CAN bus message cannot be sent out

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

S32K148:CAN bus message cannot be sent out

707 次查看
wuzhibin
Contributor I

hello:
The problem I have encountered at present is that when sending and receiving messages at the same time, the message cannot be sent out. Check the register and you can see that the value of the sending byte segment in the sending mailbox is set to 1100. Please help to find out what caused this. Due to the short time, please reply as soon as possible, thank you.

0 项奖励
回复
2 回复数

677 次查看
Senlent
NXP TechSupport
NXP TechSupport

There are also many CAN-related routines in the community forums, you can refer to them too.

 

https://community.nxp.com/t5/S32K-Knowledge-Base/Example-S32K144-FlexCAN-RXFIFO-DMA-S32DS-ARM-2018-R... 

0 项奖励
回复

678 次查看
Senlent
NXP TechSupport
NXP TechSupport

Hi@wuzhibin

            If possible, can you post your code? Or describe your problem in more detail.

            Your problem description is not detailed enough, I cannot help you troubleshoot and solve the problem quickly.

            Did you use the same mailbox for sending and receiving?

            Is the sending and receiving interrupt used?

            There are many CAN-related routines for reference in S32DS IDE, you can port the code to your project.

Hope to receive your reply!

BR.

    Jim.

 

 

0 项奖励
回复