2025-04-21 2:54 AM
Hello,
We have configured the PA2 and PA3 as USART2_TX and USART2_RX pins accordingly.
also set the below mentioned images for your reference as configurations in the stm32cubeide code for usart2.
but we are unable to see any output in the com port , we have tried all different permutations and combinations
kindly help and support as soon as possible so that we can get USART2 working in the STM32WL5MOCH6 PCB.
2025-04-21 6:06 AM
Hello @Trace_LEMS
First, I suggest you start from a small code on the B-WL5M-SUBG1 Evalution board that is based on the STM32WL5MOCH6 to test that your SW is working. After that, you may try it on your custom board. If it is not working, you have to check your HW design. Also, check your serial viewer configuration and double check the components you are using for UART to Serial conversation.
Best Regards.
STTwo-32
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.