Sending and receiving CAN message

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

Sending and receiving CAN message

1,204 Views
showfaker66
Contributor II

 

6e1e55a7144beb288ecc7877c765d5e.png21c44d861c749b6359e3b7ed4c39dbe.png

Please comment ,I use the code of CAN_PAL in the routine, and then connect the board to the canoe. After running the code, I press the break button and no signal is received on the canoe software.

I tried to make up a message by myself, the ID of the receiving message is set as 2 in the routine. Why the canoe software does not receive after being sent ? The LED on the board did not flip.
According to the effect in the code, I should send a message to the specified ID as 2, the light on the board will flip.
Thanks!

 

 

0 Kudos
Reply
2 Replies

1,194 Views
Senlent
NXP TechSupport
NXP TechSupport

Hi@showfaker66

    Try this configure:

Senlent_0-1630288184543.png

Disable CAN FD & choose Buffer payload size as "CAN_PALYLOAD_SIZE_8 ".

Senlent_1-1630288319131.png

it works fine when use this configure.

BR!

     Jim.

1,188 Views
showfaker66
Contributor II

Hi Jim ,

Thank you for your reply ! I'll give it a try.

BR!

0 Kudos
Reply