Products > FMC103, FMC104, FMC107, FMC108

triggering a data capture on FMC104

(1/2) > >>

KevinNIST:
Hi,
I want to use an FMC104 as a waveform digitizer with a programmable trigger. Is there a way to do this with the standard ML605 Board Support Package? Or, has 4DSP developed other firmware & software tools that can be shared?
I simplified explanation... on a rising edge, I want the ML605 to generate an interrupt to the host PC and buffer 10 microseconds of data. In response, the host PC would Save16BitArrayToFile and download the buffered data. After the download is finished, return to the original state.[/font]
This seems like a simple function that many customers would want to do. Perhaps 4DSP has done this already? Looking over the BSP, I don't see any interrupt & response routines in the C++ code. Can you offer some help and/or advice?[/font]

Thanks,[/font]
-Kevin
 

arnaudNL:
Dear Kevin,


Our PCI API has a function called _4FM_ReadMailbox() which is blocking and wait a mailbox value to be received by the firmware. To be more precise, the function waits a value to be present in a software queue implemented in the device driver up to a given timeout value. When a mailbox packet is sent from the host interface, a hardware interrupt is generated. The hardware interrupt is processed by the device driver and the value associated is placed in the mailbox software queue.


The idea is that the mailbox value sent from the software contains the amount of data to be offloaded by the host! The interrupt code is in the device driver, very far from the user space!


This is not available on our Ethernet firmware, FYI and the software layer SIPIF does not propagate _4FM_ReadMailbox().


Best Regards,
Arnaud





KevinNIST:
Thanks. I'd like to do the same thing with an ML605 and a FMC125. Is the same triggering scheme possible? Is the BSP and function call the same?
-Kevin
 

arnaudNL:
Dear Kevin,


No, our Ethernet designs are using ETHAPI which has no interrupt. Maybe a solution would be to use the ML605 on PCIe bus but feasibility should be studied, contact sales@4dsp.com to discuss that further. I know we have both PCI and DDR3 stars for ML605 but they don't come part of the standard BSP; the PCI core is the fruit of 10 years of development. The advantage of the PCIe?, well you will be able to stream 1.3GB/s over the bus..


The ETHAPI layer is nothing like a robust interface, no interrupts, no recovery, fire and forget style. It is really only designed to offload a few kilo samples here and there and not for any streaming; it does manipulate EthernetII packets, no stack, no IP, slowly manipulating EthernetII packets, the efficiency directly depend on the CPU speed and how busy the computer is..


Best Regards,
Arnaud

KevinNIST:
The ML605 is bulky, and the card and extension just wont fit a PC's PCIe card slot. Is it possible to use a PCIe extension cable like this one? Would the design still work?
http://www.digikey.com/product-search/en?pv77=936&FV=fff40018%2Cfff802e7%2C700966%2C74001e%2C1668000e&k=PCIe&mnonly=0&newproducts=0&ColumnSort=0&page=1&quantity=0&ptm=0&fid=0&pageSize=25
 
-Kevin

Navigation

[0] Message Index

[#] Next page

Go to full version