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.

USB disconnect interrupt on the TMS320C5504.

Other Parts Discussed in Thread: TMS320C5515

It is stated on page 21 of SPRUGH9(User's Guide for USB on TMS320C5515/14/05/04) that "Once the SOFTCONN bit of the POWER register has been set, the software can also simulate a disconnect by clearing this bit to 0."

I am setting the SOFTCONN bit to zero in the POWER register (FADDR_POWER &= 0xBFFF) when I receive a RESTART command from the host; however, disconnect interrupts are not being generated. I have a breakpoint at the disconnect interrupt service routine; however, the breakpoint is never hit. The rest of my code works fine. I connect with the host correctly and exchange data, etc. However, on a RESTART command from the host I am supposed to disconnect, reset and restart. I have even configured the CONFIGDATA register INDEX_TESTMODE = 0x00; CONFIGDATA_INDX |= 0x0200; to enable the soft connect/disconnect option during intitalization of the USB; however the disconnect interrupt does not occur. Any help is deeply appreciated.

Thanks a lot.

Cheers,

Mushtaq