CAN Support

Newcomers to Astrobe and Oberon are welcome to ask any beginner-level questions here
Post Reply
abaumann
Posts: 11
Joined: Wed Sep 25, 2013 9:07 pm

CAN Support

Post by abaumann » Tue Nov 05, 2013 2:09 pm

Hi,

Are there any plans to support CAN interface as a standard module ?
What is the best way to implement a CAN interface. Does exist oberon oriented source code examples or should I try to translate C Code examples to Oberon-7 ?
Any hint is appreciated.

Kind regards,


Andreas

cfbsoftware
Site Admin
Posts: 525
Joined: Fri Dec 31, 2010 12:30 pm
Contact:

Re: CAN Support

Post by cfbsoftware » Wed Nov 06, 2013 12:06 pm

We don't have any immediate plans to develop a standard library module for CAN.

Based on our experience, my recommendations when developing a new module like this are:
  • Study the relevant chapter(s) of the User manuals for the microcontroller you are targeting.
  • Look for application notes on the subject.
  • Resist looking at source code until you have the basic design worked out and then only when you need to clarify very specific details.
Initially just aim at developing code to meet the requirements for a specific project. That should be significantly easier than trying to design a general-purpose CAN module. With the experience gained in getting that working you are more likely to then be successful writing a useful reusable general-purpose module.

If, as you progress with it, you have some more specific questions on this project feel free to ask them here.

Post Reply