Hi, Hello!
Recently, I was debugging the flexcan module CanFd driver。 When the PE clock is 40MHZ, the Flexcan module can work normally when the baud rate is 1M(Sampling point : 60%)/2.5M(Sampling point : 75%), but when the baud rate is 1M(Sampling point : 60%)/4M(Sampling point :60%), The third-party equipment has no data reception。 We don't understand the reason; The specific register configuration is as follows:
(1)Baud rate = 1M/2.5M configuration :
EPRESDIV=3u, ERJW=1u,EPROPSEG=1u,EPSEG1= 2u, EPSEG2=3u;(Sampling point : 60%)
FPRESDIV=1u, FRJW=1u,FPROPSEG=3u,FPSEG1= 1u, FPSEG2=1u; (Sampling point : 75%)
(2)Baud rate = 1M/4M configuration :
EPRESDIV=3u, ERJW=1u,EPROPSEG=1u,EPSEG1= 2u, EPSEG2=3u;(Sampling point : 60%)
FPRESDIV=0u, FRJW=1u,FPROPSEG=2u,FPSEG1= 2u, FPSEG2=3u;(Sampling point : 60%)
Looking forward to your reply, thank you!