Yahoo Groups archive

AVR-Chat

Index last updated: 2026-04-28 22:41 UTC

Message

RE: [AVR-Chat] Looking for critique on board layout

2010-11-10 by Dave McLaughlin

Hi Chuck,
 
Actually, if you can work out the registers and what you need to get CAN
working on the likes of the AT90CAN devices, you don't have to worry about
the arbitration or any message handling other than sticking bytes in the
transmit registers and initiating the transmission. The CAN controller will
take care of all the rest for you, including retransmitting messages that
have clashed on the bus or errored etc. For reception you simply setup ID
masks to detect only messages you are interested in or read all of them and
then decode based on the ID.
 
You have quite a bit of work in your own code just to hand all this yourself
so considering the work you have ahead of you, would it not be wise to jump
straight to CAN itself?
 
The free library from Atmel is built using AVR GCC and I have ported this to
Codevision and I am currently working on a project just now using it and I
can help you get going if you like, as I am sure others here will offer help
too.
 
I can tell you this, once you have a working CAN bus system, you will be
glad to took the time to do it.
 
Dave.
 
From: AVR-Chat@yahoogroups.com [mailto:AVR-Chat@yahoogroups.com] On Behalf
Of Chuck Hackett
Sent: 10 November 2010 07:35
To: AVR-Chat@yahoogroups.com
Subject: RE: [AVR-Chat] Looking for critique on board layout
 
I agree that that I want to get to full CAN eventually but I don't have the
time
required to become familiar with the ins and outs of full CAN,
develop/purchase CAN
monitoring hardware/software (including the upper most level message formats
that
are unique to my application) and there are other features in this version
that don
not need CAN/Datacom. In addition, my test site needs to implement more
blocks, and
I don't want to build any more of the current (now obsolete) block
controllers.





[Non-text portions of this message have been removed]

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.