I'm considering buying a RedPitaya, although I would like to add a few features to the Scope app, mainly more triggering options such as pulse width and Nth pulse. To do this I'll need to add some registers for the extra settings.
I have mostly figured out how to add registers to the FPGA design, the bit I an stuck on is what needs modifying in the controller and GUI to be able to configure these registers.
For new users (including me) I think a diagram/description of how the FPGA, controller, Nginx and GUI integrate with each other would be beneficial.
Adding features to Scope
-
- Posts: 6
- Joined: Wed Jun 11, 2014 4:09 pm
- Location: United Kingdom
- DashPi
- Posts: 13
- Joined: Tue Jun 10, 2014 8:16 pm
Re: Adding features to Scope
If that helps this is a link to the changes I applied for calibration upgrade:
Html: adding buttons
https://github.com/dashpi/RedPitaya/com ... 41de358d7b
Main.c/h: adding params necessary for server client communication
https://github.com/dashpi/RedPitaya/com ... 4edeca82ac
Generate.c/h: added a function for direct access to individual signal generator FPGA registers
https://github.com/dashpi/RedPitaya/com ... 227f0ab2ec
Worker.c: calibration algorithm attached to preexisting average measurement functionality
https://github.com/dashpi/RedPitaya/com ... 8cbae88e12
Html: adding buttons
https://github.com/dashpi/RedPitaya/com ... 41de358d7b
Main.c/h: adding params necessary for server client communication
https://github.com/dashpi/RedPitaya/com ... 4edeca82ac
Generate.c/h: added a function for direct access to individual signal generator FPGA registers
https://github.com/dashpi/RedPitaya/com ... 227f0ab2ec
Worker.c: calibration algorithm attached to preexisting average measurement functionality
https://github.com/dashpi/RedPitaya/com ... 8cbae88e12
-
- Posts: 6
- Joined: Wed Jun 11, 2014 4:09 pm
- Location: United Kingdom
Re: Adding features to Scope
Thanks for those links. Since my original post I've been doing a bit more digging and have a reasonably good understanding of how everything fits together. Your links do help clarify things further.
Interestingly I found that the calibration parameters get loaded from the EEPROM, however I couldn't find a mechanism to save them back to the EEPROM later on. My guess is the EEPROM is written to during factory calibration.
Interestingly I found that the calibration parameters get loaded from the EEPROM, however I couldn't find a mechanism to save them back to the EEPROM later on. My guess is the EEPROM is written to during factory calibration.
- DashPi
- Posts: 13
- Joined: Tue Jun 10, 2014 8:16 pm
Re: Adding features to Scope
I'm glad it helped you. Regarding EEPROM, the original version of the apps only reads calibration. However I modified that for CalGenScope app in order to be able to save calibration.
Here are the changes:
https://github.com/dashpi/RedPitaya/com ... 96d9f77655
Here are the changes:
https://github.com/dashpi/RedPitaya/com ... 96d9f77655
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 4 guests