Forum: System Workbench for STM32

FreeRTOS running, SUCCESS!

CDC receive is called when data arrive on usb (if yu ever started data rececption)
if you want to kwon who call who clik on fucntion ” call hieracachy ” feature (Ctrl + Alt +H )

All the class and itf and driver indirection make it a bit harder to find
it is called indretcly via USBD_Interface_fops_FS “Receive”
if youn open the struct and find call tree of “Receive”
you will se it get called from
USBD_CDC_DataOut that fucntion is al
that one is again indirectky caledl by “DataIn” field of typedef struct _Device_cb

One that struct “DataIn” is finaly called from usb stack all way down from USB interrupt

see http://s21.postimg.org/lcalr01dz/cdc_data_in.pngQuestion