This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

am3517 musb interrupt problem. can't trigger interrupt after first time.

Other Parts Discussed in Thread: AM3517

I have some problem in AM3517 OTG usb driver.

I configure it as device type in hardware and initialize it in software with:

UINIT = 0; <-- PDR interrupt

musbr->power = 0x60   <-- power musb

.// Enable all interrupt in core level and wrap levle

musbr->intrusbe = 0xff ;

musbr->intrrxe = 0xffff;

musbr->intrtxe = 0xffff;

...

// Open softe connect.

..

After initialize. i open OTG interrupt INT_71. Then OTG generate a suspend interrupt.

But when i connect USB to PC (host). Register "USB Endpoint Interrupt Source Register" = 0x01

It means a tx interrupt have generated. But can't trigger a INT_71 interrupt.

Why?

In int_71 service routine. i written 1 to CONTROL_LVL_INTR_CLEAR.D4 for interrupt clear.

Any one can help me?

Thanks.