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 | Getting data from both channels on AD73322 in ADSP 2189M EZ-Kit

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

  

Post a new Thread

Getting data from both channels on AD73322 in ADSP 2189M EZ-Kit - tylu - Aug 10 3:45:00 2003



hi
I have some problems about getting data from both channels on AD73322.
How can I be sure that the ch1 and ch2 won't mixed up?
First, I tried using timer interrupt and read the data on each
interrupt. But they just mixed up. Sometimes ch1 data was picked up
by what supposed to be ch2 and vice versa.
Then I use polling and the result turned out to be all right. But my
problem is what if a clock count is missing. The channel would be
mixed up again!
Is there any way or method that make sure ch1 will always be ch1 and
ch2 will always be ch2?
thanks~





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

Re: Getting data from both channels on AD73322 in ADSP 2189M EZ-Kit - Ali Irfan Ahmed - Aug 11 7:08:00 2003

Hi,

I got around this problem by wiring the reset pin of codec to adsp's flag
pin. After loading and initializing the dsp, I bring the codec out of the
reset the first ever interrupt is from codec1 and second one is from codec0
u can keep a flag vairable which toggles on each interrupt to know which
codec is sending the data.

----- Original Message -----
From: "tylu" <>
To: <>
Sent: Sunday, August 10, 2003 8:45 AM
Subject: [adsp] Getting data from both channels on AD73322 in ADSP 2189M
EZ-Kit > hi
> I have some problems about getting data from both channels on AD73322.
> How can I be sure that the ch1 and ch2 won't mixed up?
> First, I tried using timer interrupt and read the data on each
> interrupt. But they just mixed up. Sometimes ch1 data was picked up
> by what supposed to be ch2 and vice versa.
> Then I use polling and the result turned out to be all right. But my
> problem is what if a clock count is missing. The channel would be
> mixed up again!
> Is there any way or method that make sure ch1 will always be ch1 and
> ch2 will always be ch2?
> thanks~ >
> _____________________________________
> /groups.php3





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