Sections
You are here: Home Forum Devices and Hardware CAN bus?

CAN bus?

Up to Devices and Hardware

CAN bus?

Posted by Sharad Shanbhag at March 14. 2007
Has anyone used CAN bus sensors/devices with this or any other controller? Interested in some automotive applications and it's all new to me.

CAN bus?

Posted by Liam Staskawicz at March 16. 2007
The CAN drivers are still awaiting implementation in the Heavy/firmware API. You're of course welcome to add anything you like in there, but we have not yet wrapped these into the API. I haven't seen much on the forums about anybody having experimented too much with these.

CAN bus?

Posted by Mark Bishop at March 17. 2007
I'm very much looking forward to using CAN, so I anxiously await whatever API support anyone comes up with.

CAN bus?

Posted by Ron Wilson at March 17. 2007
I have put together a CAN driver based on the example from Atmel, however, it doesn't play well with FreeRTOS. Have not had a chance to work on it for several days and likely not for several more. I will try to get my code posted, soon.

CAN bus?

Posted by Laurent Ricard at April 01. 2007
I am currently fiddling with a simple idea (connecting a CAN/OBD connector -read an IPA Prius-) to an USB joystick, and find out if it is possible to get rid of "traditional" implements (wheel, accelerator), replacing them with something more modern. Of couse not in real life driving conditions, there are limits to my madness. Now, where I to use this Make controller I have, what would it take to read a Joystick over the integrated port, then encode/decode CAN frames accordingly? (I am talking low level: framework calls, etc: there is enough litterature on the CAN frames the Prius supports). I see in this thread there are no Libs available yet. I am not new to microcontroller coding, C, and assembler, but like most readers I have very scarce personal time. Any MakingThings deployment roadmap or information about community efforts on the CAN and USB side would be really helpful.... Thanks!

CAN bus?

Posted by Pieter Venter at October 01. 2007
I'm also interested in using the CAN bus to read some engine management information. Has anyone been successful in parsing CAN messages with the Make controller? Any guidance/samples would be much appreciated.

Re: CAN bus?

Posted by Aaron Tunell at October 21. 2008

it's been a year since this post was updated. Any news on CAN bus implementation.

Liam, Will this be in the next update of heavy?

Re: CAN bus?

Posted by Liam Staskawicz at October 21. 2008

I don't personally have any immediate plans to work on CAN support.  There's a basic software package from Atmel with rudimentary support for all the on-chip peripherals (including CAN) that might be a decent place for interested parties to start.

http://www.atmel.com/dyn/resources/prod_documents/softpack-1.4-at91sam7x-ek-web.zip

Re: CAN bus?

Posted by Aaron Tunell at October 21. 2008

yeah, i just want to use MCbuilder for the project without having to worry about a lot of extra build steps

Re: CAN bus?

Posted by Liam Staskawicz at October 21. 2008

If you start hacking away on it and need any assistance/have any questions about integrating with mcbuilder, definitely let me know.  Would definitely be a nice addition.

Re: CAN bus?

Posted by Douglas Henke at January 17. 2009

Thanks for the link to the Atmel examples; I've had a quick read through their code and there's clearly some meat there. Some quick questions, asked in hope of saving myself some actual thinking:

   1) Has anyone else been hacking CAN bus since October? I don't want to re-invent the wheel.

   2) Is there an actual reference document someplace that tells us, for example, what all the control registers do?

   3) Can the headers under firmware-v1.5.1/core/ be trusted in regards such things as base addresses?

 

Any pointer, links, or make-controller-specific working CAN code (even if not integrated with mchelper) gratefully accepted.

 

Happy hacking.

 

 

Re: CAN bus?

Posted by Ian Wood at January 21. 2009

I'll express my interest in getting CAN bus working as well. Unfortunately, I don't think my development skills are up to helping create a library for the Make Controller. But I can offer to test anything that someone puts forward.

Re: CAN bus?

Posted by Russell Friesenhahn at February 03. 2009

Where are the Atmel examples.  The previous link now has a "not found" page from the Atmel website.

 

 

Previously Douglas Henke wrote:

Thanks for the link to the Atmel examples; I've had a quick read through their code and there's clearly some meat there. Some quick questions, asked in hope of saving myself some actual thinking:

   1) Has anyone else been hacking CAN bus since October? I don't want to re-invent the wheel.

   2) Is there an actual reference document someplace that tells us, for example, what all the control registers do?

   3) Can the headers under firmware-v1.5.1/core/ be trusted in regards such things as base addresses?

 

Any pointer, links, or make-controller-specific working CAN code (even if not integrated with mchelper) gratefully accepted.

 

Happy hacking.

 

 

Re: CAN bus?

Posted by Douglas Henke at February 05. 2009

Previously Russell Friesenhahn wrote:

> Where are the Atmel examples.  The previous link now has a "not found" page from the Atmel website.

I think the deal is that they've released version 1.5 and removed all the older stuff from their site. The current equivalent seems to be this:

http://www.atmel.com/dyn/resources/prod_documents/at91sam7x-ek.zip

(Look in the softpack subdirectory for code examples.)

 

 

Re: CAN bus?

Posted by Christian Islev-Andresen at August 20. 2009

Previously Laurent Ricard wrote:

I am currently fiddling with a simple idea (connecting a CAN/OBD connector -read an IPA Prius-) to an USB joystick, and find out if it is possible to get rid of "traditional" implements (wheel, accelerator), replacing them with something more modern. Of couse not in real life driving conditions, there are limits to my madness. Now, where I to use this Make controller I have, what would it take to read a Joystick over the integrated port, then encode/decode CAN frames accordingly? (I am talking low level: framework calls, etc: there is enough litterature on the CAN frames the Prius supports). I see in this thread there are no Libs available yet. I am not new to microcontroller coding, C, and assembler, but like most readers I have very scarce personal time. Any MakingThings deployment roadmap or information about community efforts on the CAN and USB side would be really helpful.... Thanks!

I know its an very old posting I'm replying to but (if you still are pleying with a MAKE) have you come any further on the ODB / CAN matter ?

regards

Christian

Powered by Ploneboard
Document Actions