LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to synchronize FPGA and RT?

Hi all,

I am using crio 9076 with followinf modules: 9234 and 9263. I need to synchronize FPGA and RT working at same frequency which is about 2000 kHz. I am using FIFO as communcation method between FPGA and RT. Is that possible? And how it is possible? What method should I use?

0 Kudos
Message 1 of 10
(3,659 Views)

I presume you mean either 2000 Hz or 2 kHz...... if you really want 2000 kHz (2 MHz) then I'll let others answer.... Smiley Very Happy

0 Kudos
Message 2 of 10
(3,643 Views)

Hi,

 

Sorry I meant 2000 Hz. Do you have any solution?

0 Kudos
Message 3 of 10
(3,639 Views)

In our RT Application, we use a read timer for the FIFO read together with whether items are still left in the FIFO or not to essentially run off a timer to keep both RT and FPGA synchronised.

0 Kudos
Message 4 of 10
(3,636 Views)

I appreciate that my post helped, but I'm busy with my own workload.... If you ask specific questions, I'm sure people in the forum will be more than willing to help.

 

>clarification< Response to Private Message

0 Kudos
Message 5 of 10
(3,621 Views)

Is it possible to get more on the application?

Do you need to lock phases of input and output data?

 

In general, I would to get the FPGA to do all the timing/sync and let the RT collect and manage things.  Is this possible in your case?


Certified LabVIEW Architect, Certified Professional Instructor
ALE Consultants

Introduction to LabVIEW FPGA for RF, Radar, and Electronic Warfare Applications
0 Kudos
Message 6 of 10
(3,613 Views)

Hi,

 

Well that is all what I try. FPGA works as hardware/ software and RT is place where I do calculation. The case is as following: I have input and output modules and I run the FPGA for 2000Hz. The input modules works well. Howerver I need RT working as fast as FPGA because I am creating the controller in RT, which is closed loop, which mean it is using the data coming from FPGA therefore it should works at same rate...

0 Kudos
Message 7 of 10
(3,608 Views)

Can the algorithm be put on the FPGA?

On RT, are you using a timed loop?

 

Have you reviewed http://www.ni.com/compactriodevguide/?


Certified LabVIEW Architect, Certified Professional Instructor
ALE Consultants

Introduction to LabVIEW FPGA for RF, Radar, and Electronic Warfare Applications
0 Kudos
Message 8 of 10
(3,605 Views)

In PFGA I am using While loop and in RT timed loop. I have red this guide few time Smiley Embarassed . Still can not solve the problem..

0 Kudos
Message 9 of 10
(3,601 Views)

Can the algorithm be put on the FPGA?


Certified LabVIEW Architect, Certified Professional Instructor
ALE Consultants

Introduction to LabVIEW FPGA for RF, Radar, and Electronic Warfare Applications
0 Kudos
Message 10 of 10
(3,597 Views)