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 | uart initialization in 21061

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

  

Post a new Thread

uart initialization in 21061 - Liyju Janardhan - Sep 28 10:01:00 2002



Hi,
I am trying to write a simple C program for
ADSP-21061 which just loopback the byte which I am
is to the kit.

Some how I am not able to generate an interrupt(IRQ2).
That is the processor does't jump to my interrupt
service routine(isr).

I am new to dsp. SO please be kind to answer the
following question.

*What is the address where the uart is mapped(ms1).
(is it 0x00402000 if the msize value in syscon reg is
0)

*Is it neccessary to have a segment describing about
the external memory used by ms1(uart) in the
architecture file.

I doubt that the uart is not getting initialised.
Is there some way the to check that?

In my code I am enabling interrupt globally using:
asm("BIT SET IMASK IRQ2I;");
asm("BIT SET MODE1 IRPTEN;");
Is there anything else, which should be done to enable
interrupt.

Regards

Liyju

__________________________________________________




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