2019-12-25 04:46 PM
Hi,
i send data to STM32F4 from STM32F0. then i send these values to thingspeak using ESP8266. but it works onle once. after i send values to thingspeak using ESP8266 it returns endless trash values via UART2. and i can send data from F0 to F4. so i have to disable UART2 temporariliy. how can i do that?
2019-12-25 10:18 PM
Where is the flow control needed? Transmitting, you can control what you send and at which rate compatible with ESP.
For receive, normally if you stop UART you will lose incoming data byte, in this case, you can simply trash them.
Cellular modems uses RTS/CTS optional HW signals for TX and RX flow control. This is the side-effect-reduced way to get it done.
2019-12-26 01:09 AM
Actually, i don't enable UART2 interrupt in my code. I enabled it to see what returns, just i wanted to see what is in there. I mean, normally i just use UART2 to send values. i don't enable UART2 interrupt. but somehow it doesn't permit UART6 to get value