I'am working with at91sam7x256 and in my program the usart interrupt dosen't work correctly ! I communicatinon with atmel but it isn't fix yet.
thise is my program...pleas help me
www.4shared.com/.../usart16__2_.html
my mail :salehi.elc@gmail.com
Ali,
According to this post, you do not need to write to the AIC_EOICR register unless it was invoked by SW.
www.embeddedrelated.com/.../2874.php
Here is another resource for serial comms. The code looks very familiar to what you have posted, so you should be able to compare yours to this one and solve your problem...
www.sparkfun.com/.../at91sam7 serial communications.pdf
and about that -> "...According to this post, you do not need to write to the AIC_EOICR register unless it was invoked by SW...."
yes is right but my problem doesn't for it..i check it! not difference from to bo or not to be of AIC_EOICR in code!
and about it: "..Here is another resource for serial comms. The code looks very familiar to what you have posted, so you should be able to compare yours to this one..."
I read all of it beforehand..and if i can write this program it is for this resource!
it is a very good resource but it doesn't have a good description a bout interrupt,
in this resource the all of thing about normal usart explain very exactly and step by step but when the interrupt subject start it explain that very short and obscure..