Yahoo Groups archive

AVR-Chat

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

Message

Re: [AVR-Chat] RS485 w/ MAX481, terminators not needed?

2004-10-05 by John Samperi

At 11:09 PM 4/10/04 -0400, you wrote:
>protocol with a few bytes of leadin (like ROBIN - see
>http://www.bdmicro.com/code/robin), you might not even notice these
>"glitches".

Very interesting, but the following doesn't make any sense:

0x01 - invalid parameter or command not possible. This would be 
the response if one commanded a node to run at 115200 baud, 
but the node could not actually run that fast. 

How would the node respond if it cannot communicate with the
master? :-)

I use a similar "home brewed protocol" for our equipment, but without
the flags field. The maximum data lenght is 255 bytes but I'm considering
a long packets mode (2 bytes len) because some of our electronic signs
need up to 450 chars. Perhaps I should include the flags field also.
I use 16 bit CRC which is supposed to give bit error check for up to 8Kb
packets. By the way it is not very difficult to use 9 bit mode with your PC,
there is a thread on the subject on Avrfreaks.net. I thought for a long
time that it would be hard without knowing that this facility has been
available with the PC UART for about 20 years, just using a different name.
I'm currently working on a Delphi interface to our products using the 9 bit
data protocol and it works like a charm.

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
******************************************************

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.