I’m considering purchasing an Olimex AVR-CAN. The manual says sample C code is available from the Olimex web site, but I am not able to find it.
I wonder if anyone has some sample assembly code they are willing to share. What I hope to do is use the AVR-CAN as a working device on a CAN bus such that I can light the LED and sense the push button from a remote device using low baud rate.
In other words, I want to use it as test equipment to get the other devices on the bus up and running. Is there a better way to go about it?
Well, someday I want to have a multi-master bus. I could buy a few MCP2515s and 24451’s and attemp to hook them up to AVRs, but I really want something to communicate with to get started.
I’ve used I2C and SPI and RS232 and looked at RS485. CAN seems to have it all. Even self adjusts somewhat to line length.
Anyhow, I was just posting to see if there was code already available here for the AVRCAN. I don’t want to get into a lengthy discussion here or somebody on AVR Freaks will nail me a a cross poster.