Replies: 4 comments 4 replies
-
Beta Was this translation helpful? Give feedback.
-
|
Please use DMA where NAK retry is automatic.
|
Beta Was this translation helpful? Give feedback.
-
|
I see that stm32u575 does not support DMA with synopsys usb peripheral. |
Beta Was this translation helpful? Give feedback.
-
|
after some work around and with the help of AI, I found a way to disable retries in data in transfers. |
Beta Was this translation helpful? Give feedback.

Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I work with stm32u575 as a host using cdc class.
Usb host work in general but I have came across with an issue on bulk transfers endpoints.
Usb host ask for data (to device) every 125usec.
In case the device has issues and respond with NAK, Host uses retries then this drop to 60usec.
These interrupts cost a lot of in process power.
I found that changing HFIR register I can Increase SOF packet to 1msec, (for this reason I patch the tiny usb on hcd_init() function),
Is there a way to decrease the interval of these interrupts?
(I have not enable DMA also what frequency is recommended for system clock for running usb host?)
In this case USB device respond always with NAK interrupt interval is at 65usec,

Beta Was this translation helpful? Give feedback.
All reactions