Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

REQ:linux programming to control serial port's DTR as rs485

Status
Not open for further replies.

ZeRoN

Advanced Member level 4
Full Member level 1
Joined
Jun 28, 2001
Messages
104
Helped
1
Reputation
2
Reaction score
1
Trophy points
1,298
Activity points
1,184
linux rs485

I want to write a program, running under PC. linux (redhat).
to use PC.'s serial port work as RS485, use DTR to control direction.
(use 75176 or MAX485)

Could anyone show me the sample?

Should I need to modify kernel source's serial port driver?

ZeRoN
 

linux dtr

this is the Linux serial how to

showcase.netins.net/web/tool/info/dumbterm.html
 

dtr rs485

The link not said about, automatically control DTR as TX/RX direction.

I mean, I want DTR=ON, send a character, then DTR=OFF automatically for all character when I write to /dev/ttyS*.
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top