SparkFun Forums 

Where electronics enthusiasts find answers.

Your source for all things Atmel.
By manisha
#13361
Hi all,

I am designing a USB driver for AT91 board. i want to implement the handling of interrupt during any EP0 interrupt. the code i designed implements the resume interrupt, suspend interrupt and EndofBusReset Interrupt alongwith the EP0 interrupt.

however, whenever i connect the board, EndofBusReset interrupt comes, but EP0 interrupt never comes. i checked the USB Interrupt Status register too, but there also, it does not show for any EP0 interrupt.

i registered the USB interrupt service routine (ISR) to AIC first.

i am not getting where the problem is occuring. surprisingly, if i comment the ISR registration and poll for USB interrupt status register, it shows that EP0 interrupt occurs. so supposing that some problem is there in ISR registration.

if anyone has any idea about it, please help.
waiting for reply,
Manisha
long long title how many chars? lets see 123 ok more? yes 60

We have created lots of YouTube videos just so you can achieve [...]

Another post test yes yes yes or no, maybe ni? :-/

The best flat phpBB theme around. Period. Fine craftmanship and [...]

Do you need a super MOD? Well here it is. chew on this

All you need is right here. Content tag, SEO, listing, Pizza and spaghetti [...]

Lasagna on me this time ok? I got plenty of cash

this should be fantastic. but what about links,images, bbcodes etc etc? [...]