From default Project template - Convert *CAN FD* to *CAN*

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

From default Project template - Convert *CAN FD* to *CAN*

Jump to solution
731 Views
Aris_
Contributor II

Hi All,

I'm working on the MR-CANHUBK344-S32. 

I can run the tutorial: https://community.nxp.com/t5/NXP-Model-Based-Design-Tools/Communicating-over-the-CAN-Bus/ta-p/175845...

But, I cannot observe the CAN messages exchanged between CAN0 and CAN1 with my required hardware. I have to use a Kvaser Leaf Light v2 and I have to get those messages in a "standard CAN" format (the "old" version of CAN that is limited to 1000Kbps), not "CAN-FD" which is more recent and faster.

I tried several things but I can't figure out how to:

  • Get the same example working using the "old" CAN protocol with 500Kbps.

I tried unchecking this box: 

Aris__0-1742494052992.png

I tried playing with the CAN FD baudrate to set it to 500Kbps, or simply removing the whole section "0", with no success.

I'm a little lost now. I'm sure it's super simple to solve but I'm not yet familiar enough with S32CT.

Thank you in advance for your help.
Aris

0 Kudos
Reply
1 Solution
714 Views
robertv
NXP Employee
NXP Employee

Hello @Aris_ ,

To clarify some things first, the option you unchecked in the configuration is not used to enable or disable CanFD, but to select the protocol it's using (ISO CanFD or non-iso CanFD):

robertv_0-1742555084252.png

In terms of sending normal Can frames (not FD), that should be achieved by simply opening the Can_Write block and unchecking the "Can FD Message" option, which you can see here:

robertv_1-1742555157815.png

Let me know if this helps and you start seeing the Can frames on your Kvaser Leaf Light v2. 

Regards,
Robert V

 

View solution in original post

3 Replies
715 Views
robertv
NXP Employee
NXP Employee

Hello @Aris_ ,

To clarify some things first, the option you unchecked in the configuration is not used to enable or disable CanFD, but to select the protocol it's using (ISO CanFD or non-iso CanFD):

robertv_0-1742555084252.png

In terms of sending normal Can frames (not FD), that should be achieved by simply opening the Can_Write block and unchecking the "Can FD Message" option, which you can see here:

robertv_1-1742555157815.png

Let me know if this helps and you start seeing the Can frames on your Kvaser Leaf Light v2. 

Regards,
Robert V

 

665 Views
Aris_
Contributor II
Perfect! It works
0 Kudos
Reply
650 Views
robertv
NXP Employee
NXP Employee

Hello @Aris_ ,

Glad to hear it worked!

Regards,
Robert V

0 Kudos
Reply