CAN PAL CANFD code conversion to normal CAN in s32k144evb CAN pal sample code

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

CAN PAL CANFD code conversion to normal CAN in s32k144evb CAN pal sample code

1,057 次查看
pratayay123
Contributor III

Hi,

I am using s32k144 sample code of CAN pal for CAN FD.

I want to make the same CAN FD code to work for normal CAN , what changes should I include in the same CAN FD sample code to make it run for normal CAN also.

What are the configuration changes that i should do in the can pal CAN FD sample code such that it will support normal CAN feature also if it is enabled in the same code.

Any generic MACRO setting is there in CAN pal CANFD code such that enabling that macro will make the same sw to normal CAN feature.

Thanks

Pratyay

标记 (4)
0 项奖励
回复
3 回复数

1,050 次查看
Robin_Shen
NXP TechSupport
NXP TechSupport

Hi Pratyay,

Uncheck the flexible data rate, and then click Update Code.

unckeck the flexible data rate.png

Modify these to lin disable FD:

enableFD.png

Best Regards,
Robin
-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!

- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------

0 项奖励
回复

1,045 次查看
pratayay123
Contributor III

Dear Robin,

Thanks for your reply.

Can you please show me the path/process for generating auto code using design studio?

Thanks,

Pratyay

0 项奖励
回复

1,041 次查看
Robin_Shen
NXP TechSupport
NXP TechSupport

Click Update Code to let S32 Config Tool automatically generate new code. Click Open Update Code Dialog, then you can see the path:

Update Code CAN_PAL.png

0 项奖励
回复