Dear friend,
I have started programing ADSP processor 2181 using VDSP3.5 (C coding)
recently, however I used to port the coding in assembly earlier. I'm
able to program for timer interrupt, IRQ2 interrupt etc. through
assembly but I could not able to do that using C coding. I just tried
for timer interrupt, but timer interrupt occured only once. Just send
me a sample C coding for 2181 using interrupts.
regards
Sendhil Kumar
India
reg 2181
Started by ●August 28, 2005
Reply by ●November 4, 20052005-11-04
Dear Friends,
I have a problem in ADSP2181.
The board that i'm using is a one which is developed by us. I have a routine to send a character through UART, which i have called in a nested loop. The problem that i face is that the number of character that displayed is not same as that of my loop counter values. But this happens only for the first time & from the next time onwards it is equal to the number of times that i expect.
cntr = 1;
do loop1 until ce;
cntr = 1;
do loop2 until ce;
nop;
call outchar;
loop2: nop;
loop1: nop;
outchar is a routine which transmits a character through IO port.
When i execute in the board, i got 10 characters for the first time but from 2nd time onwards it was 1 characters.
What might be the problem & Its soultions please.
Regrads,
Sendhil Kumar
I have a problem in ADSP2181.
The board that i'm using is a one which is developed by us. I have a routine to send a character through UART, which i have called in a nested loop. The problem that i face is that the number of character that displayed is not same as that of my loop counter values. But this happens only for the first time & from the next time onwards it is equal to the number of times that i expect.
cntr = 1;
do loop1 until ce;
cntr = 1;
do loop2 until ce;
nop;
call outchar;
loop2: nop;
loop1: nop;
outchar is a routine which transmits a character through IO port.
When i execute in the board, i got 10 characters for the first time but from 2nd time onwards it was 1 characters.
What might be the problem & Its soultions please.
Regrads,
Sendhil Kumar