Fast quadrature signal CORDIC

dedicated to the FPGA topics for all Red Pitaya programmers
Post Reply
ansh
Posts: 5
Joined: Fri Mar 31, 2023 4:40 pm

Fast quadrature signal CORDIC

Post by ansh » Fri Apr 07, 2023 8:15 pm

Hi,

For my application, I have 2 fast signals that are in quadrature. I need to be able to keep track of tan inverse (ADC1/ADC 2) and specifically count how many times the phase passes through a certain value.

I am currently using my own FPGA code that uses the CORDIC IP to calculate the inverse tangent. Since this is my own code it does not have the many of the nice features that the standard red pitaya FPGA firmware has.

I wanted edit the red pitaya FPGA code to add this into it. But was confused about what would be the best way to do it. I am not familiar with the red pitaya FPGA code and not sure where I can find a document that explains it. I am new to FPGA programming so help would be appreciated :D .

Best,
Ansh

User avatar
redpitaya
Site Admin
Posts: 880
Joined: Wed Mar 26, 2014 7:04 pm

Re: Fast quadrature signal CORDIC

Post by redpitaya » Wed Apr 12, 2023 2:34 pm

Hello Ansh,

Red Pitaya uses a combination of Verilog and System Verilog, which then connects with C programs through hardware registers.

I would suggest going through the tutorials on our webpage and from the University of Ljubljana. That should give you a few ideas:
https://redpitaya-knowledge-base.readth ... s/top.html
https://lniv.fe.uni-lj.si/redpitaya/

If you experience any issues, please let me know.

Post Reply
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 5 guests