RS-485 works by clearing bit 15 in the register at 0xE800000C, and then
you can configure it the same as any normal serial port.
Reading/writing is the same as any TTY, as you said. Note that for the
7800 you have 2 half duplex ports, which can be combined for 1 full
duplex port. These ports will appear as two half duplex ports,
/dev/ttts2 and /dev/ttts3. If you want to use full duplex, you'll just
be writing on one TTY and reading on the other.
Robert
-----Original Message-----
From: On Behalf
Of jtheath4u
Sent: Thursday, October 28, 2010 12:01 PM
To:
Subject: [ts-7000] TS-7800 RS-485 guidance?
Hi All,
First post to the group. Also just getting started with Technologic
Systems' TS-7800. We're planning to use the board for motor controls.
One of the first tasks is to get RS-485 up and running. Documentation
is pretty sparse. Need to clear bit 15 in the PC104/UART configuration
register. Baud rate is set by 3 bits in uart-associated status
register.
Do "normal" serial configuration operations work on the RS-485 port?
Does one open the device (say /dev/ttts2) and read/write as any other
TTY?
Any guidance/instruction on 7800 RS-485 port use would be appreciated.
Thank you, Joe
------------------------------------
Yahoo! Groups Links
------------------------------------
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/
|