How to receive the data through the usb of USB_CDC_ receive function
How to receive the commands through the usb of USB_CDC_ receive
Hello,
I am working on the stm32f070c6 USB_CDC virtual COMK port ,I am transmitting the data from stm32 mcu to serial monitor but when I am trying to receive the commands through usb from my pc to serial monitor, i used usbd_cdc_receive function but unfortunately I am not receiving any commands from the pc to select the different operations of stm32f070c6, I am taking the received data to the main program of switch cases but I am receiving the data at usb_cdc_receive function but im not getting the data in main file ,how we can receive the data from the pc using USB_CDC virtual COM port and also when i try to use ptintf and scanf functions in stm cube IDE , even printf scanf functions also not working to print the messages on serial monitor ,they are not working nothing to display on the serial monitor, how can I overcome this problems, if anyone have an idea about of these please give a reply
Thanks in advance
