Posting this on behalf of a customer
We are getting 60 Mbps bandwidth for AM5728 as an USB-UVC device (instead of 150 Mbps) . Please see following observations. Please let us know the USB configuration and solution.
Observations/tests:
1. AM5728 USB 2.0 Device (UVC)
-- We are getting only 60 Mbps.
-- We noticed the HW is just doing one transaction of 1 Kbytes every 125 microsecond.
We tried to configure for three transactions and noticed that it is still sending one packet only and drops other two.
We have further following details for the issue of USB 2.0 as a device.
The ep2 is used for video streaming.
1. FIFO details
FIFO Reg value for ep2 is 0x184(by default), it is not changing after gadget driver loaded.
2. ep2 is using DMA (DMA allocates 512 size buffer)
3.DWC3 Register files (We need more details of the registers and recommended configuration for the higher bandwidth).