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:
- Can the STM32WBA65 provide this implementation of a virtual com port? How is this set up in the HAL?
- 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.
- 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?