s32k144 CAN Extended Code

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

s32k144 CAN Extended Code

1,112件の閲覧回数
Dilip1441
Contributor I

Please Share the Basic CAN Extended Code for both Tx and Rx Functionalities.

or else Please Suggest the Required Changes in can_pal_s32k144 Code to Modify into Extended CAN Code.

0 件の賞賛
返信
4 返答(返信)

1,103件の閲覧回数
PetrS
NXP TechSupport
NXP TechSupport

Hi,

what do you mean by CAN Extended Code?
Sending/receiving message with extended ID or CAN FD message with bigger payload (up to 64bytes) or both, or something else..

BR, Petr

 

1,075件の閲覧回数
Dilip1441
Contributor I

Hi Thanks for the Reply,
Actually i need both CAN Extended ID Sending/Receiving Code and Also CAN FD(up to 64bytes) Sending Code

Please Share the Code and Configurations Required to Achieve For both

Thanks in Advance.

0 件の賞賛
返信

1,055件の閲覧回数
PetrS
NXP TechSupport
NXP TechSupport

Hi,

if you are referring to can_pal example, then modification is simple. CAN FD is already enabled and CAN FD message is prepared/send, with std ID. To send ext ID and more data bytes change 

PetrS_1-1663660393292.png

 

To receive extended ID message just modify .id type as above

PetrS_0-1663660374081.png

BR, Petr

0 件の賞賛
返信

1,049件の閲覧回数
Dilip1441
Contributor I
Thanks for the Reply,
It's working fine.
0 件の賞賛
返信