Cut and paste this URL to share the unmodified register and value:
https://regviz.com/r/Keil/AT32F405xx_v2/USB_OTGHS_DEVICE/DOEPTSIZ6#0x0
OTGHS device OUT endpoint-6 transfer size register
Transfer size
Packet count
Received data PID
https://github.com/cmsis-svd/cmsis-svd-data