cancel
Showing results for 
Search instead for 
Did you mean: 

both of stm32h743's usb host support dma?

shark
Senior

hi

On stm32h743, usb hs1 with external phy works perfectly well in dma mode. Its perfoamance and reliability is very good.

But usb hs2 with internal phy not work in dma mode. If I disabled dma mode, it works but not reliable. It's internl fifo sometimes crashed when I output buck data and the device response with nak. I test it by write 20M bytes of mass storage file.

So does the dma is supported for full speed usb device on hs2 controller?

1 REPLY 1
Amel NASRI
ST Employee

Hi @shark​ ,

Some known root causes of possible problem when using DMA with USB on STM32H7 are explained in the article: How to correctly setup your application to use USB DMA controller with STM32H7 devices?

Please have a look and make sure that you are applying the recommendations provided there for USB HS2.

-Amel

PS: Once your question is answered, please click on "Select as Best" for the comment containing the answer to your initial question.

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.