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.
Hi,
formulas are correct.
How did you test sample point in fact?
BR, Petr