S32K148:CAN bus message cannot be sent out

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

S32K148:CAN bus message cannot be sent out

634 Views
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 Kudos
Reply
2 Replies

604 Views
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 Kudos
Reply

605 Views
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 Kudos
Reply