2021-07-04 11:13 PM
Hi,
I am using STVM32WB5MMG-DK for my project development activities.
When I referred the user manual "UM2825", I came to know that the STM32WB5MMG USART1 interface is connected to the UART2 port of the STM32F103 ST-LINK/ V2-1 MCU.
Is there anyway that USART1 of STM32WB5MMG can be used for normal serial application related thing and LPUART1 to be used as Virtual COM Port?
At present am using LPUART1 to send/receive data packets and USART1 as Virtual COM Port for debug printing(USART1 console)
Thanks.
2021-07-05 06:06 PM
You can't use LPUART1 as the VCP because it's not physically connected to those pins. If you have soldering skills, you could modify the hardware. Or you could use a separate UART to USB serial adapter connected to LPUART1 and use that for debugging.