AnsweredAssumed Answered

The question about CanBus Configure in the Model Based Software Design

Question asked by Eden Li on Jul 10, 2017
Latest reply on Jul 11, 2017 by dumitru-daniel.popa

Hi Guys,

I used the the Simulink Block of MPC5643L from NXP,I wanna use it to realize the CANbus comunicatin,the External crystals is 8MHz,The target of the Baud Rate is 500K:

 I use the CANalyzer to display the signal,but the Error shown as below:

My configure about the CanBus Configure shown as below:

My calculation about the Baud rate as below:

Baud Rate=8000,000/(Prescaler*(1+(PROP_SEG+PSEG1+2)+(PSEG2+1)));

So i fill in the parameter,Prescaler=1,PROP_SEG=5,PSEG1=5,PSEG2=2,

Is there some thing wrong about the calcaulation?

The attachment is the Simulink Model.

Original Attachment has been moved to: