Yahoo Groups archive

AVR-Chat

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

Message

Re: [AVR-Chat] Connecting to microcontrollers to the same clock and between them

2007-03-29 by Reza

sorry for poor english;

first of all, you may misunderstand power of your
micro
and actual data rate you need to transfer between A
and B. for a common good idea it could be used by a
shared network using a RS485 bus or something, which
could work with any micro even with one serial port.

at the other hand, you need to call communication
software by pooling or by interrupts, which interrupts
are better, but your main logic will be difficult to
implement if you use pooling method.

the interrupt logic is a heavy way because of context
switching between interrupted task and communication
task.

but in common ways interrupt logic specially if
implemeted using a simple state machine is more
effective than you ever think of.

so, I suggest use a shared bus of micros, with a byte
address in all frames in a master-slave or token-bus
style.

maybe parallel data transfer is more faster than
serial interfacing but serial interfacing reduces
count of pins u need to communicate and micro itself
supports some features for you.

good luck;



 
____________________________________________________________________________________
Bored stiff? Loosen up... 
Download and play hundreds of games for free on Yahoo! Games.
http://games.yahoo.com/games/front

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.