SDR (Software Defined Radio) Transceiver

Have an idea? Post it here! - Looking for developers? Ask here as well!
Post Reply
F4HHS
Posts: 5
Joined: Sat Apr 23, 2016 8:31 am

Re: SDR (Software Defined Radio) Transceiver

Post by F4HHS » Sun Jun 26, 2016 9:51 am

Yes, Pavel it was very simple.... :D
I was a little bit confused on the use of VAC configuration : It is now OK for Tx and RX. : Next step is the coupling with a 1 W PA....
Again, many thanks for all the work done.

Denis,

jmfr
Posts: 19
Joined: Mon Nov 16, 2015 2:00 pm

Re: SDR (Software Defined Radio) Transceiver

Post by jmfr » Mon Jun 27, 2016 11:40 am

Anyway, the embedded SDR transceiver project is more suitable for building a standalone SDR transceiver with all the SDR algorithms running on Red Pitaya. It starts to be usable in combination with the STM32F7 Discovery board. The software for both Red Pitaya and STM32F7 Discovery can be found at this link. Some details and pictures can be found at this link.[/quote]

Hi Pavel,

I will have next week a STM32F7 discovery board, I did check how to instal the UI part to the STM32F7 board and the red pitaya part is easy ... just want to know how I can conect the two board's,
is this pdf information SDR_RP4.pdf updated ?

http://www.qrpforum.de/index.php?page=T ... 9&pageNo=7

Jacinto

pavel
Posts: 799
Joined: Sat May 23, 2015 5:22 pm

Re: SDR (Software Defined Radio) Transceiver

Post by pavel » Mon Jun 27, 2016 6:34 pm

jmfr wrote: I will have next week a STM32F7 discovery board, I did check how to instal the UI part to the STM32F7 board and the red pitaya part is easy ... just want to know how I can conect the two board's,
is this pdf information SDR_RP4.pdf updated ?

http://www.qrpforum.de/index.php?page=T ... 9&pageNo=7
The pin numbers from SDR_RP4.pdf are still OK. The command codes changed.

Here are the steps to install the Red Pitaya software based on the WDSP library:
  1. install SD card image from the embedded SDR transceiver project:
    http://pavel-demin.github.io/red-pitaya ... eiver-emb/
  2. enlarge the SD card partition (if not already done):

    Code: Select all

    echo -e "d\n2\nw" | fdisk /dev/mmcblk0
    parted -s /dev/mmcblk0 mkpart primary ext4 16MB 100%
    resize2fs /dev/mmcblk0p2
    
  3. install C compiler and all other development tools:

    Code: Select all

    apt-get install build-essential
    
  4. follow the second part of the instructions from the DiscoRedTRX/README file:
    https://github.com/pavel-demin/DiscoRedTRX

jmfr
Posts: 19
Joined: Mon Nov 16, 2015 2:00 pm

Re: SDR (Software Defined Radio) Transceiver

Post by jmfr » Fri Jul 01, 2016 10:35 am

pavel wrote:
jmfr wrote: I will have next week a STM32F7 discovery board, I did check how to instal the UI part to the STM32F7 board and the red pitaya part is easy ... just want to know how I can conect the two board's,
is this pdf information SDR_RP4.pdf updated ?

http://www.qrpforum.de/index.php?page=T ... 9&pageNo=7
The pin numbers from SDR_RP4.pdf are still OK. The command codes changed.

Here are the steps to install the Red Pitaya software based on the WDSP library:
  1. install SD card image from the embedded SDR transceiver project:
    http://pavel-demin.github.io/red-pitaya ... eiver-emb/
  2. enlarge the SD card partition (if not already done):

    Code: Select all

    echo -e "d\n2\nw" | fdisk /dev/mmcblk0
    parted -s /dev/mmcblk0 mkpart primary ext4 16MB 100%
    resize2fs /dev/mmcblk0p2
    
  3. install C compiler and all other development tools:

    Code: Select all

    apt-get install build-essential
    
  4. follow the second part of the instructions from the DiscoRedTRX/README file:
    https://github.com/pavel-demin/DiscoRedTRX
Hi Pavel,

yesterday I received my stm32f746 board, after compile and send
firmware to the board I get the UI, on the red pitaya I followed your
instructions the two boards can communicate
but If I try the first version I do have this error:

root@red-pitaya:~/DiscoRedTRX-master# python main.py
Traceback (most recent call last):
File "main.py", line 23, in <module>
playback = alsaaudio.Mixer('Speaker')
alsaaudio.ALSAAudioError: Unable to find mixer control 'Speaker',0

If I do alsamixer I only have headphones and mic with my USB audio
card, can this be the reason ?

If I chose the second version, I do have sound and can receive and
control the red pitaya using the stm32f7 board, but if I change ou
mute the volume it stop with this error:

