Solved
This topic has been closed for replies.
Hello,
Not sure I understood well your issue. Each board having the same firmware but behave differently?
Also you are using an RTOS and this complicates the analysis. May be you need to test without RTOS.
Meanwhile, I have one comment regarding the bitrate config and mainly regarding these parameters:
hfdcan1.Init.NominalPrescaler = 256;
hfdcan1.Init.NominalTimeSeg1 = 2;
hfdcan1.Init.NominalTimeSeg2 = 2;
To me these are bad parameters and need to be changed:
TSEG1 and TSEG2 need to be increased as much as possible and decrease the prescaler as much as possible to fit your CAN bitrate where the sample point is at (70% to 80%) of the bit time. TSEG1 =~ (70% to 80%) (TSEG1+TSEG2 )
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.
