I used 2K and 4K aligned buffer, but both are not working.
Below is 2K aligned buffer: buffer address is 80200800.
[00:00:18.673,000] <inf> udc_xdci: super speed
[00:00:18.673,000] <inf> udc_xdci: (00) TRB[0x80401260]=80401260 00000000 00000008 00000823
[00:00:18.678,000] <inf> udc_xdci: (00) TRB[0x80401260]=80401260 00000000 00000008 00000823
[00:00:18.778,000] <inf> udc_xdci: SETUP: 00 05 2b 00 00 00 00 00
[00:00:18.778,000] <inf> udc_xdci: (80) TRB[0x80401a70]=00000000 00000000 00000000 00000833
[00:00:18.779,000] <inf> udc_xdci: (00) TRB[0x80401260]=80401260 00000000 00000008 00000823
[00:00:18.779,000] <inf> udc_xdci: SETUP: 80 06 00 01 00 00 12 00
[00:00:18.779,000] <inf> udc_xdci: (80) TRB[0x80401a70]=80200800 00000000 00000012 00000853
[00:00:18.779,000] <inf> udc_xdci: (00) TRB[0x80401260]=80204ab0 00000000 00000000 00000c43
[00:00:18.779,000] <inf> udc_xdci: (00) TRB[0x80401260]=80401260 00000000 00000008 00000823
[00:00:18.782,000] <inf> udc_xdci: SETUP: 80 06 00 02 00 00 ff 00
[00:00:18.782,000] <inf> udc_xdci: (80) TRB[0x80401a70]=80200800 00000000 0000005d 00000853
[00:00:24.296,000] <inf> udc_xdci: SS inactive DCTL=80f00000, disconnect
[00:00:24.384,000] <inf> udc_xdci: super speed
Below is 4K aligned buffer: buffer address is 80201000.
[00:00:08.094,000] <inf> udc_xdci: super speed
[00:00:08.094,000] <inf> udc_xdci: (00) TRB[0x80401260]=80401260 00000000 00000008 00000823
[00:00:08.099,000] <inf> udc_xdci: (00) TRB[0x80401260]=80401260 00000000 00000008 00000823
[00:00:08.200,000] <inf> udc_xdci: SETUP: 00 05 2f 00 00 00 00 00
[00:00:08.200,000] <inf> udc_xdci: (80) TRB[0x80401a70]=00000000 00000000 00000000 00000833
[00:00:08.200,000] <inf> udc_xdci: (00) TRB[0x80401260]=80401260 00000000 00000008 00000823
[00:00:08.200,000] <inf> udc_xdci: SETUP: 80 06 00 01 00 00 12 00
[00:00:08.201,000] <inf> udc_xdci: (80) TRB[0x80401a70]=80201000 00000000 00000012 00000853
[00:00:08.201,000] <inf> udc_xdci: (00) TRB[0x80401260]=802052b0 00000000 00000000 00000c43
[00:00:08.201,000] <inf> udc_xdci: (00) TRB[0x80401260]=80401260 00000000 00000008 00000823
[00:00:08.203,000] <inf> udc_xdci: SETUP: 80 06 00 02 00 00 ff 00
[00:00:08.204,000] <inf> udc_xdci: (80) TRB[0x80401a70]=80201000 00000000 0000005d 00000853
[00:00:13.717,000] <inf> udc_xdci: SS inactive DCTL=80f00000, disconnect
[00:00:13.805,000] <inf> udc_xdci: super speed
There is no endpoint error event from dwc3 core after start control IN transfer. It received command complete event after start control IN transfer. It means USB controller (dwc3) is processing control IN transfer.