Quantcast
Channel: MCS Electronics Forum
Viewing all articles
Browse latest Browse all 20563

BASCOM-AVR : AVR CAN BUS : REPLY

$
0
0
- I am no CAN expert either, i did read the PDF over and over till i understood how atmel uses it. but before that i only knew that it was invented by Bosch and used in cars. CAN support was planned years ago and since 2007 i studied some documents. But it was mostly related to car communication. - i think the can message object reconfiguration is inherent at how CAN works. - the compiler will send as many bytes as requested and will automatic use the number of bytes depending on the user data type, but since you depend on the object, you need to specify the same number of bytes. - it works ok for the first message because that one is configured with the right length. but once the data is sent, and the interrupt fires, you must redefine the CANMOB. When not specifying the same length, it will send a different length. (1 because you copied the elektor sample). - while the start might be hard because the concept is a bit different then we are used to, i tried to make it as simple as possible. so it is relatively easy to use. it opens a new world.

Viewing all articles
Browse latest Browse all 20563

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>