No serial out for CAT using Rpi-5 and piHPSDR

72 views
Skip to first unread message

Dan Habecker

unread,
Jan 8, 2026, 4:29:39 PMJan 8
to Radioberry
I had this working fine with using a Rpi-4 and decided to upgrade to a Rpi-5.

I have the serial port turned on and /ttyAMA0 enabled.  I'm connected to the same GPIO as the Rpi-4.  When I enable the serial port I see the CAT on the screen go from gray to yellow.  But, no output on an oscilliscope, just a fixed high level.

Anything I'm missing?

73,
Dan W9EQ


pa3gsb

unread,
Jan 10, 2026, 6:41:45 AMJan 10
to Radioberry
Dan,

I think you should use ttyAMA0  as device.

When you start the pihpsdr from the command and you select Enable CAt/TCI debug logging what does the output tell you?

  71.517 launch_serial_rigctl:  Port /dev/ttyACM0
    71.517 RIGCTL (open serial):: No such file or directory
    71.517 disable_serial_rigctl: Close Serial Port /dev/ttyACM0
    71.517 serial_enable_cb: Serial enable : ID=0 Enabled=0
    71.517 serial_enable_cb: Serial enable : ID=0 Enabled=0
   995.504 launch_serial_rigctl:  Port /dev/ttyAMA0
   995.504 launch_serial_rigctl: serial port fd=0
   995.504 launch_serial_rigctl: Speed (baud rate code)=12
   995.504 serial_enable_cb: Serial enable : ID=0 Enabled=1


Hope this helps

73 Johan
PA3GSB

Op donderdag 8 januari 2026 om 22:29:39 UTC+1 schreef dan.ha...@gmail.com:

SNAIL

unread,
Jan 11, 2026, 4:50:28 PMJan 11
to Radioberry
Johan where and how to look on this debug output? I have problem with CAT command and can't figure out what is wrong.

pa3gsb

unread,
Jan 12, 2026, 4:08:57 AMJan 12
to Radioberry
Hi, Starting pihpsdr in a command window like ./pihpsdr or sudo ./pihpsdr   and after clicking on CAT/TCI you select  Enable CAt/TCI debug logging  

Hope this helps

73 Johan
PA3GSB

Op zondag 11 januari 2026 om 22:50:28 UTC+1 schreef snailex...@gmail.com:

Dan Habecker

unread,
Jan 12, 2026, 9:49:01 PMJan 12
to Radioberry
Johan,

Here's what I see as a result of the debug (image attached).  It seems everything is working okay from that standpoint.  Not sure why I am seeing nothing out on that same pin.  If I undstand it correctly RPi 4 and RPi 5 both use the same pin for serial data out.

By the way, the RPi 5 is much more responsive with the touch screen. :)

73,
Dan W9EQ

IMG_8295.jpg

pa3gsb

unread,
Jan 13, 2026, 5:19:07 AMJan 13
to Radioberry
Dan,

You are using this via the GPIO pins?

If that is the case you need to tell the rpi-5 to use the gpio pins by doing:

Voeg toe aan /boot/firmware/config.txt:

dtoverlay=uart0-pi5

Reboot and see if it is working for you.

Hope this helps

73 Johan
PA3GSB


Op dinsdag 13 januari 2026 om 03:49:01 UTC+1 schreef dan.ha...@gmail.com:

Dan Habecker

unread,
Jan 13, 2026, 3:08:17 PM (14 days ago) Jan 13
to Radioberry
Johan,

Unfortunatley still no luck.

I found an example where someone uses the serial port to talk to a Flipper Zero.  In the example he sets up the console to talk through the serial port.  Particuarly in the cmdline.txt file he setup "console=ttyAMA0, 115200" in the beginning of the file.  I gave this is try and now I see data through the GPIO port during bootup and shutdown.  So it appears the GPIO port itself is working okay.

Not sure what to try next.

73,
Dan W9EQ

pa3gsb

unread,
Jan 15, 2026, 5:58:03 AM (12 days ago) Jan 15
to Radioberry
Hi Dan,

I have done a test runnig a fresh image.

Checked the interfaces tab in the control centre app of the raspberry pi:

i activated the serial port and do not use the serial console.

in the config.txt 

dtparam=uart0=on 


pi@raspberrypi:~$ pinctrl get 14-17
14: a4    pn | hi // PIN8/GPIO14 = TXD0
15: a4    pu | hi // PIN10/GPIO15 = RXD0

During start the UART is already coupled to the GPIO pins.

i hava install sudo apt install minicom

connected the gpio pin 14 and 15 (fysical 8 and 10) by a wire

started the minicom -D /dev/ttyAMA0 -b 115200

and when typing characters on the keyboard they are echoing ; so the uart is working.

removing the wire no echo is seen.

please try if this is also working for you?

I have not checked this with pihpsdr.



The rpi-5 does contain a connection for a debug serial connection it uses a small connector and can be used to login via serial console connection.
But i think it should also be possible to remove this debug info and use this connector with a small connector to use this connector without soldering.
Some config changes needed i suppose; may be someone like to use this option; please let us know how this config should look like.

Hope this helps.

73 Johan
PA3GSB

Op dinsdag 13 januari 2026 om 21:08:17 UTC+1 schreef dan.ha...@gmail.com:

Dan Habecker

unread,
Jan 16, 2026, 9:37:42 PM (10 days ago) Jan 16
to pa3gsb, Radioberry
Johan,

I gave it a try and I get data out of the GPIO pin using minicom when pressing keys.

73,
Dan W9EQ

--
You received this message because you are subscribed to a topic in the Google Groups "Radioberry" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/radioberry/pzIBaZY2Rqo/unsubscribe.
To unsubscribe from this group and all its topics, send an email to radioberry+...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/radioberry/470cb756-bd08-4233-98d9-ec7e24718388n%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages