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 | Switching lines in ADSP-2181 EZ-KIT lite

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

  

Post a new Thread

Switching lines in ADSP-2181 EZ-KIT lite - Author Unknown - Apr 9 18:24:00 2001



I'm trying to switch between 2 lines of the codec on
ADSP-2181 EZ-KIT lite after the initialization was done.
In order to do this I need to change values of the index registers.
So does anyone have an idea how to do it practically?





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

Re: Switching lines in ADSP-2181 EZ-KIT lite - Daniel J. Maguire - Apr 9 21:57:00 2001

Sure. Write whatever you want to change to the command variable that is shipped
out with each DAC output in your ISR. The state of the CODEC will be changed
prior to the next interrupt. In the ADI 2181 Ezkit
software, the command buffer location is tx_buf, so... Assign the left input to Line 1 source/22.5dB gain - dm(tx_buf)=0x800f
Assign the left input to Line 2 source/22.5dB gain - dm(tx_buf)=0x808f
Assign the right input to Line 1 source/22.5dB gain - dm(tx_buf)=0x810f
Assign the right input to Line 2 source/0dB gain - dm(tx_buf)=0x8180
and so on.

Check the AD1847 datasheet for the gory details. Also, keep in mind that a
sigma-delta converter takes an eternity to settle after switching.

Cheers,
Dan
wrote:

> I'm trying to switch between 2 lines of the codec on
> ADSP-2181 EZ-KIT lite after the initialization was done.
> In order to do this I need to change values of the index registers.
> So does anyone have an idea how to do it practically?
>
> _____________________________________
> /groups.php3




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