cancel
Showing results for 
Search instead for 
Did you mean: 

How to use USART1 to send/receive data packets (for serial application) and LPUART1 as Virtual COM Port in STM32WB5MMG-DK?

PB S.1
Associate II

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.

1 REPLY 1
TDK
Guru

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.

If you feel a post has answered your question, please click "Accept as Solution".