piHPSDR customize for HLv2

1,562 views
Skip to first unread message

Takashi K

unread,
Dec 11, 2017, 12:02:03 AM12/11/17
to Hermes-Lite
Hi All,

I modified piHPSDR v1.2.2 to use AD9866 RxPGA(-12dB to +48dB)
and also modified FWD analog meter range to match with HLv2 RF output power.
I uploaded the modification documents on my git.

73, Taka  ji1udd
RX_GAIN_mod.jpg
FWD_meter_mod.jpg

PA3GSB

unread,
Dec 11, 2017, 7:17:20 AM12/11/17
to Hermes-Lite
Hi Taka

I dont know if you are a morse keyer fan.....

i modified the pihpsdr for morse at http://www.pa3gsb.nl/journal.php#20 you can find some information.

Maybe interesting for you?

73 Johan PA3GSB


Op maandag 11 december 2017 06:02:03 UTC+1 schreef Takashi K:

Takashi K

unread,
Dec 11, 2017, 4:34:36 PM12/11/17
to Hermes-Lite
Hi Johan,

Interesting.
Does Radioberry reduce Rx Gain or increase attenuation during CW keying to avoid AGC satulation ?

73, Taka  ji1udd

PA3GSB

unread,
Dec 12, 2017, 2:03:05 PM12/12/17
to Hermes-Lite
Taka,

The radioberry is running in halfduplex mode; but if required easy to achieve by adding some lines of code.

73 Johan PA3GSB


Op maandag 11 december 2017 22:34:36 UTC+1 schreef Takashi K:

Takashi K

unread,
Dec 13, 2017, 4:05:39 PM12/13/17
to Hermes-Lite
Hi Johan,

Thanks for your reply.
I checked again whether AGC saturates during transmission,
but the phenomenon did not reproduce. I will investigate a little more.
My piHPSDR sometimes returns to the initial setting, so it may be the cause.


73, Taka  ji1udd

Graeme Jury

unread,
Dec 13, 2017, 5:06:16 PM12/13/17
to Hermes-Lite
Hello Takashi san,

I made the changes to the piHPSDR code and ran it with my HLv1.4. It wasn't too bad although it wasn't right of course. The slider gave incorrect meter readings although it did control the gain of the LNA and the best result is with random checked. If you leave dither checked there is a noticeable jump going each side of 32 as I expected would happen. With nothing checked it works reasonably well although the metering is way out. Are you going to do a pull request for John Melton? If he is interested he could do an if (Hermes-Lite) type statement to alter the metering and slider characteristics and increase the versatility of his great design.

I am very keen to keep my HLv1.4 running as I will turn it into a stand alone radio and dedicate it to a Whisper station. The other thing I am keen to do is to be able to operate it from any PC in the house. I can sort of do it at present but both Quisk and piHPSDR fill their buffers when running over wifi even though I have a fairly quick system and I don't want to be tied to an ethernet cable. I guess I could try increasing the buffer size and suffer the latency but the best solution I suppose would be to have a DSP server or the DSP code in the fpga but I don't think it is big enough for that.

I am really impressed with your stand alone station and your really valuable solution to the raspberryPi audio deficiencies plus of course the CW. Thanks for all your research and solutions which have been a great help to me.

73 de Graeme zl2apv

Takashi K

unread,
Dec 14, 2017, 6:44:49 AM12/14/17
to Hermes-Lite
Hello Graeme san,

The RxGAIN modification uploaded to my git do not work well with HLv1. It's only for HLv2.
Because RxGAIN controll protocol is differnt between HLv1 and v2. V2 firmware does not re-use Dither and Random.
I think that it is better to modify HLv1 firmware in the same way as HLv2 but modifying piHPSDR is easier for you.
The part to be modified is as follows, but I have not tested yet. Just idea.


