Purpose of dedicated DMA for USB and how does it work
Hi.
I started to work with STM32F7 series and USB HS (CDC class). I am able to send data to PC using CDC_Transmit_HS(uint8_t* Buf, uint16_t Len) function, but I am not aware what is going on behind it. If let say, I want to transmit a Buffer of 4096 bytes by CDC_Transmit_HS((uint8_t *)Buffer, 4096). Is CPU blocked while all 4096 bytes are not sent out?
Is this the case, where dedicated DMA for USB is helpful? Can someone please explain a little bit how to start transfer using DMA for USB?
Thanks a lot.
#usb #stm32f7 #usb-cdc #stm32-usb-dma