Content originally posted in LPCWare by niharika_singh on Mon Nov 25 09:54:04 MST 2013
Hi,
I recently finished Post graduate diploma course on Embedded Systems. As a part of our course we had to come up with a project during the last month.
I decided to add support for the CAN peripheral in the FreeRTOS + IO architecture. I made changes in to the source code of FreeRTOS + IO so that the CAN peripheral could be accessed via POSIX-like open(), read(), write() and ioctl() calls. I was able to manage the basic CAN communication between between two microcontrollers using the driver I wrote but due to short of time I could not much CAN features in the driver code.
I have some free time on my hands now so I am looking more into this project again but I have a few doubts about the transfer modes used with FreeRTOS + IO architecture. Which transfer mode should be the best to use with CAN protocol?
Also as CAN is a much bigger protocol than SPI or I2C, so I want suggestions, as what all features should be included in the driver and which can be done away with?
Thanks and regards,
Niharika