AnsweredAssumed Answered

USB: Can't IN transmit to Host because STAT_TX bit stuck to 0x2

Question asked by Zirconium on May 26, 2015

I use the Cube 1.2 and STM32L151CB.
The host receives NAK each time it tries to read data from my USB device (IN Tx).
This effect is got at the end of enumeration.
Looking at USB registers, I see that STAT_TX bit is stuck to 0x2.
I tried to do a PCD_SET_EP_TX_STATUS at USB_EP_TX_VALID at EP initialization, but it didn't solve the issue.
I saw that some other people had experienced this issue, but no clue on how to solve it.
Any idea is welcome.
Best regards