AnsweredAssumed Answered

USB device : Transmitted data on EP1 shows ZLP sometimes

Question asked by ritesh unde on Feb 6, 2018

Hi,

 

   I am using STM32F401RE controller with DFU_Standalone stack for my USB device application.I have made changes wherever required in stack while porting and it is working fine.but when I stop my application and again start instead of data on EP1 I see ZLP.

 

I have debugged through stack but it is loading right value data using HAL_PCD_EP_Transmit function and I am also getting USB_OTG_DIEPINT_XFRC interrupt.

 

Can anyone please help me on this? 

Outcomes