The sampling points of CAN and CAN FD are incorrect.

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

The sampling points of CAN and CAN FD are incorrect.

685 Views
wangjiede
Contributor I

The sampling points of CAN and CAN FD are incorrect. Set to 80%, but the actual test of the car factory is about 70%. Why is this? Below is the sampling point calculation formula I used:

 

CAN_BITRATE = SystemCoreClock/(1.0 + PSEG1+1.0 + PSEG2+1.0 + PROPSEG+1.0)/(PRESDIV+1.0);
CAN_SamplePoint= (1.0+ PROPSEG + PSEG1 + 2.0)/(1.0+ PROPSEG + PSEG1 +2.0 + PSEG2 + 1.0);
 

CANFD_BITRATE = SystemCoreClock/(1.0 + FPSEG1+1.0 + FPSEG2+1.0 + FPROPSEG)/(FPRESDIV+1.0);
CANFD_SamplePoint= (1.0+ FPROPSEG + FPSEG1 + 1.0)/(1.0+ FPROPSEG + FPSEG1 +1.0 + FPSEG2 + 1.0);
Is the sampling point not correct, or where it needs to be set.

0 Kudos
1 Reply

559 Views
PetrS
NXP TechSupport
NXP TechSupport

Hi,

formulas are correct.

How did you test sample point in fact?

BR, Petr

0 Kudos