Skip to content

VNA calibration / Cascade lock correction / kp crossover checkbox behavior / port number selection#8

Open
alex123go wants to merge 4 commits intojddes:masterfrom
alex123go:master
Open

VNA calibration / Cascade lock correction / kp crossover checkbox behavior / port number selection#8
alex123go wants to merge 4 commits intojddes:masterfrom
alex123go:master

Conversation

@alex123go
Copy link
Copy Markdown
Contributor

Added the correction to the VNA calibration in the text file (instead of in the code).

Added an offset to the cascade lock. Also corrected the bitshift (the pll1 output is 16bits instead of 15bits). This cascade lock has not been tested in real, only in simulation.

Change the kp crossover checkbox behavior to keep the same I_gain in the FPGA, but to show the new integrator frequency with the new reference (0dB or kp) in the text box (usefull after a reconnection, if the default reference was not the one wanted)

Re-added the port number selection. Usefull when we connect to a distant router on which multiple Red Pitaya are connected (Forward different port to the different red pitaya and use the router ip address). The reconnection is possible in this mode, but the FPGA recovery is not.

alex123go added 4 commits May 8, 2018 15:50
Added the adjustment based on low-frequency RedPitaya's transfer function to the calibration file
Correction cascade lock : added offset between output of pll1 and input of pll2 (not tested in the lab, only in simulations)
re-add port number selection to allow redirecting several RP with the same IP address via a distant connexion router
When the user press the "fi refer to kp crossover" button, the value is changed in the box to correspond to the same I_gain (with a different reference)

Correct the reconnection to a RP using a different port address
Create the GUI interface for the Sequential Waveform (load file, send data and send run+pulse bit) Still need to send these values to the RP

Create the file in the FPGA
Copy link
Copy Markdown
Owner

@jddes jddes left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not merging the offset as the fix is not complete:
-Uses modulo arithmetic to add the offset instead of implementing saturation.
-There is already a fix for this in another branch (ext-ref-on-adc-input) that includes proper saturation so I will merge that in at some point instead.

-I manually copied the changes for including configurable port (couldn't use git cherry-pick because both of those changes were committed together).

Copy link
Copy Markdown
Owner

@jddes jddes left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not merging the arbitrary waveform generator in the main branch until we know it works well and is stable.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants