2021-01-02 07:35 AM
Hello,
Is it possible if MCU communicates with PC in virtual COM port, using USB connected as shown below.
USB_DP --- OTG_FS_DP
USB_DM --- OTG_FS_DM
Could anybody please show me example?
Thank you.
2021-01-02 07:41 AM
What STM32? There's like hundreds of different ones.
Most have Cube example libraries provide Device CDC builds which can be used directly or ported.
STM32Cube_FW_F7_V1.15.0\Projects\STM32756G_EVAL\Applications\USB_Device\CDC_Standalone
2021-01-05 03:31 AM
According to your advice, I was searching how to use CDC.
Then, it could be done by using USB_OTG_FS and USB_DEVICE with STM32CubeIDE.
Thank you.