[hpsdr] piHPSDR on Odroid C2 ?

Bernd.Gasser bernd.gasser at tele2.at
Tue Jul 12 11:02:04 PDT 2016


many thanks for all the replies!

> There is also John Melton's query regarding the number of edge triggered
GPIO interrupts available. I raised this on the ODROID forum but no one has
so far explained whether John is correct in his analysis that there are only
4. 

Unfortunately this seems to be true - at least there is a statement at
http://odroid.com/dokuwiki/doku.php?id=en:c2_hardware_irq saying:

	"ODROID-C2 supports the GPIO interrupt of Edge trigger.
	The maximum number of interrupt is limited to 8 when you use the
falling(Low) or rising(High) edge trigger.
	If you use the Both (rising and falling together) edge triggers, the
maximum number is only 4."

Wonder what causes this limitation? Maybe resolved in a future release?

vy 73,
Bernd/OE1ACM

-----Original Message-----
From: Sid Boyce [mailto:g3vbv at blueyonder.co.uk] 
Sent: Tuesday, July 12, 2016 11:40 AM
To: Tim O'Rourke; Bernd Gasser; 'John Melton'; 'Helmut,DC6NY'
Cc: 'HPSDR'
Subject: Re: [hpsdr] piHPSDR on Odroid C2 ?

Hi Tim,
I have pihpsdr running on x86_64 OK - without GPIO of course.

On PINE A64+ with Ubuntu 64-bit ARM with KL7NA's audio_out branch of pihpsdr
it runs but there is no audio, something I am still investigating.
I have not looked into the GPIO support - said to be Pi compatible.

On ODROID-C2's latest Ubuntu image there is a mess up which they said would
be fixed when it was discovered in the previous image. There was a
workaround for the earlier image but the problem where 2 packages conflict
with one trying to overwrite the other is still there.
There is also John Melton's query regarding the number of edge triggered
GPIO interrupts available. I raised this on the ODROID forum but no one has
so far explained whether John is correct in his analysis that there are only
4. The GPIO is said to be Pi compatible but differences seem to exist.

As usual, most distributions are light of understanding when it comes to the
finer points of SDR though they provide hundreds of hamradio applications.
One case in point some years back, VirtualBox wondered why I needed support
for 2 sound cards. I explained why Softrock required them - end of dialog on
the subject.

The gtk+3.0 package is required to build pihpsdr but it conflicts with the
mali-x11 package.
root at odroidC2:/usr/src/pihpsdr# make
rm -f version.o
gcc -g -D odroidC2  -D FREEDV -O3 `pkg-config --cflags gtk+-3.0` -c -o
band.o band.c Package gtk+-3.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `gtk+-3.0.pc'
to the PKG_CONFIG_PATH environment variable No package 'gtk+-3.0' found In
file included from band.c:23:0:
band.h:20:21: fatal error: gtk/gtk.h: No such file or directory compilation
terminated.
Makefile:169: recipe for target 'band.o' failed
make: *** [band.o] Error 1
root at odroidC2:/usr/src/pihpsdr#
73 ... Sid.

On 11/07/16 13:01, Tim ORourke wrote:
> Sid
> Are you listening, you are the Odroid geek if I remember correctly.
>
>
> Tim O'Rourke
> W4YN at ARRL.Net
> Low Power Amateur Radio Rocks
> Member of Flying Pigs,ARCI,GQRP,RSGB,ARRL Life Member R/C Pilot (sort 
> of) NRA Life Member NRA Certified Rifle, Pistol, Black Powder 
> Instructor, Range Officer
>
>
> -----Original Message-----
>> From: Bernd Gasser <bernd.gasser at tele2.at>
>> Sent: Jul 11, 2016 7:40 AM
>> To: 'John Melton' <john.d.melton at googlemail.com>, "'Helmut, DC6NY'" 
>> <dc6ny at gmx.de>
>> Cc: 'HPSDR' <hpsdr at openhpsdr.org>
>> Subject: [hpsdr] piHPSDR on Odroid C2 ?
>>
>> ***** High Performance Software Defined Radio Discussion List *****
>>
>> Hi John, Helmut,
>> I had seen this excellent, very nice project in the recordings from 
>> F'hafen and thought I'd give it a try over the weekend.
>>
>> The performance of Raspberries PI 3 is still limited, so I decided to 
>> run it on a Odroid C2 (64 bit, Quad  ARMv8, 2GHz). The code compiles 
>> nicely (with some minor modifications) and I can run it with 384 kHz 
>> spectrum without disruptions on my Hermes board.
>>
>> The VFO encoder / tuning wheel  also works well but I have seen the 
>> other encoders (AF/AGC/RF) are not implemented yet in gpio.c for Odroid
platform.
>>
>> Before getting my feet wet in wiringPI/GPIO programming I wanted to 
>> ask if anybody else has done some development in this area yet - 
>> especially for Odroid C2?
>>
>> Many thanks & vy 73,
>> Bernd/OE1ACM
>>
>>
>> _______________________________________________
>> HPSDR Discussion List
>> To post msg: hpsdr at openhpsdr.org
>> Subscription help: 
>> http://lists.openhpsdr.org/listinfo.cgi/hpsdr-openhpsdr.org
>> HPSDR web page: http://openhpsdr.org
>> Archives: http://lists.openhpsdr.org/pipermail/hpsdr-openhpsdr.org/
>


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





More information about the Hpsdr mailing list