skuep/AIOC

PTT1 vs PTT2

W1BTR opened this issue · 4 comments

How does one control PTT1 vs PTT2, is it DTR vs RTS, or are they both triggered simultaneously?

Perhaps I misunderstand how it works, could you explain how it accomplishes dual ptt?

Hi there. Currently (by default) PTT2 is mapped to CM108 GPIO4. See here

#define SETTINGS_REG_AIOC_IOMUX1_PTT2SRC_DFLT (SETTINGS_REG_AIOC_IOMUX1_PTT2SRC_CM108GPIO4_MASK)

There is a way to change this configuration in the pre release firmware. There are some scripts in the issue tracker somewhere showing how to change the PTT mapping. Note that they need the pre release software and you need some Linux device for running the scripts (currently).

Hi there. Currently (by default) PTT2 is mapped to CM108 GPIO4. See here

#define SETTINGS_REG_AIOC_IOMUX1_PTT2SRC_DFLT (SETTINGS_REG_AIOC_IOMUX1_PTT2SRC_CM108GPIO4_MASK)

There is a way to change this configuration in the pre release firmware. There are some scripts in the issue tracker somewhere showing how to change the PTT mapping. Note that they need the pre release software and you need some Linux device for running the scripts (currently).

Im more curiois on how it is used kn the computer side. How does computer software support the dual ptt feature, and what does it change on the output? Does it short the ptt2 connection to ground or do something else?

Or are you saying that it cannot currently be changed on the fly, but instead must be changed with the firmware or scripts?

Yes, neither RTS nor DTR is currently "connected" to the PTT2 pin (the reason for that can be read in issue #11). Only the CM108 GPIO4 can be used for PTT2 (by default, this can be changed with a script or firmware recompile).

I am open in changing the default for PTT2 if it does not collide with findings in the issue #11. In summary, we found that Windows (in particular) is always setting those RS232 control pins willy-nilly (I think something about probing for serial mouses?) and it was hard to find a combination (for PTT1) that is "quiet" on all operating systems, when no actual ham software is in use.

Due to inactivity, I am going to close the issue. Feel free to reopen if you need more help.