Hi Petr,
Thank you for the information.
And it worked fine after configuring the CAN0 in RX end and not using open drain config..!!
Below are the RX end CAN0 configuration,
CAN_0.MCR.R = 0x5000003F; /* Put in Freeze Mode & enable all 64 msg bufs */
CAN_0.CR.R = 0x04DB0006; /* Configure for 8MHz OSC, 100KHz bit time */
for (i=0; i<64; i++) {
CAN_0.BUF[i].CS.B.CODE = 0; /* Inactivate all message buffers */
}
SIU.PCR[16].R = 0x0604; /* MPC56xxB: Config port B0 as CAN0TX, no open drain */
SIU.PCR[17].R = 0x0100; /* MPC56xxB: Configure port B1 as CAN0RX */
CAN_0.BUF[4].CS.B.IDE = 0; /* MB 4 will look for a standard ID */
CAN_0.BUF[4].ID.B.STD_ID = 555; /* MB 4 will look for ID = 555 */
CAN_0.BUF[4].CS.B.CODE = 4; /* MB 4 set to RX EMPTY */
CAN_0.RXGMASK.R = 0x1FFFFFFF; /* Global acceptance mask */
SIU.PSMI[0].R = 0x00;
CAN_0.MCR.R = 0x0000003F;
Thanks a lot again.
With Regards,
Vasanth.