Question
USB Virtual ComPort Example
Posted on October 03, 2011 at 20:38
Hello, I have been searching without success to find an example of the STM32 Virtual Comport that shows how to receive data from the PC.
I am coming from an 8051 background so the use of the legacy COM port will help in porting my programs to the Cortex-M3 environment. There are plenty of examples of how to transmit and it is very simple. Why are there no receive examples? Is there a way, similar to the 8051 where you can use the <intrins> testbit function ie, _testbit(RI) for reading when a character is available and then decode the command? Thanks #virtual-comport-stm32 #virtual-comport-stm32 #usb-to-uart