Dear All, I am developing a system on friendly ARM mini 2440. Below is the development idea: Input: CAN Bus Protocol through Mini 2440 USB Port Process: CAN Bus data analysis and convert to MODBUS TCP/IP Output: MODBUS TCP/IP I have been reading through documents to understand the process but i got hooked along the line. There is libmodbus library available on www.libmodbus.org and socketCan library available on http://elinux.org/CAN_Bus which i have gone through but cant understand how to implement them. I would appreciate any support or suggestions on useful documents or tutorial i can use for this. Thanks in advance for your support. Regards, John
CAN - MODBUS TCP
"socketCan library"? SocketCan is a kernel feature and you can talk CAN like every other network protocol (if your CAN phy is supported). No further lib required. Modbus is RS485, isn't it? Take into account, the S3C2440 can't handle the data direction for the half duplex RS485 in hardware. You will need a software solution for that and that might conflict with all kinds of timining contstraints. Happy hacking.
Thanks Juergen. I actually want to program Mini 2440 so that it can receive CAN Bus data through CAN to USB converter. After receiving the data, i want to analyse and monitor the data input and do necessary process. Finally, i want to transmit same CAN data to the Ethernet port for other application to make use of the data. Can i run the SocketCan directly? if yes, how can i modify it to do specific task that i want. If no, could you suggest any possible solution to me?. I appreciate your kind readiness to guide me through. Best Regards.