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
Timer Selection

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



Joined: 21 Oct 2008
Posts: 3

PostPosted: Tue Oct 21, 2008 7:46 am    Post subject: Timer Selection Reply with quote

What timer(s) would you suggest I use to accomplish the following on my ChicoPlus with AIX20 module:

1. Generate 500 microsecond positive pulses on a DIO pin at a 10 Hz rate.

2. At the leading edge of this pulse, take 8192 samples from the four ADC channels at 20 MHz.

I presume streaming mode would be best for saving this data to disk.

Thanks,

Charles
Back to top
View user's profile Send private message AIM Address
gmiller



Joined: 07 Mar 2006
Posts: 105
Location: Simi Valley, CA.

PostPosted: Wed Oct 22, 2008 7:17 am    Post subject: Timer Selection Reply with quote

Both Timer 0 and Timer 1 can be based on the DDS timer.
If you design a flow of data to the DIO with the Timer (0, 1) as the output latching control you can send data out the DIO to act as a trigger.

Respectfully Gary
Back to top
View user's profile Send private message Visit poster's website
Charles Greenlaw



Joined: 21 Oct 2008
Posts: 3

PostPosted: Fri Oct 31, 2008 7:06 am    Post subject: Reply with quote

Due to the terse description of the timers in the Armanda manual, that suggestion didn't help me any. I decided to try a simpler approach, using an external trigger to drive my system. The description of the IIRetrigger component (Pg. 44) suggests that this is the timer to use. I installed it, set the clock rate (DDS) to 20 MHz, FrameCount to 8192 (number of adc samples per trigger), FrameRate to 10 (the approximate rate of external triggers), and the Rate(?) to 20 MHz as well.

Questions:

1. Do I need the IIClock component installed to setup the clock or is IIRetrigger enough?

2. Does the External Trigger Input on the DIO connector trigger the IIRetrigger component? There is no mention of where this trigger arises in the manual that I could find.

3. Where can I observe the gated sample clocks out of the timer? Is there a way to direct it out the DIO connector so I can see it on a scope? I want to KNOW that this pulse train is synchronous with my input gate.

Thanks,

Charles
Back to top
View user's profile Send private message AIM Address
gmiller



Joined: 07 Mar 2006
Posts: 105
Location: Simi Valley, CA.

PostPosted: Fri Oct 31, 2008 8:03 am    Post subject: Timer Selection Reply with quote

#1 you do not need any other clock to use with this. Retrigger is a complete clock.

#2 The External Interrupt pin on the ChicoPlus is the input for the frame start. The signal must be held as long or longer then it takes to take the frame.

#3 There is no place to observe the gated clocks as these are done inside the FPGA. This is then sent to the Omnibus board from there. These clocks do not leave the board in this fashion.

I have done a Retrigger for an A4D1 this could be modified easily for an AIX. Write to me if your interested in this from Borland IDE.

Respectfully Gary
Back to top
View user's profile Send private message Visit poster's website
Charles Greenlaw



Joined: 21 Oct 2008
Posts: 3

PostPosted: Fri Oct 31, 2008 12:11 pm    Post subject: Reply with quote

Gary,

Yes, please. I would like to see an example.

Thanks,

Charles
Back to top
View user's profile Send private message AIM Address
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-2008 Innovative Integration
Powered by phpBB © 2001, 2002 phpBB Group
Based on iCGstation v1.0 Template By Ray © 2003, 2004 iOptional