Sending and receiving CAN message

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

Sending and receiving CAN message

2,342件の閲覧回数
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 件の賞賛
返信
2 返答(返信)

2,332件の閲覧回数
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.

2,326件の閲覧回数
showfaker66
Contributor II

Hi Jim ,

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

BR!

0 件の賞賛
返信