At 07:05 PM 29/03/2005, you wrote:
>dear
> I was using atmega 32 usart to receive data from a RS485 bus .
>A master is transmitting the message to many slaves(atm32). The
>problem is: message to different slaves have different length .so
>please suggest an idea to enable the slave to receive data of
>particular length only
The protocol you use should have an addressing system to talk to
the slaves as all the RS485 systems I know of do. This means that
only the slave which has a corresponding address to the one in the
data packet will recaive the data, all others will ignore that packet.
Regards
John Samperi
******************************************************
Ampertronics Pty. Ltd.
11 Brokenwood Place Baulkham Hills, NSW 2153 AUSTRALIA
Tel. (02) 9674-6495 Fax (02) 9674-8745
Email: samperi@ampertronics.com.au
Website http://www.ampertronics.com.au
* Electronic Design * Custom Products * Contract Assembly
******************************************************