Hello all,
I am wanting to use the RP as a "simple" complex analog IO board, which is controlled via GRC.
In effect I wish to take the SDR Transceiver which has its baseband message in /out from GRC, but to reduce the FPGA functionality to simply pass the GRC baseband dual channel(complex) data without up/down converting to the carrier or any filtering.
This is because I wish to do those tasks in external hardware.
I am aiming for only around 100kSps for the dual ADC & DACs...which should be easy for eth Ethernet comms and GRC processing rate.
Could someone please suggest whether there is existing code I can easily modify (ie: reduce) to achieve this ?
Or perhaps its easier to write the FPGA part from scratch ?
Any and all suggestions appreciated.
Below is a rough diagram of what Im after:
Simple complex-analog-IO function
-
- Posts: 29
- Joined: Wed Mar 29, 2017 12:31 pm
Simple complex-analog-IO function
You do not have the required permissions to view the files attached to this post.
-
- Posts: 799
- Joined: Sat May 23, 2015 5:22 pm
Re: Simple complex-analog-IO function
For this, you'll still need the up- and down- converters (CIC and FIR filters) to convert to and from the DAC and ADC sample rates (125 MSPS). So, the only parts that should be removed are the DDS and complex multipliers blocks.I am aiming for only around 100kSps
It can be easily done without modifying any code. Just set the center frequencies to 0 in the sink and source blocks.I wish to take the SDR Transceiver which has its baseband message in /out from GRC
If you want to transmit and receive complex analog signals, then you should use the wideband SDR transceiver. You'll find more details about the complex analog signal at this link.Simple complex-analog-IO function
-
- Posts: 29
- Joined: Wed Mar 29, 2017 12:31 pm
Re: Simple complex-analog-IO function
Dear Pavel, Thank you for your reply. This is exactly what I am after. Setting the carrier to 0 Hz and maintaining the CIC/FIR makes sense.
I have made some progress but not complete success unlike Tcub (the link you suggested I follow).
Below is what I have implemented in case you can make some suggestions in terms of debugging my issue.
My RP has inserted an SD card with the files from red-pitaya-alpine-3.6-armhf-20171130.zip
I have GRC running on Linux Mint (booting into Mint on a Windows laptop at startup) and I am able to open the RP homepage at 192.168.1.100 and run the Wideband SDR Transceiver..though I am not 100% sure it is actually running. Do any LEDS indicate running ? When I run the trx_wide_template.grc program I appear to have it running correctly...the RP-wide sink/sources are detected and it looks as below (+some minor mods): However I do not have any signal out from the DACs..as confirmed by external scope.
Could you suggest how I could go about isolating where the problem is ?
Thanks again for any further assistance. I have very experience with Linux yet.
I have made some progress but not complete success unlike Tcub (the link you suggested I follow).
Below is what I have implemented in case you can make some suggestions in terms of debugging my issue.
My RP has inserted an SD card with the files from red-pitaya-alpine-3.6-armhf-20171130.zip
I have GRC running on Linux Mint (booting into Mint on a Windows laptop at startup) and I am able to open the RP homepage at 192.168.1.100 and run the Wideband SDR Transceiver..though I am not 100% sure it is actually running. Do any LEDS indicate running ? When I run the trx_wide_template.grc program I appear to have it running correctly...the RP-wide sink/sources are detected and it looks as below (+some minor mods): However I do not have any signal out from the DACs..as confirmed by external scope.
Could you suggest how I could go about isolating where the problem is ?
Thanks again for any further assistance. I have very experience with Linux yet.
You do not have the required permissions to view the files attached to this post.
-
- Posts: 29
- Joined: Wed Mar 29, 2017 12:31 pm
Re: Simple complex-analog-IO function
Some further information about my situation.
I confirmed that GRC is receiving data from the RP as when I input a sinewave into the RP ADC, the exact frequency is displayed in GRC.
So one way comms is indeed working....which is great news.
I just need to figure out why the DAC output is not operating.
Any hints on how to debug this would be much appreciated.
Regards.
I confirmed that GRC is receiving data from the RP as when I input a sinewave into the RP ADC, the exact frequency is displayed in GRC.
So one way comms is indeed working....which is great news.
I just need to figure out why the DAC output is not operating.
Any hints on how to debug this would be much appreciated.
Regards.
-
- Posts: 799
- Joined: Sat May 23, 2015 5:22 pm
Re: Simple complex-analog-IO function
The DAC output is enabled by setting PTT to True either directly in the sink block settings or by checking the ptt checkbox in the GUI.I just need to figure out why the DAC output is not operating.
-
- Posts: 29
- Joined: Wed Mar 29, 2017 12:31 pm
Re: Simple complex-analog-IO function
Dear Pavel,
This is marvellous ! Thanks so much...I did not think of setting that checkbox at all (kicking myself )
It is now outputting 1kHz quadrature signals as expected. I can now continue to explore using GRC to work with more complex IQ signals through the RP. Very exciting !
My current setup connects a PC running GRC directly to the RP via a cat5 crossover cable.
It is very convenient that the application you have setup on the RP defaults to 192.168.1.100 in the absence of DHCP.
Thanks again.
Warm regards.
This is marvellous ! Thanks so much...I did not think of setting that checkbox at all (kicking myself )
It is now outputting 1kHz quadrature signals as expected. I can now continue to explore using GRC to work with more complex IQ signals through the RP. Very exciting !
My current setup connects a PC running GRC directly to the RP via a cat5 crossover cable.
It is very convenient that the application you have setup on the RP defaults to 192.168.1.100 in the absence of DHCP.
Thanks again.
Warm regards.
-
- Posts: 29
- Joined: Wed Mar 29, 2017 12:31 pm
Re: Simple complex-analog-IO function
Hello,
This is working well for me and I'm looking to further my understanding of the system.
Could someone please direct me to information about how the Center Freq and Sampling Rate parameters passed to the RP Wide sink/source blocks in GR are implemented into the FIR and CIC blocks within the FPGA ?
Also, some info on how the DDS and Complex Multiplier are affected by these parameters mentioned above...since these are the main rate control parameters for this system, at least from a GRC perspective.
Perhaps there is some documentation other than the source code itself ?
Thanks again.
This is working well for me and I'm looking to further my understanding of the system.
Could someone please direct me to information about how the Center Freq and Sampling Rate parameters passed to the RP Wide sink/source blocks in GR are implemented into the FIR and CIC blocks within the FPGA ?
Also, some info on how the DDS and Complex Multiplier are affected by these parameters mentioned above...since these are the main rate control parameters for this system, at least from a GRC perspective.
Perhaps there is some documentation other than the source code itself ?
Thanks again.
-
- Posts: 29
- Joined: Wed Mar 29, 2017 12:31 pm
Re: Simple complex-analog-IO function
To clarify my question...what I was wondering is how is the conversion rates by CIC and FIR setup ?For this, you'll still need the up- and down- converters (CIC and FIR filters) to convert to and from the DAC and ADC sample rates (125 MSPS).
Are there a limited number of combinations of possible rates ?
How is this determined ?
Any hints appreciated.
Regards.
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 24 guests