Skip to main content
Associate II
May 29, 2024
Question

STM32F407 UART ESP322

hi all,

i am trying to use the esp322's TX and RX pins to transmit a string from the STM32F407 and display it to the Hercules. The problem I still have is that it cannot send even though I have selected the correct COM port and Baud-rate

noname8888_0-1716992095699.png

noname8888_1-1716992444146.png

noname8888_2-1716992548436.png

many thank.

    This topic has been closed for replies.

    3 replies

    Pavel A.
    May 29, 2024

    1. The diagram does not show where/how the hercules is connected.

    2. In the code snippet, line 99: 12 is the number of characters to send. but it is invalid. Likely you've forgotten \r\n.

     

     

    Associate II
    May 30, 2024

    I added \n but still not sending

    Tesla DeLorean
    Guru
    May 29, 2024

    Check signals with a scope or logic analyzer

    Make sure HSE_VALUE reflects that of your board, so the baud rates of the two MCU match.

    Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..