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 __________________________________________________ |
uart initialization in 21061
Started by ●September 28, 2002