Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PTT1 vs PTT2 #77

Closed
W1BTR opened this issue Jul 9, 2024 · 4 comments
Closed

PTT1 vs PTT2 #77

W1BTR opened this issue Jul 9, 2024 · 4 comments

Comments

@W1BTR
Copy link

W1BTR commented Jul 9, 2024

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?

@skuep
Copy link
Owner

skuep commented Jul 14, 2024

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

@W1BTR
Copy link
Author

W1BTR commented Jul 14, 2024

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?

@skuep
Copy link
Owner

skuep commented Jul 14, 2024

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.

@skuep
Copy link
Owner

skuep commented Sep 18, 2024

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

@skuep skuep closed this as completed Sep 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants