Hi Stancik,
Thanks for replay...
In ESR1 register SYNCH bit is showing 0 that means CAN is not synchronized with the bus. Actually I'm not using SBC chip as CAN transceiver. I am using other transceiver that is working fine when I tested with other micro controller.
The ESR1 and ECR values are
ESR1 = 0x00010112
ECR = 00008100
In example interrupts are not enabled but I enabled error interrupts and Bus off interrupts. I am using interrupt method.
When I writing 0x7E0 CAN ID in RAM register in 18 th position. It is storing like
Data Byte 0(DB-0) = 0x01
DB1 = 0xE0
DB2 = 0x00
DB3 = 0x00
but I'm think that it should store like
DB0 = 0x01
DB1 = 0xF0
DB2 = 0x00
DB3 = 0x00
When I write 0x7E8 also it is storing like 0x1EA but it should store like 0x1FA. Why it is storing like that i'm not understanding.
Please help me. Waiting for your response.
Regards,
Yashwanth