cancel
Showing results for 
Search instead for 
Did you mean: 

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

Viki
Associate II

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

4 REPLIES 4
mohamed.ayed
ST Employee

Hi @Viki

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

Best Regards,

Mohamed

Viki
Associate II

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.

Hello

Viki
Associate II

I mistakenly typed my comment in the answer section.