So I was able to get PTT, Audio Out, Audio In from SP2 and SP1, and CI-V working at the same time. I believe I broke a Digirig while figuring this out though by connecting the cables the wrong way so if you want to set this up yourself be careful. Here’s the equipment I used:
- Digirig Mobile in CI-V CAT configuration
- ICOM RJ 45 Cable
- Generic CM108 USB Audio Adapter
- TRS Audio Splitter
- 2x TRS Audio Cables
Here is a diagram of how this is all connected together:
I used the following references:
- This page - idea to use TRS splitter cable for tip/sleeve connections.
- ICOM Manual, page 5 - SP1 and SP2 behavior.
- ICOM ExMenu Reference, page 24 - SP2 Audio/CI-V pinout.
I plan to document the software side on my personal website as well and I will link to that article here when I do but in the meantime some tips:
- Direwolf or whatever is using the Digirig should be configured to use the Digirig’s serial port’s RTS signal for PTT.
- Hamlib rigctl needs to be told to not use the RTS or DTS signals when talking over the serial port (see the exact command I use below).
- The CI-V address and baud rate in the radio’s EXMENU menu must match what you use with rigctl to try and talk to it over the serial port. By default the baud rate is on AUTO so I changed it to 19200 and I also confirmed my CI-V address.
Here’s the rigctl command I use to talk to the radio:
rigctl --model=3072 --rig-file=/dev/ttyDigiRig --serial-speed=19200 --civaddr=0x90 --set-conf=rts_state=OFF <commands go here>
I’m not positive but I believe what damaged my first Digirig I tried this with was swapping the SP1 and SP2 connections. I believe (but have not checked) that SP1 is a TS connector which would short the TR connections on a TRS cable together and if that happens to be the TRS splitter as shown above then you’re connecting pins on the Digirig Serial/Audio ports that are probably not meant to be connected. Anyways, I’m planning to send the broken one to K0TX, and maybe he can figure out what broke inside which may give further clues as to what happend to it.
One thing I haven’t figured out yet: it seems that every so often when issuing a CI-V command the PTT is still triggered. I’m not sure if this is a software issue (with multiple programs trying to use the /dev/ttyDigiRig serial port) or a hardware issue (interferance, radio setting, etc). If anyone knows or figures it out please let me know.