Skip to main content
MLam
Associate III
Apr 29, 2022 2:14 PM UTC
Question

STM32WL55CC LPUART1 to UART1 freeze

Hello everyone,

I work on a project with LSM100A whitch integrate an STM32WL55CC.

I have an SDK available to start development and in this SDK, we can find debug information on LPUART 1 (PA2,PA3).

For my project, i can't use LPUART1 so i have decided to use UART1 on PB6 and PB7. So i have modified SDK to transform LPUART1 configuration into UART1 config.

I have this following result, only the first message is printed and in this first message missing the first letter.

I have try multiple things and i think that the problem turn around interrupt but i don't have find any solution.

I join my project if you want to understand better my problem.

Do you have advice or maybe have you already meet this problem ?

Thansk for your help,

Best Regards,

MLam,

This topic has been closed for replies.

2 replies

Louis AUDOLY
ST Employee
May 9, 2022 2:30 PM UTC

Hello,

You can find UART examples (with DMA, Polling) in the STM32Cube_FW_WL_V1.2.0 under Projects\NUCLEO-WL55JC\Examples\UART to verify your configuration.

For the first letter you miss, can you check your Terminal configuration that could cause your issue (if the terminal expect to receive just /n or /r it could lead to some unexpected behaviors.

Let me know if it solve your issue

Regards

MLam
MLamAuthor
Associate III
May 9, 2022 2:35 PM UTC

Hello,

Thanks for the return,

I will check the informations that you send and let you know if it's solve the issue.

best regards,

MLam