Sign in

username:

password:



Not a member?

Search adsp



Search tips

Subscribe to adsp



adsp by Keywords

AD1819 | AD7332 | ADSP-2106 | ADSP-21060 | ADSP-21065L | ADSP-2116 | ADSP-21160M | ADSP-2181 | ADSP-218x | ADSP-219 | ADSP-2199 | ADSP219 | BF531 | BF532 | BF533 | BF535 | Blackfin | FFT | JTAG | LDF | SDRAM | SHARC | SPORT | UART | VDSP++ | VisualDSP

Discussion Groups

Discussion Groups | Analog Devices DSPs | Automatic Video Port Switching.

Technical discussions related to Analog Devices DSPs (including Blackfin, TigerSHARC, SHARC and ADSP-21xx DSPs).

  

Post a new Thread

Automatic Video Port Switching. - miracle_sksim - Oct 16 8:19:20 2007



Hi,

Currently, i can manual switch those video input ports to my 
preferences by pressing the push button, using the i2c protocol.

But if i want the video ports to switch automatic like 2 secs delay 
how can i do about it ? example vin 5 after 2secs will switch to vin 4 
then 2secs again switch back to vin 5 and so on...

anyone?

thanks



(You need to be a member of adsp -- send a blank email to adsp-subscribe@yahoogroups.com )

Re: Automatic Video Port Switching. - Mike Rosing - Oct 16 11:11:03 2007

On Tue, 16 Oct 2007, miracle_sksim wrote:

> Hi,
>
> Currently, i can manual switch those video input ports to my
> preferences by pressing the push button, using the i2c protocol.
>
> But if i want the video ports to switch automatic like 2 secs delay
> how can i do about it ? example vin 5 after 2secs will switch to vin 4
> then 2secs again switch back to vin 5 and so on...
>
> anyone?

How about one of the timers?  Just read a clock, or set up an interrupt.

Actually going that slow is tricky.  You'll probably need to expand on the
timer by counting rollovers.  But read the manual - you may be able to go
for hours too by using the right prescaler.

Patience, persistence, truth,
Dr. mike



(You need to be a member of adsp -- send a blank email to adsp-subscribe@yahoogroups.com )

RE: Automatic Video Port Switching. - George Kadziolka - Oct 17 1:42:37 2007

Hi,

You can setup one of the GP timers to generate an interrupt every couple of
seconds.  You can then switch to different video channels within the
callback function.

Cheers,

George

  _____  

From: a...@yahoogroups.com [mailto:a...@yahoogroups.com] On Behalf Of
miracle_sksim
Sent: Tuesday, October 16, 2007 12:08 AM
To: a...@yahoogroups.com
Subject: [adsp] Automatic Video Port Switching.

Hi,

Currently, i can manual switch those video input ports to my 
preferences by pressing the push button, using the i2c protocol.

But if i want the video ports to switch automatic like 2 secs delay 
how can i do about it ? example vin 5 after 2secs will switch to vin 4 
then 2secs again switch back to vin 5 and so on...

anyone?

thanks



(You need to be a member of adsp -- send a blank email to adsp-subscribe@yahoogroups.com )