Innovative Integration
 
Log inUsernamePassword
Log me on automatically each visit    
Register
Register
Log in to check your private messages
Log in to check your private messages
Synchronization problem using external trigger
Goto page Previous  1, 2, 3  Next
 
Post new topic   Reply to topic    II Support Forum Index -> X5-400M
View previous topic :: View next topic  
Author Message
Pat Carr
Site Admin


Joined: 02 Nov 2007
Posts: 244
Location: CA, US

PostPosted: Mon Oct 25, 2010 10:12 am    Post subject: Reply with quote

We had a schedule conflict last Friday. We'll be doing the tests today. Thanks for your understanding.
Back to top
View user's profile Send private message
Pat Carr
Site Admin


Joined: 02 Nov 2007
Posts: 244
Location: CA, US

PostPosted: Thu Oct 28, 2010 10:38 am    Post subject: Reply with quote

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
View user's profile Send private message
AQAV



Joined: 21 Apr 2009
Posts: 42
Location: Netherlands

PostPosted: Tue Nov 02, 2010 6:59 am    Post subject: Reply with quote

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
View user's profile Send private message
Pat Carr
Site Admin


Joined: 02 Nov 2007
Posts: 244
Location: CA, US

PostPosted: Tue Nov 02, 2010 5:59 pm    Post subject: Reply with quote

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
View user's profile Send private message
AQAV



Joined: 21 Apr 2009
Posts: 42
Location: Netherlands

PostPosted: Wed Nov 03, 2010 5:10 am    Post subject: Reply with quote

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
View user's profile Send private message
AQAV



Joined: 21 Apr 2009
Posts: 42
Location: Netherlands

PostPosted: Mon Nov 08, 2010 7:38 am    Post subject: Reply with quote

Here is the measurement report.
Back to top
View user's profile Send private message
Pat Carr
Site Admin


Joined: 02 Nov 2007
Posts: 244
Location: CA, US

PostPosted: Mon Dec 06, 2010 8:51 pm    Post subject: Reply with quote

A new beta version has been released that fixes this issue. Please see X5-400MDevKit.zip in:
http://www.innovative-dsp.com/cgi-bin/dlWindowsBeta.cgi?product=X5-400M
Back to top
View user's profile Send private message
AQAV



Joined: 21 Apr 2009
Posts: 42
Location: Netherlands

PostPosted: Tue Dec 07, 2010 6:57 am    Post subject: Reply with quote

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
View user's profile Send private message
Pat Carr
Site Admin


Joined: 02 Nov 2007
Posts: 244
Location: CA, US

PostPosted: Tue Dec 07, 2010 10:54 am    Post subject: Reply with quote

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
View user's profile Send private message
AQAV



Joined: 21 Apr 2009
Posts: 42
Location: Netherlands

PostPosted: Tue Dec 07, 2010 1:08 pm    Post subject: Reply with quote

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
View user's profile Send private message
Pat Carr
Site Admin


Joined: 02 Nov 2007
Posts: 244
Location: CA, US

PostPosted: Tue Dec 07, 2010 3:09 pm    Post subject: Reply with quote

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
View user's profile Send private message
AQAV



Joined: 21 Apr 2009
Posts: 42
Location: Netherlands

PostPosted: Tue Dec 07, 2010 3:22 pm    Post subject: Reply with 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.
Back to top
View user's profile Send private message
Pat Carr
Site Admin


Joined: 02 Nov 2007
Posts: 244
Location: CA, US

PostPosted: Tue Dec 07, 2010 3:33 pm    Post subject: Reply with quote

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
View user's profile Send private message
Pat Carr
Site Admin


Joined: 02 Nov 2007
Posts: 244
Location: CA, US

PostPosted: Fri Dec 10, 2010 3:47 pm    Post subject: Reply with quote

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
View user's profile Send private message
Pat Carr
Site Admin


Joined: 02 Nov 2007
Posts: 244
Location: CA, US

PostPosted: Fri Dec 17, 2010 7:16 pm    Post subject: Reply with quote

Just to re-confirm, a new beta version r7.7 was released last week that fixes this issue. Please see X5-400MDevKit.zip in:
http://www.innovative-dsp.com/cgi-bin/dlWindowsBeta.cgi?product=X5-400M
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    II Support Forum Index -> X5-400M (GMT - 8 Hours)
Goto page Previous  1, 2, 3  Next
Page 2 of 3

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum

© Copyright 2006-2012 Innovative Integration
Powered by phpBB © 2001, 2002 phpBB Group
Based on iCGstation v1.0 Template By Ray © 2003, 2004 iOptional