Imx8dx CAN sampling point settings

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

Imx8dx CAN sampling point settings

2,479 次查看
songhongliang
Contributor II

Where to change the sample point settings

0 项奖励
回复
4 回复数

2,478 次查看
songhongliang
Contributor II

flexcan驱动默认的采用点是75%吗

 

0 项奖励
回复

2,460 次查看
Sanket_Parekh
NXP TechSupport
NXP TechSupport

Hello @songhongliang 

I hope you are doing well.

1)Where to change the sample point settings?
One can change the settings of the CAN device properties.
ip link set DEVICE type can

"bitrate 125000 sample-point 0.875"
by this argument, one can set the bitrate and optionally one can set the sample-point

after Please verify the values by
ip -details -statistics link show can0

For more details please refer to the can.rst file in the Linux source code.
<source_code>/Documentation/networking/can.rst

2)Is the default adoption point of the flexcan driver 75%?
Can you please kindly elaborate on this term & share more detail on it?

Thanks & Regards.

Sanket Parekh

0 项奖励
回复

2,444 次查看
songhongliang
Contributor II

In imx8dx, if I don't set sample point 0.875, what is the default sample point

0 项奖励
回复

2,437 次查看
Sanket_Parekh
NXP TechSupport
NXP TechSupport

Hello @songhongliang ,

I hope you are doing well.

->One can check by default statistics by the below give the command.
ip -details -statistics link show can0

Thanks & Regards,

Sanket Parekh

0 项奖励
回复