2016-03-23 02:41 AM
Hi,
i'm using a virtual com (without uart), someone know the way to know when the usb has complete the transfer ?I can't make (sure) immediatly two time ''CDC_Transmit_FS''CDC_Transmit_FS( Buf, 100 );// here i need to know when the usb has complete the first transfer CDC_Transmit_FS( Buf, 100 );Sorry for my english !2016-04-05 10:12 AM
Hi
marco
,
You can manage several CDC_Transmit calls based on the USBH_CDC_TransmitCallback. In this callback function, you can call the CDC_Transmit functions as it is done in the example STM32Cube_FW_F4_V1.8.0\Projects\STM324xG_EVAL\Applications\USB_Host\CDC_Standalone (have a look to the implementation in Src/cdc_send.c). -Hannibal-Hi,
i'm using a virtual com (without uart), someone know the way to know when the usb has complete the transfer ? I can't make (sure) immediatly two time ''CDC_Transmit_FS'' CDC_Transmit_FS( Buf, 100 ); // here i need to know when the usb has complete the first transfer CDC_Transmit_FS( Buf, 100 ); Sorry for my english !