The trigger input timing can be tweaked to compensate for delays in components, cabling, etc.
Using Register 0x16 is how you set the input delay element.
We did reproduce your issue in a RevF board, and using this register fixed it.
Writing 0x110 to register 0x16 applied a proper delay compensating the timing of the trigger. Your setup may be different and you may need to try other values.
Register 0x16: Fine trigger calibration input delay.
Bit 9- Delay reset: resets the idelay element to zero.
Bit 8- Increment delay: sets the idelay to increment taps (zero will decrement).
Bits 5:0- Amount of taps: each tap applies a 72ps delay to the input.
Your application should first reset the idelay element by writing 0x200 and then writing the proper delay increments, in our case 0x110.
Thanks for the measurement and instructions for configuring the register.
Following your suggestions, we tested the Rev.F board by writing different delay increments, we scanned the whole delay increments from 0x000 till 0x13E with the step of 2, unfortunately we could not find the proper delay increments completely solve the phase jump issues. For certain delay increments, the phase jump chance was less, but it still happened.
On the other hand, we did the some random delay increments changes for two Rev.E boards, the phases were not influenced by this parameter and always stable.
We want to use the new BSP for MATLAB based design. But it happened that:
When I tried to use the MATLAB/BSP supported Framework Logic, in folder: X5_400M_r7.6\400M\matlab\rev_e\Logic, I encountered error like:
Port <trigger_offphase> of instance <inst_adc_top> does not exist in definition <ii_adc_intf_top>. Please compare the definition of block <ii_adc_intf_top> to its component declaration to detect the mismatch. entity <ii_adc_intf_top> with generics:
I suppose there could be some missing part for the modification of certain VHDL files. Can you help to check this out?
A new beta release r7.7 has been issued that addresses this variation in RevE boards. I extensively tested it on 2 RevE and one RevF boards.
This new release should hit our beta site shortly. The Matlab BSP has been updated as well.