Imx8dx CAN sampling point settings

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

Imx8dx CAN sampling point settings

2,345 Views
songhongliang
Contributor II

Where to change the sample point settings

0 Kudos
Reply
4 Replies

2,344 Views
songhongliang
Contributor II

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

 

0 Kudos
Reply

2,326 Views
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 Kudos
Reply

2,310 Views
songhongliang
Contributor II

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

0 Kudos
Reply

2,303 Views
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 Kudos
Reply