s32k144 CAN Extended Code

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

s32k144 CAN Extended Code

1,111 Views
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 Kudos
Reply
4 Replies

1,102 Views
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,074 Views
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 Kudos
Reply

1,054 Views
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 Kudos
Reply

1,048 Views
Dilip1441
Contributor I
Thanks for the Reply,
It's working fine.
0 Kudos
Reply