cancel
Showing results for 
Search instead for 
Did you mean: 

STM32WB55RG USART/LPUART unavailable?

AMendez159
Visitor

Hello, I am trying to set up this is STM to connect it to another microcontroller via LPUART. To my understanding USART1 is unusable since it is connected to J-Link. I have attempted with LPUART setting up both PA3 and PA2 pins as the respective TX and RX. I have been trying to print out "hello world" on tera term and on the STM32IDE console with no luck. Is it even possible to use LPUART for this? 

3 REPLIES 3
TDK
Guru

The STM32WB55RG is a chip. Are you dealing with the NUCLEO-WB55RG board?

> Is it even possible to use LPUART for this?

The LPUART on the STM32WB55RG certainly works and can be used to communicate with a serial converter or another MCU.

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

Yes working with the nucleo board sorry first time using these. Just to clarify. So i set up the RX/TX pins (PC0/PC1) and then generate the code from there I added the line HAL_UART_Transmit(&hlpuart1, (uint8_t *)"Hello, STM32 UART!\n", 20, HAL_MAX_DELAY); into the while loop. I have not have no luck so far onto both tera term and the STM32IDE shell console. Note that I do want to use a Baud of 115200 and my clock is set as PCLK1 at 32Mhz  to LPUART. Sorry if im not making much sense. 

Wait also would it just work if i just connect it via micro-usb to usb or do i need a serial converter