Radioberry PIHPSDR CW and PTT

25 views
Skip to first unread message

SNAIL

unread,
Jan 15, 2026, 8:02:11 PM (12 days ago) Jan 15
to Radioberry
I'm working on transceiver based on Bookworm OS (64 bit), PIHPSDR 2.6 11.11.2025.
Compiled with ALSA audio. Have problem with CW/PTT configuration.
Cn301 pin 6 transmitting DOTs, pin 5 transmitting DUHs, pin 14 transmitting DOTs as well in CW mode. In any phone mode or DIGI pin 14 works as PTT, pins 5 and 6 are not working. How to set pin 14 in CW mode to work as CWkey, just straight key? 
Thank you.

pa3gsb

unread,
Jan 16, 2026, 10:12:49 AM (11 days ago) Jan 16
to Radioberry


Paddle Mode. Here the choice is Iambic Mode A, Iambic Mode B, and
Straight Key. In Straight Key mode, the key has to be connected to the
dash paddle, since the built-in keyer implements a bug mode there (automatic
dots from the dot paddle, straight key behaviour for the dash paddle).
When using an external keyer, use StraightKey mode and connect the keyer
output to the dash paddle input.

Hope this helps

73 Johan
PA3GSB

Op vrijdag 16 januari 2026 om 02:02:11 UTC+1 schreef snailex...@gmail.com:

SNAIL

unread,
Jan 16, 2026, 7:37:26 PM (11 days ago) Jan 16
to Radioberry
Thank you, Johan, I have seen this option. But I can't understand the logic of why CN301 pin14 isn't used for the direct key, while pin 5 and pin 6 are still used for the iambic keyer. This would allow using the microphone's push-to-talk button as a CW straight key. Just switch mode. Looking for help to tweak PIHPSDR src/gpio.c file to make it work. As for now we have pin 5 sending DOT's, pin 6 straight key, pin 14 sending DOT's.

pa3gsb

unread,
Jan 17, 2026, 2:21:37 AM (10 days ago) Jan 17
to Radioberry
i do not understand what you want. 

CN301
pin 13  is a pin connected by the FPGA and is not connected to one of the GPIO pins. It gives you the possiblity to control the trasmit mode outside pihpsdr.
pin 14  is a pin connected by the FPGA and is not connected to one of the GPIO pins. It gives you the possiblity to connect a straight key and doing morse outside pihpsdr.
(your remark about pin 14 is not used for direct key is true for control via pihpsdr but for a direct connection)

pin 5 and pin 6 are pins connected via the FPGA to the GPIO pins and can be used for doing morse code via pihpsdr.

Look at the schematic you will find the wiring.

As said i am not sure which goal you are aiming for but i hope this additional info is of any help.

73 Johan
PA3GSB

Op zaterdag 17 januari 2026 om 01:37:26 UTC+1 schreef snailex...@gmail.com:
Reply all
Reply to author
Forward
0 new messages