| View previous topic :: View next topic |
| Author |
Message |
Pat Carr Site Admin
Joined: 02 Nov 2007 Posts: 244 Location: CA, US
|
Posted: Mon Oct 25, 2010 10:12 am Post subject: |
|
|
| We had a schedule conflict last Friday. We'll be doing the tests today. Thanks for your understanding. |
|
| Back to top |
|
 |
Pat Carr Site Admin
Joined: 02 Nov 2007 Posts: 244 Location: CA, US
|
Posted: Thu Oct 28, 2010 10:38 am Post subject: |
|
|
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. |
|
| Back to top |
|
 |
AQAV
Joined: 21 Apr 2009 Posts: 42 Location: Netherlands
|
Posted: Tue Nov 02, 2010 6:59 am Post subject: |
|
|
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. |
|
| Back to top |
|
 |
Pat Carr Site Admin
Joined: 02 Nov 2007 Posts: 244 Location: CA, US
|
Posted: Tue Nov 02, 2010 5:59 pm Post subject: |
|
|
| I'd suggest checking the trigger input rise time. It could be too slow compared to the clock, to be confusing the edge detection circuit in the logic. |
|
| Back to top |
|
 |
AQAV
Joined: 21 Apr 2009 Posts: 42 Location: Netherlands
|
Posted: Wed Nov 03, 2010 5:10 am Post subject: |
|
|
Thanks for the reply, Pat.
We have checked the trigger rise time, it is around 1ns. Many different efforts have been made to improve and adjust the trigger and clock relationship. But that did not solve the phase problem.
You can find the report in the attachment.
In your measurement, the phase instability is completely removed after writing 0x110 in register 0x16? is that possible it just coincidently happened from statistics point? |
|
| Back to top |
|
 |
AQAV
Joined: 21 Apr 2009 Posts: 42 Location: Netherlands
|
Posted: Mon Nov 08, 2010 7:38 am Post subject: |
|
|
| Here is the measurement report. |
|
| Back to top |
|
 |
Pat Carr Site Admin
Joined: 02 Nov 2007 Posts: 244 Location: CA, US
|
|
| Back to top |
|
 |
AQAV
Joined: 21 Apr 2009 Posts: 42 Location: Netherlands
|
Posted: Tue Dec 07, 2010 6:57 am Post subject: |
|
|
Thanks Pat, for all efforts.
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:
| Quote: | 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? |
|
| Back to top |
|
 |
Pat Carr Site Admin
Joined: 02 Nov 2007 Posts: 244 Location: CA, US
|
Posted: Tue Dec 07, 2010 10:54 am Post subject: |
|
|
In the interest of expediency, we released this version without synchronizing the BSP release. The BSP will be updated shortly.
Please test with Snap on your set up and let us know. |
|
| Back to top |
|
 |
AQAV
Joined: 21 Apr 2009 Posts: 42 Location: Netherlands
|
Posted: Tue Dec 07, 2010 1:08 pm Post subject: |
|
|
We have tested new bitstream file with SNAP for our 4 boards, two RevF boards work well, which have phase issue with old bitstream file;
But, one of the two RevE boards still encounter phase jump, around 1/3 chances from statistic point. That board works perfect with the bitstream file for r7.4. |
|
| Back to top |
|
 |
Pat Carr Site Admin
Joined: 02 Nov 2007 Posts: 244 Location: CA, US
|
Posted: Tue Dec 07, 2010 3:09 pm Post subject: |
|
|
| Can you specify which channel is showing a phase difference? Since the external trigger is sampled on channel 1's sample clock, it should be always aligned on channel 1, on RevE and RevF boards. |
|
| Back to top |
|
 |
AQAV
Joined: 21 Apr 2009 Posts: 42 Location: Netherlands
|
Posted: Tue Dec 07, 2010 3:22 pm Post subject: |
|
|
| We measured and calculated the relative phase between Ch1 and Ch2, since that is the parameter we take care about, thus we can not specify which channel is showing the phase difference. |
|
| Back to top |
|
 |
Pat Carr Site Admin
Joined: 02 Nov 2007 Posts: 244 Location: CA, US
|
Posted: Tue Dec 07, 2010 3:33 pm Post subject: |
|
|
| Quote: | | We measured and calculated the relative phase between Ch1 and Ch2, since that is the parameter we take care about, thus we can not specify which channel is showing the phase difference. |
Understood. I am currently looking at this issue on a RevE board. Will keep you posted. Thanks for your feedback. |
|
| Back to top |
|
 |
Pat Carr Site Admin
Joined: 02 Nov 2007 Posts: 244 Location: CA, US
|
Posted: Fri Dec 10, 2010 3:47 pm Post subject: |
|
|
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. |
|
| Back to top |
|
 |
Pat Carr Site Admin
Joined: 02 Nov 2007 Posts: 244 Location: CA, US
|
|
| Back to top |
|
 |
|