Skip to content
Commit 00e2b867 authored by Tomasz Moń's avatar Tomasz Moń Committed by Carles Cufí
Browse files

drivers: udc_dwc2: Process SETUP stage when allowed



DWC2 programming guide mentions that SETUP can only be processed by
application after DOEPINTn.SETUP interrupt. Not respecting this
requirement makes setting Global OUT NAK hang while waiting for
GOUTNAKEFF interrupt until the host starts next control transfer.
Global OUT NAK is necessary if the application ever wants to properly
cancel any ongoing transfer.

Change the processing to comply with the programming guide.

Signed-off-by: default avatarTomasz Moń <tomasz.mon@nordicsemi.no>
parent fa912f43
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment