Skip to main content
Visitor II
October 13, 2023
Solved

UART Communication Issue

  • October 13, 2023
  • 3 replies
  • 1715 views

Hi, 

I am using G474RE nucleo board and I want to communicate between the UARTs available on the board (UART2,UART1 and UART3). Message is not transmitting complete in to UART1 from UART2 and same with UART3 from UART1 

    This topic has been closed for replies.
    Best answer by Imen.D

    Hello @VGani.1 ,

    I advise you check the UART clocks and content of UART registers when the issue occurs.

    Please share more details when code hangs.

    Did you use UART example with STM32CubeG4 package? this may help you on your implementation.

    I recommend you the following articles which contain a list of examples about STM32 UART DMA RX/TX:

    Imen

    3 replies

    Imen.DAnswer
    Technical Moderator
    October 13, 2023

    Hello @VGani.1 ,

    I advise you check the UART clocks and content of UART registers when the issue occurs.

    Please share more details when code hangs.

    Did you use UART example with STM32CubeG4 package? this may help you on your implementation.

    I recommend you the following articles which contain a list of examples about STM32 UART DMA RX/TX:

    Imen

    Super User
    October 13, 2023

    Probably a code bug. Note that you need to start the receive operation prior to starting the send operation.

    Graduate II
    October 13, 2023

    Show your code so we can see how you're trying to communicate to each UART.