H7B3: USB with DMA generates many interrupts #278
Labels
bug
Something isn't working
hal
HAL-LL driver-related issue or pull-request.
st community
Also reported by users on the community.st.com
usb
Universal Serial Bus
Describe the set-up
I'm using a H7B3 on a custom board. On this board I want to use USB with Azure USBx.
The USB configuration in CubeMX is:
I'm using CubeIDE 1.10.1.
The USB device I want to use with the USB Host is a Prolific-Device.
Describe the bug
Regarding the Reference Guide, USB interrupts like NAK, NYET, ... should be handled automatically by the DMA. But when I use the confguration above the interrupts never get disabled in USB_HC_StartXfer. And the interrupts get fired very often and have a huge influence on the performance of the controller.
How To Reproduce
if (((USBx->CID & (0x1U << 8)) != 0U) && (hc->speed == USBH_HS_SPEED))
Additional context
It has to do with this issue here: https://community.st.com/t5/stm32-mcus-products/stm32f4-stm32f7-usb-host-core-interrupt-flood/td-p/436225
But the interrupts still get triggered even when DMA is enabled
Screenshots
If applicable, add screenshots to help explain your problem.
The text was updated successfully, but these errors were encountered: