Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
Hi,
is it possible to connect the bluepill board via USB to the PC via CDC driver? I see the following codesnippet on the mbed website:
usbserial
Here, a Serial object will be constructed with USBTX and USBRX as pins. But these pins are mapped to PA_2 and PA_3 on board which is effectively a UART on the STM32F103C8T6 controller. The SERIAL_TX, and SERIAL_RX are mapping to the same pins. Do I configure here a USB CDC connection (by using the onChip USBCore) or a standard UART connection?
Thanks,
Regards Tobias