old_protocol.c (v1.2.2)
line 800:
 ORG: if(active_receiver->dither) {
 MOD: if(adc_attenuation[receiver[0]->adc] < 32) {

line 1024:
 ORG: output_buffer[C4]=0x00;
 MOD: output_buffer[C4]=0x1F & (63 - adc_attenuation[receiver[0]->adc]) ;

> Are you going to do a pull request for John Melton?
I have no plan.
Because, according to my git access count, both HL and piHPSDR user are very few.

> but both Quisk and piHPSDR fill their buffers when running over wifi
> even though I have a fairly quick system and I don't want to be tied to an ethernet cable.
Sorry, I don't understand where is bottleneck.

73, Taka  ji1udd

Graeme Jury

unread,
Dec 14, 2017, 2:29:54 PM12/14/17
to Hermes-Lite
Thank you for the information. I will experiment with this and see if I can get the slider running properly on the HL1. Shouldn't be too long before the HL2 B5 appears.

Yes the bottleneck is a mystery to me too. I would have thought that my wifi network was fast enough and I have no problems with the spectrum displays, only the sound. It runs for a minute or more and then breaks up the audio while the buffers sort themselves out. Does the same thing on transmit too both with Quisk and piHPSDR.

73 Graeme

Takashi K

unread,
Dec 15, 2017, 7:58:35 AM12/15/17
to Hermes-Lite
Hi Graeme san,

It's a mystery but It may be a timing issue depended on WiFi router.
Could you check using another WiFi router ?

73, Taka  ji1udd

Takashi K

unread,
Dec 17, 2017, 6:43:55 AM12/17/17
to Hermes-Lite
Hi all,

I added temperature monitor and PA ammeter to piHPSDR.
The document is on my git.

73, Taka  ji1udd

Temperature_Ammeter_Mod.jpg

John Williams

unread,
Dec 27, 2017, 1:06:33 PM12/27/17
to herme...@googlegroups.com

Graeme,

Any luck with the v1.4 ?

John

--
You received this message because you are subscribed to the Google Groups "Hermes-Lite" group.
To unsubscribe from this group and stop receiving emails from it, send an email to hermes-lite...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Graeme Jury

unread,
Dec 27, 2017, 1:39:31 PM12/27/17
to Hermes-Lite
Hi John,

Been tied up with family, health and all manner of sidetracks so have not got to it yet. Will keep you posted.

73, Graeme

John Williams

unread,
Dec 27, 2017, 2:32:10 PM12/27/17
to herme...@googlegroups.com

Thanks for the quick reply, Graeme. If you get a few minutes can you jot town what is working ok for you. It is 5 degrees F here so feeling like playing in the shack for a few days. I have a Pi 2B and a 7in touchscreen. Going to use the image that Steve sent out and install piHPSDR on it and give it a go.

John

John Williams

unread,
Dec 29, 2017, 1:29:17 PM12/29/17
to herme...@googlegroups.com

What version of OS are you guys using on the pi? Cannot get the C-Media dongle to work on either Jessee or Stretch. Worked on Wheezy raspian. Need it for the mic input.

Really like pihpsdr!

John


On 12/27/2017 12:39 PM, Graeme Jury wrote:

Jack Generaux

unread,
Dec 29, 2017, 2:09:04 PM12/29/17
to Hermes-Lite
I'm using Armbian on my Tinkerbox.  It even recognized the Odroid VU8 touchscreen.  I just got things settled in on the Tinkerbox and waiting on a pcb and enclosure for the pihpsdr console.  I switched out my Odroid C2 for the the Tinkerboard to get the GPIOs compatible with pihpsdr.

73 & Happy NY
Jack (W0FNQ)

Graeme Jury

unread,
Dec 29, 2017, 2:12:13 PM12/29/17
to Hermes-Lite
Hello John,

I have tried the change to the code that Takashi posted

old_protocol.c (v1.2.2)
line 800:
 ORG: if(active_receiver->dither) {
 MOD: if(adc_attenuation[receiver[0]->adc] < 32) {

line 1024:
 ORG: output_buffer[C4]=0x00;
 MOD: output_buffer[C4]=0x1F & (63 - adc_attenuation[receiver[0]->adc]) ;

I used it on the latest piHPSDR code that John posted on his github last night and it seems to work just fine. I did not do the metering changes That Takashi posted as I am not sending this information from HL1. As he suggested the ideal solution is to alter the HL1 code to match the HL2 but I don't have the skill to do this. Yes piHPSDR is a very nice unit particularly if you want a stand alone radio but I still use Quisk all the time as I like the "always use buttons" on the screen, not via a menu. The huge advantage of piHPSDR is the noise processing which works amazingly well particularly on 80M band.

My filter board works beyond my expectation although what I can't measure is how much if any IMD is introduced by the TX diode switches. I only have the VNA in Quisk which while displaying the filter shape does not give me the information a spectrum analyser would on the harmonic output. I have cut my RX Hi pass filters down to 3 on 80, 40, and 30. There was no advantage in more higher up in frequency. I wonder if that will change when the bands open up in a few years time?

Your WX has been on our TV here in ZL and I can see why spending a few days in a warm shack has so much appeal. Take care on the roads.

73, Graeme ZL2APV

John Williams

unread,
Dec 29, 2017, 2:29:15 PM12/29/17
to herme...@googlegroups.com

Graeme,

I will give that a try. I am using a 7 in Pi touchscreen so pihpsdr runs nice. I tried quisk but not as comfortable with it.

What audio card/dongle are you using?

John

John Williams

unread,
Dec 29, 2017, 2:30:53 PM12/29/17
to herme...@googlegroups.com

Hi Jack,

Mind describing how you are planning to do the enclosure and also show the pcb?

John

John Williams

unread,
Dec 29, 2017, 2:38:04 PM12/29/17
to herme...@googlegroups.com

Jack,

Did you give up on the Pine64. Got one laying around...

John


On 12/29/2017 1:09 PM, Jack Generaux wrote:

Jack Generaux

unread,
Dec 29, 2017, 3:56:43 PM12/29/17
to Hermes-Lite
John,

I did have the Pine64 working; but it did stutter quite a bit.  I switched to the Odroid C2 and it was great, except for the problems with the GPIO resources and pihpsdr.  I emailed Sid Boyce and Steve Wilson about potential work arounds, but the local computer mart (Microcenter) had the Tinker Board on sale for $50 and it doesn't have the GPIO issues since John Melton is using "WiringPi"  now instead of Pigpio.  I haven't connected the ports yet, but from what I understand it should be trivial (famous last words.)  The Tinkerboard is the same footprint as the C2.

I have a Grizzley hand brake that I have been using to form my enclosures recently, but have not finalized my plans -- i am still trying to make up my mind if I want a docking station or a standalone control box.  I have attached a couple images of the parts and also the circuit board.  The circuit board is just to have a support mechanism for the small momentary switches.

73,
Jack(W0FNQ)
frontpanel.png
IMG_1713.JPG

Takashi K

unread,
Dec 29, 2017, 4:18:05 PM12/29/17
to Hermes-Lite
Hi John-san,

I'm using Raspbian JESSIE(2017-07-05) when compile piHPSDR. I could not compile piHPSDR well using STRETCH(2017-09-07) and the older JESSIE in my case. I always use my audio codec board with HL to avoid USB sound issue so I cannot advice about this.

73, Taka  ji1udd

Takashi K

unread,
Dec 29, 2017, 4:49:15 PM12/29/17
to Hermes-Lite
Hi Graeme-san,

Thank you for your verifying my idea.

> As he suggested the ideal solution is to alter the HL1 code to match the HL2 but I don't have the skill to do this.
There is another difference between HLv1 and v2 for Rx.
HLv1 has the internal AGC function but HLv2 doesn't have. It's not very useful ??

> The huge advantage of piHPSDR is the noise processing which works amazingly well particularly on 80M band.
Also PSK, FreeDV and Pure-Signal seems enjoyable, but I have not used yet.... 

73, Taka  ji1udd

Graeme Jury

unread,
Dec 29, 2017, 6:56:27 PM12/29/17
to herme...@googlegroups.com
Hello Taka-san,

Thanks for the pointer to the slider code. When I get a chance I will get the scale to read from -12 to +48 rather than 0 to 30 and see if i can do something with internal AGC which I leave switched off. Something is not quite right with my HL1 on RX as it has a high ambient noise and poor sensitivity. Yet another job to attend to.

I have been enjoying FreeDV QSO's across the Tasman sea to my friend in VK who is friends with David Rowe who wrote Codec-2. Have not done anything with Pure-Signal yet either but looking forward to the future.

yoi otoshi o (Happy New Year)

73, Graeme ZL2APV

Takashi K

unread,
Dec 29, 2017, 10:36:13 PM12/29/17
to Hermes-Lite
Hello Jack,

> I did have the Pine64 working;

If you remember, could you teach me know how to use piHPSDR on PINE64 ?
I have compiled it with GPIO disable before. The compile was OK, but It didn't start up.

> Tinker Board on sale for $50 and it doesn't have the GPIO issues
> since John Melton is using "WiringPi"  now instead of Pigpio.

In my case, if piHPDSR uses WiringPi library,
my Power Supply control board did not work well with Raspberry Pi.
So I am using v113 gpio.c (uses Pigpio library)  which applied the changes since v120.

Just FYI.


73, Taka  ji1udd

Takashi K

unread,
Dec 29, 2017, 11:28:32 PM12/29/17
to Hermes-Lite
Hello Graeme-san,

> When I get a chance I will get the scale to read from -12 to +48
> rather than 0 to 30 and see if i can do something with
> internal AGC which I leave switched off.
If you get good result, please let me know.

> I have been enjoying FreeDV QSO's across the Tasman sea
>  to my friend in VK who is friends with David Rowe who wrote Codec-2.
I'm surprised that you have already enjoyed FreeDV.

Happy New Year to you too.


73, Taka  ji1udd

Naidu B N A M

unread,
Dec 30, 2017, 7:01:56 AM12/30/17
to Hermes-Lite
Hi Takashi,
Soon I am getting HL2 Beta5. I am curiously following your project. As far my memory goes, you are using HL2beta3. What I want to know, is weathe your codec board and other boards are copatible with HL2Beta5. I request you to provide a detaild notes to impliment your project using HL2Beta5.
73
VU2ZAZ ( B N A M Naidu

Sid Boyce

unread,
Dec 30, 2017, 10:13:03 AM12/30/17
to herme...@googlegroups.com
I had HL 1.4 working with an ODROID-C2 and a dual MCP23017 IO-Pi-Plus
and rotary encoder https://www.abelectronics.co.uk/p/54/IO-Pi-Plus with
help from Steve (KA6S) but we were waiting on John Melton to settle on
exact configuration.

Currently running HL 1.4 + JW's 5W PA/LPF board via -C2's on the network

John had also been using a keypad with the IO-Pi-Plus board for direct
entry.

Fast forward - Family matters, illness and pihpsdr support ANAN
7000/8000 series has meant not looking at support for anything else
promised  ... LimeSDR, ODYYSEY-2, etc.

His latest code does not include MCP23017. Only SX1509 is included but I
have not looked it it closely.
Initially went with SX1509 then switched when it looked as though the
IO-Pi-Plus was going to be the standard.
73 ... Sid.

On 29/12/17 20:56, Jack Generaux wrote:
> John,
>
> I did have the Pine64 working; but it did stutter quite a bit. I
> switched to the Odroid C2 and it was great, except for the problems
> with the GPIO resources and pihpsdr.  I emailed Sid Boyce and Steve
> Wilson about potential work arounds, but the local computer mart
> (Microcenter) had the Tinker Board on sale for $50 and it doesn't have
> the GPIO issues since John Melton is using "WiringPi"  now instead of
> Pigpio.  I haven't connected the ports yet, but from what I
> understand it should be trivial (famous last words.)  The Tinkerboard
> is the same footprint as the C2.
>
> I have a Grizzley hand brake that I have been using to form my
> enclosures recently, but have not finalized my plans -- i am still
> trying to make up my mind if I want a docking station or a standalone
> control box.  I have attached a couple images of the parts and also
> the circuit board.  The circuit board is just to have a support
> mechanism for the small momentary switches.
>
> 73,
> Jack(W0FNQ)
> --
> You received this message because you are subscribed to the Google
> Groups "Hermes-Lite" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to hermes-lite...@googlegroups.com
> <mailto:hermes-lite...@googlegroups.com>.

John Williams

unread,
Dec 30, 2017, 3:45:26 PM12/30/17
to herme...@googlegroups.com

Taka-san,

I resolved my audio card issue. Now compiling pihpsdr to incorporate your suggested changes. Where can I find libcodec2-dev for raspian jessie?

John

Takashi K

unread,
Dec 30, 2017, 4:55:47 PM12/30/17
to Hermes-Lite
John-san,
I'm not using FreeDV now. I modified Makefile to comment out FreeDV.

Graeme-san,
Do you have any advice ?

73, Taka  ji1udd

Takashi K

unread,
Dec 30, 2017, 5:24:35 PM12/30/17
to Hermes-Lite
Thank you for your interest in my project.

Unfortunately my audio codec board and filter board are not compatible with Beta5.
Beta5 has different location of connectors and mount holes, and less room for codec board.

73, Taka  ji1udd

Graeme Jury

unread,
Dec 30, 2017, 7:28:50 PM12/30/17
to Hermes-Lite
Hello Takashi-san,

I sent a reply to John's post on this list but was out and using my cell phone so I accidentally sent it directly to him rather than the list. Here is the message that I sent and I am sure if it is not quite right that Sid Boyce will be able to correct it.

Hi John, 

You will need to download it from the svn and compile it using the instructions in the INSTALL file. You will need the speex dependencies including the libspeexdsp-dev. 

73, Graeme zl2apv

Graeme Jury

unread,
Dec 30, 2017, 7:36:49 PM12/30/17
to Hermes-Lite
Sorry I also mistyped the url for the codec2-dev svn. Here is the correct version ...

svn checkout https://svn.code.sf.net/p/freetel/code/codec2-dev

73, Graeme

John Williams

unread,
Dec 30, 2017, 7:37:58 PM12/30/17
to Graeme Jury, Hermes-Lite

I figured it out.


Graeme Jury

unread,
Dec 30, 2017, 7:49:42 PM12/30/17
to Hermes-Lite
Thats great John,

Did you get it to install OK? I think I had to add a symlink in the Quisk freedv directory and also add the extra options to .quisk_conf.py to set it up for Quisk.

## freedv_tx_msg            FreeDv Tx message, text
# For freedv, this is the text message to send.
#freedv_tx_msg = ''
freedv_tx_msg = 'ZL2APV Graeme, New Plymouth, RF70bw\n'


# This is the list of FreeDV modes and their index number.  The starting mode is the first listed.
freedv_modes = (('Mode 1600', 0), ('Mode 700', 1), ('Mode 700B', 2), ('Mode 700C', 3), ('Future 4', 4))

Have not set up FreeDV on piHPSDR yet and all my QSO's have been via Quisk. I don't use piHPSDR very much and probably wont until the HL1 support is improved. I suspect that John Melton will have commercial obligations to Annan which need to come before the hobbyists even if he would rather it was the other way hi.

73, Graeme zl2apv

Sid Boyce

unread,
Dec 30, 2017, 7:52:28 PM12/30/17
to herme...@googlegroups.com
All fine Graeme.
I started to do the same until I read Takashi's reply that he wasn't
using FreeDV and i canned the email.
73 ... Sid.

On 31/12/17 00:28, Graeme Jury wrote:
> Hello Takashi-san,
>
> I sent a reply to John's post on this list but was out and using my
> cell phone so I accidentally sent it directly to him rather than the
> list. Here is the message that I sent and I am sure if it is not quite
> right that Sid Boyce will be able to correct it.
>
> Hi John,Â
>
> You will need to download it from the svn and compile it using the
> instructions in the INSTALL file. You will need the speex dependencies
> including the libspeexdsp-dev.Â
> svn checkout https://svn.code.sf.net/p/freetel/code/codec-2-devÂ
>
> 73, Graeme zl2apv
>
>
> On Sunday, December 31, 2017 at 10:55:47 AM UTC+13, Takashi K wrote:
>
> John-san,
> I'm not using FreeDV now. I modified Makefile to comment out FreeDV.
>
> Graeme-san,
> Do you have any advice ?
>
> 73, Taka  ji1udd
>
> --
> You received this message because you are subscribed to the Google
> Groups "Hermes-Lite" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to hermes-lite...@googlegroups.com
> <mailto:hermes-lite...@googlegroups.com>.
> For more options, visit https://groups.google.com/d/optout.


--
Sid Boyce ... Hamradio License G3VBV, Licensed Private Pilot
Emeritus IBM/Amdahl Mainframes and Sun/Fujitsu Servers Tech Support
Senior Staff Specialist, Cricket Coach
Microsoft Windows Free Zone - Linux used for all Computing Tasks

Sid Boyce

unread,
Dec 30, 2017, 8:10:30 PM12/30/17
to herme...@googlegroups.com
I purged ~/.quisk_conf.py from my systems going back a long way. I only
use the config button which amongst other things allows configuring
multiple rigs and helps avoid confiusion.

The "Help With Radios" tab contains a wealth of information.

I put up some screenshots on the n2adr yahoo group earlier showing examples.

I find it more convenient especially if using multiple rigs as you can
switch between them.
One example  and a typical json file attached.
73 ... Sid.

On 31/12/17 00:49, Graeme Jury wrote:
> Thats great John,
>
> Did you get it to install OK? I think I had to add a symlink in the
> Quisk freedv directory and also add the extra options to
> .quisk_conf.py to set it up for Quisk.
>
> ## freedv_tx_msg            FreeDv Tx message, text
> # For freedv, this is the text message to send.
> #freedv_tx_msg = ''
> freedv_tx_msg = 'ZL2APV Graeme, New Plymouth, RF70bw\n'
>
>
> # This is the list of FreeDV modes and their index number.  The
> Hi John,Â
>
> You will need to download it from the svn and compile it
> using the instructions in the INSTALL file. You will need
> the speex dependencies including the libspeexdsp-dev.Â
> svn checkout
> https://svn.code.sf.net/p/freetel/code/codec-2-dev
> <https://svn.code.sf.net/p/freetel/code/codec-2-dev
>
> 73, Graeme zl2apv
>
>
> On Sunday, December 31, 2017 at 10:55:47 AM UTC+13,
> Takashi K wrote:
>
> John-san,
> I'm not using FreeDV now. I modified Makefile to
> comment out FreeDV.
>
> Graeme-san,
> Do you have any advice ?
>
> 73, Taka  ji1udd
>
> --
> You received this message because you are subscribed to the
> Google Groups "Hermes-Lite" group.
> To unsubscribe from this group and stop receiving emails from
> it, send an email to hermes-lite...@googlegroups.com
> <javascript:>.
> For more options, visit https://groups.google.com/d/optout
> <https://groups.google.com/d/optout>.
>
> --
> You received this message because you are subscribed to the Google
> Groups "Hermes-Lite" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to hermes-lite...@googlegroups.com
> <mailto:hermes-lite...@googlegroups.com>.
> For more options, visit https://groups.google.com/d/optout.


Screenshot_20171229_211705.png
quisk_settings.json.gz

Jack Generaux

unread,
Dec 30, 2017, 9:22:43 PM12/30/17
to Hermes-Lite
Taka san,

I will look into my notes and see if I can find anything special.  I remember I had a problem with no snd_aloop module in the longsleep kernel, but recompiled and got that working so I could use it with quisk/fldigi.  Off hand, I don't recall any issues with compiling pihpsdr except for a few unmet dependencies.  I did add add backports repos for something but can't at the moment remember why I needed that.  I look closer tomorrow and get back to you.  My son had a little New Years celebration today and didn't get a chance to check.

Happy New Year
Jack

John Williams

unread,
Dec 30, 2017, 9:32:49 PM12/30/17
to Jack Generaux, Hermes-Lite

Probably freedv. I solved it with Graeme's svn suggestion but saw that it was available on back ports.


--
You received this message because you are subscribed to the Google Groups "Hermes-Lite" group.
To unsubscribe from this group and stop receiving emails from it, send an email to hermes-lite...@googlegroups.com.

Takashi K

unread,
Dec 31, 2017, 12:45:18 AM12/31/17
to Hermes-Lite
Hi Jack-san,

I understood that it is difficult for me to run piHPSDR on PINE64.
I am not familiar with Linux.

Happy New Year to you, too.

73, Takashi  ji1udd

John Williams

unread,
Jan 1, 2018, 12:50:36 PM1/1/18
to herme...@googlegroups.com

Folks,

Are you doing anything to improve the network performance running PiHPSDR on wifi? Quisk runs with occasional audio dropouts. PiHPSDR runs considerably worse. I recall a while ago that one could tune the kernel to improve real time performance. Wondering if that is still applicable to current kernels. Grasping at ideas to allow me to use wifi in the house rather than being tied to a ethernet cable in the shack.

John

Jack Generaux

unread,
Jan 1, 2018, 1:47:18 PM1/1/18
to Hermes-Lite
Takashi-san,

Sorry it has taken me so long to reply -- Busy New Years!  I looked back at my logs for the Pine64 installation and copied some of the information into the attached file.  I did this last spring and I know that the PiGPIO is no longer needed for pihpsdr.  I used the Debian Image from the Pine64 Wiki site.  After burning the image on another computer, I booted the Pine64, ran  sudo /usr/local/sbin/resize_rootfs.sh, did a sudo apt-get update and sudo apt-get upgrade.  As noted on the Wiki, there are some additional scripts in the  /usr/local/sbin/ directory you might consider as well.

From this point, if I were just trying to get pihpsdr going,  I would follow John Melton's guidance (copied at the end of the attached file.)  However, there are issues with the PSK31 option so don't enable that.  Also if you want the freedv option, you will have to compile the codec2 as noted in John's guidance.  

For compiling Quisk, WSJTx, and FLDIGI you will need some additional dependencies and I show what I installed in the file.  No doubt, some of those in my list are not needed.  Also, I recompiled the kernel to get snd-aloop module for linking FLDIGI and other programs, but I understand Quisk now has the loopbacks internally but I haven't tried those, yet.  

Also note that if for some reason an apt-get install fails to find a program to install you might be able to get it through backports -- e.g., "sudo apt-get -t jessie-backports install lib-pulse-dev"  You will probably have to add the backports repository to your sources -- "deb http://ftp.debian.org/debian jessie-backports main"   Backports haven't made it into the stable release and have a risk of incompatibilities with other components in Debian stable environment.  Particularly, with these small boards, however, it seems like they are sometimes the only way.

I will try to help further if I can.  You can also email me at 9artus <<<at>> gmail <<dot>> com.

73 and Happy New Year
Jack (W0FNQ)
NotesPine64

Takashi K

unread,
Jan 3, 2018, 7:21:34 AM1/3/18
to Hermes-Lite
Hello Jack-san,

Thanks for your information.

I'm using armbian in order to use Playbox LCD panel.
piHPSDR could not start up. I think that the cause is that wdsp had some warnig when compiled.
I will try again using Debian if I have a chance.
Thanks again.

73, Taka  ji1udd

wdsp warning.png
startup error.png

Sid Boyce

unread,
Jan 3, 2018, 10:23:30 AM1/3/18
to herme...@googlegroups.com
Hi Taka-san,
That looks strange, run and compare "file pihpsdr"   "file
/usr/local/lib/libwdsp.so" and also "ldd pihpsdr" to see where it is
looking for libwdsp.so.
Either libwdsp.so and pihpsdr are not the same type of files or pihpsdr
is looking in the wrong place for libwdsp.so.
73 ... Sid.
> 73, Taka  ji1udd
>
> --
> You received this message because you are subscribed to the Google
> Groups "Hermes-Lite" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to hermes-lite...@googlegroups.com
> <mailto:hermes-lite...@googlegroups.com>.
> For more options, visit https://groups.google.com/d/optout.


Takashi K

unread,
Jan 3, 2018, 5:26:56 PM1/3/18
to Hermes-Lite
Sid-san, Jack-san,

I did compile and install wdsp again then piHPSDR works well :)
Thanks so much.

73, Taka  ji1udd

piHPSDR_PINE64.jpg

Naidu B N A M

unread,
Jan 5, 2018, 9:21:14 PM1/5/18
to Hermes-Lite
Hi Takashi,
can you give some notes to implement your project (piHPSDR stand alone project using audio codec) using HL2Beta5.
73, VU2ZAZ ( B N A M Naidu)

Takashi K

unread,
Jan 6, 2018, 3:03:18 AM1/6/18
to Hermes-Lite
Hi B N A M Naidu,

I previously replyed that my audio codec and filter board were not compatible withe beta5.
I don't know your idea. I guess that you will use Jim's designed filter board instead of my board.
But Are you going to re-make audio codec board for beta5 and modify official firmware that supports beta5 ?

73, Taka  ji1udd

Naidu B N A M

unread,
Jan 6, 2018, 7:11:27 AM1/6/18
to Hermes-Lite
Hi Takashi,
Yes, I want to make an audio codec board to suit the pin configuration of beta5. My request for you is, to suggest the necessary firmware changes and other hardware changes. I want to use your filter board and power switch board. My Idea is remake your design with necessary changes to make standalone HL2 with piHPSDR . I am also interested in combining your audio codec and power-switch board If possible), so that with 3 stacked boards we can make a standalone HL2 .
73, VU2ZAZ ( B N A M Naidu)

John Williams

unread,
Jan 6, 2018, 4:44:48 PM1/6/18
to Naidu B N A M, Hermes-Lite

FYI, I have achieved full rig control of PiHPSDR with latest fldigi using the 3.2 level of hamlib. Have to build both at the latest levels but eventually works.


--
You received this message because you are subscribed to the Google Groups "Hermes-Lite" group.
To unsubscribe from this group and stop receiving emails from it, send an email to hermes-lite...@googlegroups.com.

Takashi K

unread,
Jan 6, 2018, 6:07:37 PM1/6/18
to Hermes-Lite
Hi B N A M Naidu,

Great idea, I will reply later on HLv2 Beta3 Compact tranceiver Update thread.

73, Taka  ji1udd

Takashi K

unread,
Jan 13, 2018, 5:16:11 AM1/13/18
to Hermes-Lite
Hi Graeme-san, John-san and all,

> As he suggested the ideal solution is to alter the HL1 code to match the HL2

I uploaded the modified HLv1 firmware for RxGAIN on my git CVA9-100Base-TX branch.
(I compiled the 1Gb version, but my CVA9 did not work well. Ethernet issue)

There are CVA9 and SDK jic files here. but SDK's has not been tested as I don't have SDK.
I modified only hermes_lite_core.v. This has backward compatibility.

73, Taka  ji1udd

Graeme Jury

unread,
Jan 13, 2018, 2:04:44 PM1/13/18
to Hermes-Lite
Takashi san konnichi wa,


Thank you for the firmware change. My HL1 is based on an SDK and I look forward to testing the code. At present I am away from my QTH in our caravan and will try it as soon as I return.

73, Graeme zl2apv

Takashi K

unread,
Jan 22, 2018, 7:00:35 AM1/22/18
to Hermes-Lite

Hi Graeme-san,


Konbanwa (Good evening) .

I reply on this thread.

I checked Hermes_Lite_12SDK_73_DHCP.jic under the following conditions.(but I used CVA9 firmware).
HLv2 compatibility : piHPSDR applied HLv2 patch.
HLv1 compatibility : PowerSDR v3.3.9

I didn't check the modified firmware with piHPSDR applied HLv1 patch.
Because it is not needed any more.

73, Taka  ji1udd

On Mon, 22 Jan 2018 01:41:31 -0800 (PST)
Graeme Jury wrote:
> Hi Taka-san,
>
> Firstly many thanks for your work to keep HL1 alive and progressing. I
> understand your difficulty with not having an SDK and appreciate the effort
> you have made while "flying blind". I was going to prepare a report for you
> with some good information and supporting screen shots but have become
> unwell in the middle of this.
>
> Basically the SDK works but I think that the gain slider is reversed as
> minimum gain seems to be at the right and maximum at the left using
> piHPSDR. but otherwise is generally working. I have always had a problem
> where if I advance the RfLna beyond 12 dB Quisk shows clipping and this has
> hampered my experimenting at high gain settings. I am yet to run the HL1
> with your .jic file on Quisk so my information is of little value at this
> point. Soon I will be able to give a much better idea of the performance.
>
> Arigatou gozaimashita
>
> 73, Graeme zl2apv

derek.d...@gmail.com

unread,
Apr 19, 2019, 3:28:31 AM4/19/19
to Hermes-Lite
Hi Takashi, I would like to know if there are news regarding the customization of PiHPSDR for implement a Stand-alone Hermes Lite
Regards
Luca IK2LRN

Takashi K

unread,
Apr 19, 2019, 5:32:29 PM4/19/19
to Hermes-Lite
Hi Luca,

I have no update over a year as my piHPSDR with HL2b3 works well for me.

73
Takashi,  ji1udd
Reply all
Reply to author
Forward
0 new messages