EEVblog Electronics Community Forum
Electronics => Microcontrollers => Topic started by: Simon on December 17, 2015, 07:49:25 pm
-
I am looking to start working with CAN. I gather that the MCP2515 is a popular and good chip to use. I am wondering before i start writing loads of code and learning detailed in's and out's of how to control the chip has someone just written a decent library to do that ? There seem to be a few about the net but I'm not sure what to do.
-
Simon
I have these thing saved in my "Can folder", it's in german but google xlate would work
http://www.kreatives-chaos.com/artikel/ansteuerung-eines-mcp2515 (http://www.kreatives-chaos.com/artikel/ansteuerung-eines-mcp2515)
http://www.kreatives-chaos.com/artikel/universelle-can-bibliothek#downloads (http://www.kreatives-chaos.com/artikel/universelle-can-bibliothek#downloads)
https://www.mikrocontroller.net/topic/141667 (https://www.mikrocontroller.net/topic/141667)
http://www.kreatives-chaos.com/artikel/can-testboard (http://www.kreatives-chaos.com/artikel/can-testboard)
http://www.kreatives-chaos.com/artikel/can-bootloader (http://www.kreatives-chaos.com/artikel/can-bootloader)
Other stuff
Timing calc
http://www.intrepidcs.com/support/mbtime.htm (http://www.intrepidcs.com/support/mbtime.htm)
http://siwawi.bauing.uni-kl.de/avr_projects/can/index.html (http://siwawi.bauing.uni-kl.de/avr_projects/can/index.html)
Hope it helps
Edit: I haven't used any of the above yet
/Bingo
-
I'm not that good with German unfortunately
-
But all are webpages or plain texts
Just use google translate like this
http://translate.google.com/ (http://translate.google.com/)
First url xlated from German to English
https://translate.google.com/translate?sl=de&tl=en&js=y&prev=_t&hl=en&ie=UTF-8&u=http%3A%2F%2Fwww.kreatives-chaos.com%2Fartikel%2Fansteuerung-eines-mcp2515&edit-text= (https://translate.google.com/translate?sl=de&tl=en&js=y&prev=_t&hl=en&ie=UTF-8&u=http%3A%2F%2Fwww.kreatives-chaos.com%2Fartikel%2Fansteuerung-eines-mcp2515&edit-text=)
/Bingo
-
I don't know the MCP2515, but I do know that I wouldn't put it on an AVR. Not when there is an AVR with built-in CAN controller:
http://www.atmel.com/devices/AT90CAN32.aspx (http://www.atmel.com/devices/AT90CAN32.aspx)
Of course if there is a ready-to-use library for MCP2515 on an AVR, that may make more sense then.
-
But all are webpages or plain texts
Just use google translate like this
http://translate.google.com/ (http://translate.google.com/)
First url xlated from German to English
https://translate.google.com/translate?sl=de&tl=en&js=y&prev=_t&hl=en&ie=UTF-8&u=http%3A%2F%2Fwww.kreatives-chaos.com%2Fartikel%2Fansteuerung-eines-mcp2515&edit-text= (https://translate.google.com/translate?sl=de&tl=en&js=y&prev=_t&hl=en&ie=UTF-8&u=http%3A%2F%2Fwww.kreatives-chaos.com%2Fartikel%2Fansteuerung-eines-mcp2515&edit-text=)
/Bingo
True story, almost 2 decades ago I was looking for info on Profibus DP interface ICs and located a German mfr, with data sheets in German. Using the translator available at the time (Babelfish??) it came up with the unforgettable line about the current consumption of the IC, "Drinks current like a brick-layer". Wish I'd kept a link and a screen shot.
-
True story, almost 2 decades ago I was looking for info on Profibus DP interface ICs and located a German mfr, with data sheets in German. Using the translator available at the time (Babelfish??) it came up with the unforgettable line about the current consumption of the IC, "Drinks current like a brick-layer". Wish I'd kept a link and a screen shot.
Computer translators never will be perfect. Apart from being fluent in english I am mostly fluent in italian and know very well how difficult translating is.