Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Question about fir for 122.88 hpsdr receiver with 7010 FPGA (TRX-DUO) #1119

Closed
enthru opened this issue Dec 22, 2023 · 5 comments
Closed

Question about fir for 122.88 hpsdr receiver with 7010 FPGA (TRX-DUO) #1119

enthru opened this issue Dec 22, 2023 · 5 comments
Labels

Comments

@enthru
Copy link

enthru commented Dec 22, 2023

Hello!

It's impossible to generate hpsdr receiver bitstream for this FPGA just using approach like for building bitstream for hpsdr transceiver (make NAME=sdr_transceiver_hpsdr_122_88 bit) because there is no enough space in dsp48e block with fir filter for 7020 FPGA.

Just want to ask you about advice or possible solution how to get it work without calculation of new fir and changing a lot in rx module keeping the same or not much less count of the receivers.

@pavel-demin
Copy link
Owner

The projects with the 122_88 suffix are for the Red Pitaya STEMlab 122.88-16 SDR and SDRlab 122-16 boards with a larger FPGA.

The corresponding project for boards with Zynq 7010 is sdr_transceiver_hpsdr. The command to build bitstream for this project is

make NAME=sdr_transceiver_hpsdr bit

@enthru
Copy link
Author

enthru commented Dec 22, 2023

Yep, I know I'm trying to build 122.88 version for 7010 fpga like this:

#1091

@pavel-demin
Copy link
Owner

I see.

The command in #1091 no longer works with the current version of the code. The sdr_transceiver_hpsdr_122_88 project now has additional receivers from the sdr_receiver_hpsdr_122_88 project and the 7010 chip does not have enough resources for these additional receivers.

To make the sdr_receiver_hpsdr_122_88 project compatible with the 7010 chip, you will need to reduce the sample rates (MINIMUM_RATE and SAMPLE_FREQUENCY) of the CIC and FIR filters by a factor of 2. The coefficients can be copied from the sdr_receiver_122_88 project:

https://github.com/pavel-demin/red-pitaya-notes/blob/master/projects/sdr_receiver_122_88/rx.tcl

The C code also needs to be changed to remove the 384k sample rate.

@enthru
Copy link
Author

enthru commented Dec 23, 2023

Thanks. Also was forced to remove RX1 in block design, it builds, but for some reason I'm unable to get it work - see just something like dc on the center frequency. Trying to figure out why :)

@enthru
Copy link
Author

enthru commented Dec 23, 2023

Maybe did some mistake in server file, just made changes in C code from scratch and recompile it again and it works.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants