-
Notifications
You must be signed in to change notification settings - Fork 10
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
Adapting DAQ Server for SDRLab122-16 #85
Comments
Independent of the issue, it would be great to get your code into our repo. |
@nHackel: I am not 100% sure anymore, but IIRC we somewhere use the upper two bits somewhere for the enable bit? |
But maybe its just: RedPitayaDAQServer/src/lib/rp-daq-lib.c Line 224 in e68beda
|
Hi Tobias and Jonas, |
Sorry for confusing Send/Receive. Since we handle receive data as 16 bit already, I hope that we can figure this out. |
Hey folks, |
I vaguely remember having this 2-bit cutoff issue when I implemented the FIR together with @jusack. Have you tried setting the output of the FIR compiler to 18 and then taking the upper 16-bits of each path? |
Hey folks,
I am currently trying to use this on the SDRLab122-16 and it works relatively well with a few changes on Vivado (clocks, 16 bit ADC). The issue I have is that 16 bit values works fine until I reach the 14 bit limit, i.e., I can send numbers up to 8192 (I tested this by just wiring a 16 bit constant to the cic_Compiler), but for numbers above that it wraps around. E.g., sending 12000, it sets the first two bits to "11", yielding a negative number. Is there anything on the FPGA/Vivado or C-Code side that I am overlooking that would be forcing this behavior?
Thanks!
The text was updated successfully, but these errors were encountered: