Hello Members,

I am working on Embedded linux based coldfire microprocessor. I need to do some CAN communication and I am using "can4linux" driver which contain can4linux.h header file to to do CAN controller initialization and communication. you can find the exact file here.

can4linux: can4linux.h Source File

but I really dont know how to use this to initialoize my controller.

I need to initialize my CAN controller with some specific

baud rate
BitTiming SJW:2
TSEG1 : 60%
TSEG2 : 40%
sample ponits 1

and then after initialization I need to send some data to my CAN recieving device device from my target board.

Can any body who have some experience regarding CAN communication can provide me some help in this case