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

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

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

跳至解决方案
750 次查看
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 项奖励
回复
1 解答
733 次查看
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

 

在原帖中查看解决方案

3 回复数
734 次查看
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

 

684 次查看
Aris_
Contributor II
Perfect! It works
0 项奖励
回复
669 次查看
robertv
NXP Employee
NXP Employee

Hello @Aris_ ,

Glad to hear it worked!

Regards,
Robert V

0 项奖励
回复