Hi! I have a general question about RP.
I would like to perform real-time digital signal processing, e.g. implement a digital filter in the FPGA such that a signal is digitized by the ADC, processed in real time with some math operations, etc, and converted to an output analog signal with the DAC.
I am wondering whether such functionalities are already built in into the API or whether I would have to program new FPGA blocks for this. For instance, how would I do this with the Visual Programming interface?
Thanks a lot!
Real-time DSP with red pitaya
-
- Posts: 1441
- Joined: Sat Jun 07, 2014 12:49 pm
- Location: Königswinter
Re: Real-time DSP with red pitaya
Hi,
generally, it is possible to implement additional signal processing steps in the signal path within the FPGA and route the processed stream directly to the DAC. The only limits in this approach are available computing resources.
generally, it is possible to implement additional signal processing steps in the signal path within the FPGA and route the processed stream directly to the DAC. The only limits in this approach are available computing resources.
The API and the visual programming interface can only work with the already existing logic. They have no mechanisms to reprogram the FPGA, and offer only high-level access to a fixed set of registers.I am wondering whether such functionalities are already built in into the API or whether I would have to program new FPGA blocks for this. For instance, how would I do this with the Visual Programming interface?
-
- Posts: 6
- Joined: Thu May 19, 2016 10:49 am
Re: Real-time DSP with red pitaya
What is the available logic you refer to? If I find a block in the visual programming interface that does, say, a square root operation, does this mean that this operation is already implemented in the FPGA?
Also, if I want to input a signal from the fast ADC, what pin number do I have to use in the AnalogReadVoltage() function?
Also, if I want to input a signal from the fast ADC, what pin number do I have to use in the AnalogReadVoltage() function?
-
- Posts: 6
- Joined: Thu May 19, 2016 10:49 am
Re: Real-time DSP with red pitaya
: Can you point me to some documentation on how to do this?generally, it is possible to implement additional signal processing steps in the signal path within the FPGA and route the processed stream directly to the DAC. The only limits in this approach are available computing resources
Thanks
-
- Posts: 1441
- Joined: Sat Jun 07, 2014 12:49 pm
- Location: Königswinter
Re: Real-time DSP with red pitaya
I am not familiar with the Visual Programming module at all, but I am pretty sure that the calculating blocks you use there will not be run in FPGA logic. I expect they will be processed either on the Red Pitaya's CPU or clientside. As I said, there is no infrastructure on the Red Pitaya to create FPGA logic on-the-fly.
As for documentation, the Vivado suite of applications (which you would be using to do the work) comes with an extensive set of tutorials and guides and has a free version.
The FPGA has memory, arithmetic blocks, registers, and logic gates with which to create DSP functions. If you are not experienced with creating logic designs, there are tools which can aid in the process - up to a point, manually integrating it with the existing Red Pitaya design is still required.What is the available logic you refer to?
As for documentation, the Vivado suite of applications (which you would be using to do the work) comes with an extensive set of tutorials and guides and has a free version.
Maybe somebody with some Visual Programming experience wants to answer this ?Also, if I want to input a signal from the fast ADC, what pin number do I have to use in the AnalogReadVoltage() function?
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 98 guests