Recording WAVE 'stdin' : Float 32 bit Little Endian, Rate 48000 Hz, Stereo
overrun!!! (at least 0.610 ms long)
Playing raw data 'stdin' : Float 32 bit Little Endian, Rate 48000 Hz, Stereo
main: simple.c:282: snd_mixer_selem_get_playback_volume_range:
Assertion `elem' failed.

As this is a work in progress I want to know if this is normal ou if
not i't a problem with my setup ...

Is the TX working at this moment ?

Thank you

Jacinto Rebelo

pavel
Posts: 799
Joined: Sat May 23, 2015 5:22 pm

Re: SDR (Software Defined Radio) Transceiver

Post by pavel » Fri Jul 01, 2016 3:09 pm

Thanks for testing DiscoRedTRX!

Looks like the names of the ALSA mixers of your sound card aren't 'Speaker' and 'Mic'. As a quick workaround I suggest to check what are the mixers names and modify lines 81 and 86 in DiscoRedTRX/main.c accordingly. I think that it can be done with the alsamixer program.

I should find how to automatically discover the mixers names.

jmfr
Posts: 19
Joined: Mon Nov 16, 2015 2:00 pm

Re: SDR (Software Defined Radio) Transceiver

Post by jmfr » Sat Jul 02, 2016 10:18 pm

pavel wrote:Thanks for testing DiscoRedTRX!

Looks like the names of the ALSA mixers of your sound card aren't 'Speaker' and 'Mic'. As a quick workaround I suggest to check what are the mixers names and modify lines 81 and 86 in DiscoRedTRX/main.c accordingly. I think that it can be done with the alsamixer program.

I should find how to automatically discover the mixers names.
Hi,

That did the trick, change the name but with gnuradio I do have all the time low volume even If I change to max with alsamixer,
with WDSP version the sound is very good and s-meter is working...

root@red-pitaya:~/DiscoRedTRX-master# python main.py
Using Volk machine: neon_hardfp_orc
gr::log :INFO: audio source - Audio source arch: alsa
gr::log :INFO: audio source - Audio sink arch: alsa
main.py:36: RuntimeWarning: divide by zero encountered in log10
data = int(np.minimum(1400.0, -100.0 * np.log10(tb.rx_meter.level())))
aUaUaUaUaUaUaUaUaU

Anything I'm doing wrong ?

Thank you,

Jacinto

pavel
Posts: 799
Joined: Sat May 23, 2015 5:22 pm

Re: SDR (Software Defined Radio) Transceiver

Post by pavel » Sun Jul 03, 2016 12:20 am

with gnuradio I do have all the time low volume even If I change to max with alsamixer,
with WDSP version the sound is very good and s-meter is working...
That's why I switched to WDSP. It's the library that is used in PowerSDR mRX PS and it works better than my GNU Radio configuration.

PA4MSA
Posts: 7
Joined: Tue Aug 18, 2015 10:57 am

Re: SDR (Software Defined Radio) Transceiver

Post by PA4MSA » Thu Jul 14, 2016 5:14 am

pavel wrote:
rv3apm wrote:What out on RP use for TX?? Out1??
What P out?
Here is a list of the external connections for the current version (0.94-881) of the SDR/HPSDR application:
  • input for RX1 is connected to IN1
  • inputs for RX2 and RX3 are connected to IN2
  • output for TX is connected to OUT1
  • output for a RX/TX switch control (PTT-out) is connected to pin DIO0_P of the extension connector E1
  • output for a pre-amplifier/attenuator control is connected to pin DIO1_P of the extension connector E1 (this pin is controlled by the first ATT combo-box)
  • inputs for PTT, DASH and DOT are connected to the pins DIO0_N, DIO1_N and DIO2_N of the extension connector E1

Pavel I would like to use the DIO1_P output to switch in and out an external attenuator available with an external front end board I am using with the Red Pitaya receive inputs . I can't determine which attenuator control combo box in HPSDR you are talking about which via your software commands this DIO1_P output high or low . Can you please provide a screen shot of the GUI showing the combo box you are talking about. I have trying and can't find how to command it high.
Thanks

Dave

ted051
Posts: 20
Joined: Fri May 29, 2015 11:47 am
Location: Germany, Elsterberg

Re: SDR (Software Defined Radio) Transceiver

Post by ted051 » Thu Jul 14, 2016 1:01 pm

Hello Dave,
the Combo Box you can find at the main window of PowerSDR , left side, headline is ATT, values are -20 dB or 0dB.
73, Wolfgang (DH1AKF)

PA4MSA
Posts: 7
Joined: Tue Aug 18, 2015 10:57 am

Re: SDR (Software Defined Radio) Transceiver

Post by PA4MSA » Thu Jul 14, 2016 7:28 pm

Hi Wolfgang
Many thanks . I tried toggling this and I don't see the high / Low state change on the output pin on the RP which Pavel refers to in his documentation . I will have a look at the code maybe I need to enable a line within the code
Interested to hear if you are using this to control an external attenuator in or out of circuit

Thanks
Dave

Post Reply
jadalnie klasyczne ekskluzywne meble wypoczynkowe do salonu ekskluzywne meble tapicerowane ekskluzywne meble do sypialni ekskluzywne meble włoskie

Who is online

Users browsing this forum: No registered users and 94 guests