cancel
Showing results for 
Search instead for 
Did you mean: 

why I can not use LPUART?

fixaj
Associate II

I want to communicate with a UART module using an STM32H723 Nucleo board. Receiving data and transmitting over DMA features.

İf i choice USART2: PD5 (TX) and PD6 (RX) it works fine?

İn same code if change usart2 to lpuart and if i change pins for lpuart and moving module to LPUART1: PB6 (TX) and PB7 (RX) it can NOT works. :frowning_face:

The module works fine with normal UART, but for some reason I couldn't get it to work over LPUART. Even though I selected LSE crystal for LPUART and set the baud rate to 9600, it didn't work. I'm very new to this topic and my suspicions are around MSB first and FIFO settings. Can you help me?"

 

code is at Github: https://github.com/fixajteknik/YouTube_Tutorials/tree/main/soru/sadeh723loradma

 

Also i didnt see any example code or video for lpuart, please share me a tutorial.

 

Thanks!

Mehmet.

 

 

1 REPLY 1
Pavel A.
Evangelist III

Please start with the .ioc file for your Nucleo board: 

https://github.com/STMicroelectronics/STM32_open_pin_data/blob/master/boards/G75_Nucleo_NUCLEO-H723ZG_STM32H723ZGT_Board_AllConfig.ioc

Open it in CubeMX. It will show the assigned pins and which pins are free to use.

Also, CubeMX will show you the documentation of your Nucleo (pdf file) where you can find the connectors layout.

If the needed pin is not free to use, sometimes it can be made available by unsoldering something on the board.