Feature #777

Add option to set DTR and RTS

Added by Dean Gibson over 7 years ago. Updated almost 7 years ago.

Status:New Start date:04/09/2013
Priority:Normal Due date:
Assignee:- % Done:

0%

Category:-
Target version:0.4.0 Estimated time:2.00 hours
Chirp Version:0.3.0 Model affected:(All models)

Description

Some serial-to radio cables use RS232-to-TTL converters, and/or have TTL logic to split out TX and RX from just one signal line (eg, most of the Icom radios). Some of these converters generate the necessary power from RTS/DTS and ground. The better ones tend to generate the power from the differential between RTS=low and DTS=high (or vice versa), allowing full RS-232 signalling levels.

The latter case requires that DTS and RTS be set differently. Note that "Ham Radio Deluxe" has had this option (stored on a per-radio configuration basis) for years, as has RumTrol (for the Icom IC-7000).

History

Updated by Tom Hayward over 7 years ago

source:chirpui/mainapp.py#L598

Radio drivers can set HARDWARE_FLOW to True or False (default is False). Does this work for you?

Updated by Dan Smith over 7 years ago

Lets discuss the best way to handle this on the -dev mailing list. I have a homebrew DTR-powered cable that seems to work fine as it is.

Updated by Jens Jensen almost 7 years ago

radio drivers can also call pyserial .setDTR(bool) and .setRTS(bool), on self.pipe

http://pyserial.sourceforge.net/pyserial_api.html

Also available in: Atom PDF

prevent spam