cancel
Showing results for 
Search instead for 
Did you mean: 

STM32F407 UART ESP322

noname8888
Associate II

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.

3 REPLIES 3
Pavel A.
Evangelist III

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.

 

 

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
Up vote any posts that you find helpful, it shows what's working..

I added \n but still not sending