cancel
Showing results for 
Search instead for 
Did you mean: 

How to setup virtual com port using CubeMX for particular STM32 MCU?

BParh.1
Senior III

I need help on some pointers or directions on how to setup virtual com port for my STM32F769I-DISCO kit.

So I search a couple of youtube videos on how to setup virtual com port using STM32 CubeMX. Although the videos were for different MCUs. I followed the same steps but not successful. I could not see new virtual com port in my device manager (windows 10 OS). And also, my display graphics looks corrupted.

The steps I follow basically :

  1. Enable HSE clock with Crystal/Ceramic Resonator
  2. On USB_OTG_FS I select mode Device_Only
  3. On USB_Device I select class for FS IO to Communication Device Class (Virtual Port Com)
  4. Go to clock setup and accept whatever the default automatic fix by CubeMX.
  5. Generate code and rebuild and run on target

So my questions :

  1. Is there official docs from STM how to configure Virtual Com Port?
  2. Are the steps to configure it different for each MCU?
1 ACCEPTED SOLUTION

Accepted Solutions
BParh.1
Senior III

I manage to resolve this already

View solution in original post

2 REPLIES 2
BParh.1
Senior III

I manage to resolve this already

Would you mind sharing how you solved it?