My Micro controller needs to send data to pc (text file which consist of data form the micro controller stm32l100), the communication medium is USB (Virtual com port,.which will act as serial communication) ,...how do I do this ..?
The easiest way is to use the micro's UART and buy a USB to serial converter that outputs/inputs TTL levels. This will work with any micro that has a UART.