UART in STM32-L432KC
This is regarding the UART1 and UART2.
1. I am trying to learn how UART works by communicating between STM32 and ESP32. I am able to send data from STM32 to ESP32 and it works. However, when I do the same from ESP32 to STM32, for some reason I cannot receive the incoming data. I have clearly checked the UART settings and it is the same for both the devices. What could be the possible problem here?
2. When I use UART1, data is being sent from STM32 to ESP32 but I cannot see it getting displayed on the STM32 IDE's serial monitor. However, data is visible from the ESP32 monitor which indicates UART is working. However, if I use UART2, the data is getting displayed on both monitors. I do not understand what is happening here.
Please advise me on these issues and refer me to the respective documents if needed. I am a new embedded engineer who is trying to use STM32.
