cancel
Showing results for 
Search instead for 
Did you mean: 

STM32WBA65 USB for debug

SLevi.1
Associate III

I want to use a USB connection on a STM32WBA65 processor, purely for debug purposes to get some info back to a PC on a virtual com port. The device will not be powered by USB.

I don't want the processor to act as a host.

Questions:

  1. Can the STM32WBA65 provide this implementation of a virtual com port? How is this set up in the HAL?
  2. If I use a USB micro connector, which pins should be connected to where? In the past, on simpler STM32 devices, I have just connected ground, DP & DM from the cable directly into the micro.
  3. If I use a USB-C connector, because they are generally more sturdy, which pins need connecting? Do I need to connect CC pins? Can I just pull them up (or down) with simple resistors?

 

0 REPLIES 0