UART Receive on STM32F746G only when data is sent from master board
I'm communicating between STM32F746G-Discovery ans ESP32 using UART (PC6 and PC7 pins on STM). ESP receives some data at certain intervals over WiFi and transmits it to STM via UART.
On STM I want UART to receive data only when ESP32 has transmitted. Probably STM has to keep listening to UART port until there is data. I want this in non-blocking mode, since there are other peripherals and display working on STM.
How does STM32 know that ESP is sending data over UART and HAL_UART_Receive_IT has to be called to receive it.
