Skip to main content
Viki
Associate II
June 5, 2023
Question

Receiving data over STM32F407 or STM32L476's USB OTG using DMA?

  • June 5, 2023
  • 4 replies
  • 1734 views

Hello!

I am working on a project and I need to receive data over USB OTG using DMA, but I could not find any channel link to it. I have configured DMA but I don't know which channel to link with it ( __HAL_LINKDMA(__HANDLE__, __PPP_DMA_FIELD__, __DMA_HANDLE__), somebody help me please....

Regards,

Waqas A

This topic has been closed for replies.

4 replies

mohamed.ayed
ST Employee
June 6, 2023

Hi @Viki

Could you please provide more details Device/Host which MCU are you using?

Best Regards,

Mohamed

Viki
VikiAuthor
Associate II
June 9, 2023

Hello

Viki
VikiAuthor
Associate II
June 9, 2023

I mistakenly typed my comment in the answer section.

Viki
VikiAuthor
Associate II
June 9, 2023

Thank you for the response. I am using STM32F4 Discovery and STM32L476RG Nucleo, USB CDC on both. I want to receive data from PC over CDC using DMA but I could not find any resources.