I connect signal of external trigger to J67 and J68 on ZC706. I use python script in AD9371 TES. For FPGA setting I run script:
RX trigger work properly. Tx trigger dont work. Transmit data work only when setTxTransmitMode=1.
What I doing wrong?
Can you try the below python script?
#Disable Tx Data Paths in FPGALink.FpgaMykonos.enableTxDataPaths(Link.FpgaMykonos.TX_DATAPATH.DISABLE)#Set Tx into single data transmit mode in data pathLink.FpgaMykonos.setTxTransmitMode(0)#Enable Tx Data Paths in FPGA and start TX dataLink.FpgaMykonos.enableTxDataPaths(Link.FpgaMykonos.TX_DATAPATH.TX1)Link.FpgaMykonos.setupTxExtTrigPin(0,Link.FpgaMykonos.FPGA_EXT_TRIGGER_SOURCE.DATA_PATH_TRIG)Link.FpgaMykonos.setTxTrigger(Link.FpgaMykonos.TXTRIGGER.EXT_SMA)Link.FpgaMykonos.startTxData()
No, TX signal turn off. But set setTxTransmitMode=1 turn on TX signal without EXT trigger
I understand that. But I plugged an external pulse generator to external RX and TX simultaneously. TX signal control with signal analyzer.
What is the frequency of the trigger?
Can you test Tx and Rx individulally?
Trigger impuls duration 10us, period 100ms. Individually RX trigger work properly, Tx trigger dont work. RX trigger connect to J68, TX trigger - to J67(is that right?). Where on ZC706 board can I check for pulses?
Trigger pins are correct.
How are you loading waveform?
Can you please explain a bit more about your tests procedure?
I'm creating an LFM signal in txt format. the trigger signal is connected to both connectors J67 and J68. In the tab "transmit data" is loaded my file into the channels TX1 and TX2. Starting play transmit data. I check on the tab "receive data" that the signal is generated in TX1 channel. Running your script. In the tab "receive data" I see that the output signal no. In the script, change the parameter setTxTransmitMode to 0. The output signal appears.
Add to script string setRxTrigger(Link.FpgaMykonos.RXTRIGGER.TX_LOOP). When setTxTransmitMode = 0 the chart "receive data" is not updated. If setTxTransmitMode = 1 the chart "receive data" is constantly updated