LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Real Time target and FPGA data transfer rate and syncronization

Hi there,

 

Thanks for your time on this question.

 

I am trying to transfer data from RT target to FPGA, but I am a little confused about their timing. I have two questions below.

1. How fast can the data be transfered? The goal would be to transfer a double variable at 40 MHz. Can I do that?

2. Is their timing consistent with each other? i.e. RT generates a number per (1 / 40M) sec and FPGA receive it at the next clock? Or is there any way to do that?

 

Thank you again for your patience. I am really new to embeded system so my questions might sound stupid. Sorry for that if so.

 

Best

0 Kudos
Message 1 of 4
(958 Views)

1. Throughput rate between RT and FPGA depends on the hardware you are using.

2. RT will generally not be able to handle as much data as an FPGA could generate.

 

The FPGA could send more than one sample per cycle and the clock rate could vary.


Certified LabVIEW Architect, Certified Professional Instructor
ALE Consultants

Introduction to LabVIEW FPGA for RF, Radar, and Electronic Warfare Applications
0 Kudos
Message 2 of 4
(954 Views)

You could have the RT generate a bunch of the elements at once in an array and then use a DMA FIFO to pass the data down to the FPGA to do whatever with.  Considering you are passing DBLs, I'm not sure what you expect the FPGA to do as any analog outputs will be much slower than the 40MHz you want (I am assuming a cRIO here).


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 Kudos
Message 3 of 4
(943 Views)

If you have hardware that can acquire data at that rate and a signal making it worthwhile, why not flip and acquire in the fpga and process in the slower RT loops?

0 Kudos
Message 4 of 4
(933 Views)