Real-Time Measurement and Control

cancel
Showing results for 
Search instead for 
Did you mean: 

Accessing EtherCAT data on cRIO Master's FPGA

Solved!
Go to solution

Assuming someone had a sytem where many EtherCAT slaves where connected to the master, and you wanted to be able to access that data on the FPGA of the master to do things with it, how would you do it? From what I understand the Eth1 port on cRIOs is not connected to the FPGA fabric in any way. So would you have to push the data from the real-time side with something like a DMA FIFO , fpga front panel controls or UDVs so that the FPGA could work with it? 

 

0 Kudos
Message 1 of 2
(2,070 Views)
Solution
Accepted by topic author MarkCG

Hi MarkCG,

 

As you mentioned, the way to approach this would be to get the data from a DMA FIFO:

 

Transferring Data between Devices or Structures Using FIFOs (FPGA Module)

http://zone.ni.com/reference/en-XX/help/371599G-01/lvfpgaconcepts/fpga_transfer_data/

Alex
Hardware Engineer
0 Kudos
Message 2 of 2
(2,035 Views)