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
A4D4: slave mode and external clock

 
Post new topic   Reply to topic    II Support Forum Index -> ChicoPlus
View previous topic :: View next topic  
Author Message
opto



Joined: 08 Jun 2008
Posts: 2

PostPosted: Thu Nov 26, 2009 11:43 am    Post subject: A4D4: slave mode and external clock Reply with quote

Hi,

is it possible to use slave mode together with an external clock?
Like: I request a datapoint and get it after the next external clock pulse has arrived?
Set an analog out and it is processed at the next external clock pulse?

How to do this? In a Visual C++ sample program (VC_Slave_A4D4), I tried to replace the property tsSoftware by tsExternal, but this does show no effect (timebase has been reset to TIIExternalClock). Using this timebase for streaming works fine.

Thanks for any help.

Klaus
Back to top
View user's profile Send private message
csmith
Site Admin


Joined: 13 Apr 2006
Posts: 195

PostPosted: Wed Dec 02, 2009 9:59 am    Post subject: Reply with quote

The Chico maps its registers into memory on the application, so a slave access is like a memory read. The system stretches this out to account for the nature of the PCI bus, but holding a memory access out potentially forever could result in problems.

So I'm believe that the slave access does a read from the ADC register, that in external clock mode may or may not have been recently updated. You would have to poll to watch for changes in value, or have some other means of knowing when to read the value for it to work.

There is a mode where you can do a slave access using the stream engine but even then this access would not be synchronized with the external clock update.

_________________
Chris Smith
Innovative Integration
csmith@innovative-dsp.com
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    II Support Forum Index -> ChicoPlus (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