Project

General

Profile

Actions

Feature #777

open

Add option to set DTR and RTS

Added by Dean Gibson about 11 years ago. Updated over 10 years ago.

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

0%

Estimated time:
2.00 h
Chirp Version:
0.3.0
Model affected:
(All models)
I read the instructions above:

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).

Actions #1

Updated by Tom Hayward about 11 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?

Actions #2

Updated by Dan Smith about 11 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.

Actions #3

Updated by Jens Jensen over 10 years ago

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

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

Actions

Also available in: Atom PDF