ts-7000
[Top] [All Lists]

Re: [ts-7000] TS-7550 XUARTs

To:
Subject: Re: [ts-7000] TS-7550 XUARTs
From: Mark Featherston <>
Date: Wed, 31 Aug 2011 12:12:18 -0700
Mike,

The TS-7550 would be a great fit for this.

 > The intent would be to crack the serial packets (which include 2 
crc32 checks) down to their 60byte binary size, buffer 10 or so serial 
packets per channel, (600bytes per ethernet packet) and send them on up 
to a host for logging and display.

Xuartctl actually already does somethign very similar.  As long as your 
host system is running a posix system that implements psuedo terminals 
(Linux, BSD, OSX, etc), you can connect to the xuartctl server running 
on each TS-7550 and create a local /dev/pts/# device.

The simple example would be something like this:

# xuartctl --port=192.168.0.50:7350 --speed=9600
ttyname=/dev/pts/0

This will connect to 192.168.0.50 and create a local /dev/pts/# device. 
  Port 7350 is the first xuart port, they count up from there so 7351 
would be the second.

For example, this would create /dev/tty0xuart0-7 for one board.  You 
could just change this to create a /dev/tty1xuart0-7 for the next board, 
or however you'd want to label it.

eval $(xuartctl --server --port 192.168.0.10:7350 --speed 115200 2>&1); 
ln -s $ttyname /dev/tty0xuart0
eval $(xuartctl --server --port 192.168.0.10:7351 --speed 115200 2>&1); 
ln -s $ttyname /dev/tty0xuart1
eval $(xuartctl --server --port 192.168.0.10:7352 --speed 115200 2>&1); 
ln -s $ttyname /dev/tty0xuart2
eval $(xuartctl --server --port 192.168.0.10:7353 --speed 115200 2>&1); 
ln -s $ttyname /dev/tty0xuart3
eval $(xuartctl --server --port 192.168.0.10:7354 --speed 115200 2>&1); 
ln -s $ttyname /dev/tty0xuart4
eval $(xuartctl --server --port 192.168.0.10:7355 --speed 115200 2>&1); 
ln -s $ttyname /dev/tty0xuart5
eval $(xuartctl --server --port 192.168.0.10:7356 --speed 115200 2>&1); 
ln -s $ttyname /dev/tty0xuart6
eval $(xuartctl --server --port 192.168.0.10:7357 --speed 115200 2>&1); 
ln -s $ttyname /dev/tty0xuart7

With these /dev/pts/# or linked /dev/tty#xuart# devices, you can just 
simply program with them as a normal serial device from your remote system.

I also have a wiki page with some more details, but let me know if you 
have any other questions on this kind of setup:
http://oz.embeddedarm.com/~mark/index.php/Xuartctl

Best Regards,
________________________________________________________________
  Mark Featherston, Technologic Systems | voice: (480) 837-5200
  16525 East Laser Drive                | fax: (480) 837-5300
  Fountain Hills, AZ 85268              | web: www.embeddedARM.com

On 08/31/2011 11:34 AM, mike ingle wrote:
> Hi all,
>
> I need to maintain communications with 80 devices overRS-232 serial
> (115k). Each device streams an approximately 120 byte packet every 100ms.
> also the host, can send packets, and expect a response at any time. The
> packets are hex encoded with out of band start and stop characters.
>
> I am contemplating using 10 ts-7550s (with appropriate level shifters)
> to control the devices, and forward the data over ethernet. The intent
> would be to crack the serial packets (which include 2 crc32 checks) down
> to their 60byte binary size, buffer 10 or so serial packets per channel,
> (600bytes per ethernet packet) and send them on up to a host for logging
> and display.
>
> My data rate calculations show very modest ethernet usage (8 x 600 bytes/s).
>
> On the surface the ts-7550 looks like a nice fit for this. Anyone have
> any experience with the XUARTs , or better suggestions? Probably no more
> than 3 <80 channel systems> will be built.
>
> Best Regards Mike
>
> 


------------------------------------

Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/ts-7000/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/ts-7000/join
    (Yahoo! ID required)

<*> To change settings via email:
     
    

<*> To unsubscribe from this group, send an email to:
    

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/

<Prev in Thread] Current Thread [Next in Thread>
Admin

Disclaimer: Neither Andrew Taylor nor the University of NSW School of Computer and Engineering take any responsibility for the contents of this archive. It is purely a compilation of material sent by many people to the birding-aus mailing list. It has not been checked for accuracy nor its content verified in any way. If you wish to get material removed from the archive or have other queries about the archive e-mail Andrew Taylor at this address: andrewt@cse.unsw.EDU.AU