Skip to main content
shark
Associate III
May 5, 2021
Question

both of stm32h743's usb host support dma?

  • May 5, 2021
  • 1 reply
  • 780 views

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?

This topic has been closed for replies.

1 reply

Amel NASRI
ST Technical Moderator
May 17, 2021

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 "Best Answer" on the reply which solved your issue or answered your question.