Hmm.... Starting to get pretty far from my hardware (18f248 w/internal can controller) so I'm not sure the code would be directly useful to me (besides, my assembly isn't exactly the best :-) But maybe a couple questions?
If I understand the CAN concept correctly, I put the data to be sent in the transmit buffers, set a couple flags (priority, message length) and the transfer is actualy a background proccess - no more cpu cycles. The recieving end is similar, reception actualy takes no cpu time, the data is placed into the recieve buffers (depending on the reception filters) then a buffer full interrupt is set.
Is that about right?
I'm sure I'll have more questions as I get into this, but it's a low priority at the moment.
Thanks,
-Denny




Bookmarks