AnsweredAssumed Answered

MPC5554 CAN Baudrate init

Question asked by Alexander Nagy on Aug 19, 2009
Latest reply on Oct 23, 2010 by Tonny Kienhuis

Hi,

 

I'm using an MPC5554 on a development board from phytec. On the development board is a crystal with 8MHz, fSYS is set to 128MHz.

 

I init my CAN interface with 166kBaud. The clock source is the crystal, the Bus is working. My register value is : 0x02DB0006 (CANA.CR).

 

This means:

 

PRESDIV = 2

RJW=3

PSEG2=3

PSEG1=3

CLK_src=0

PROPSEG=6

 

When I init my CAN interface with 1MBaud. The clock source couldn't be longer the crystal.

My register value is : 0x07DB2006 (CANA.CR).

 

This means:

 

PRESDIV = 7

RJW=3

PSEG2=3

PSEG1=3

CLK_src=1

PROPSEG=6

 

The Bus isn't working!

 

Could anybody see a mistake? 

Outcomes