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
X3-10M with X3-Timing as external clock source

 
Post new topic   Reply to topic    II Support Forum Index -> X3-10M
View previous topic :: View next topic  
Author Message
MG



Joined: 30 Mar 2011
Posts: 32

PostPosted: Tue Dec 20, 2011 11:56 pm    Post subject: X3-10M with X3-Timing as external clock source Reply with quote

Hi,

I want to use the X3-10M and the X3-A4D4 in one application. To synchronize the boards I'd like to use a X3-Timing module.

I wrote a custom application that sets the the external clock source to esPanel. In general the part with the A4D4 seems to work, but the part with 10M does not. My first suggestion was that the clock frequency isn't working properly. While searching for the problem I couldn't find the answer to the following question:

In Snap (and Wave) it is possible to use an external clock source. Nonetheless, the board specific clock is initialized, e.g.

Code:
Module.Clock().Frequency(SampleRate());


is set. I'm confused by these lines. I thought it is sufficient to enable external clock source and neglect the on-board pll. (I don't want to use the X3-timing module as a reference for the on-board pll)

Furthermore I wondered if there is a possibility to access the frequency of the external clock source within the Malibu class handling the 10M module.
Back to top
View user's profile Send private message
jhenderson
Site Admin


Joined: 07 Mar 2006
Posts: 2254
Location: So. Cal. USA

PostPosted: Wed Dec 21, 2011 5:49 am    Post subject: Reply with quote

When supplying an external clock to the X3 cards, portions of the onboard PLL circuitry are still used. Specifically, the clock routing and post divider circuitry is still in play. The post dividers allow the externally-supplied clock to be divided so that sampling at an integer subdivision of the external clock rate is possible.

Since the frequency of the external clock is unknowable, the Snap and Wave examples expect you to enter the external clock rate as the reference rate. Then, when specifying the sample rate via

Code:
Module.Clock().Frequency(SampleRate());


the Malibu libraries calculate the (integer) post divider values needed in order to achieve the desired frequency given the supplied external clock rate.
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    II Support Forum Index -> X3-10M (GMT - 8 Hours)
Page 1 of 1

 
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