Cut and paste this URL to share the unmodified register and value:
https://regviz.com/r/Keil/AT32F435xx_v2/USB_OTG2_DEVICE/DIEPTSIZ2#0x0
OTGFS device IN endpoint-2 transfer size register
Transfer size
Packet count
Multi count
https://github.com/cmsis-svd/cmsis-svd-data