I saw the following function in the USB library.uint32_t USB_OTG_GetEPStatus(USB_OTG_CORE_HANDLE *pdev ,USB_OTG_EP *ep)
{
··········
if (depctl.b.stall == 1)
{
Status = USB_OTG_EP_TX_STALL;
}
e...
>Which STM32?YES>Why do you do that?Because I need to check if the data in the current USB port has been completely transmitted to prevent it from being overwritten> Which register exactly, for which endpoint?It is the DIEPCTLx register, and the port...
Thank you very much for your help. I would like to ask if there is specific documentation to support the statement "that DIEPCTLx.NAKSTS = 1, which effectively tells the Host (PC) that 'there are no more data available in this In endpoint' (USB is a ...