Sending some data clears UART interrupt bit
I am using STM32F042K6TX. I set UART read data register not empty interrupt, I am sending and receiving data. This is how RXNEIE bit before it is corrupted. In this code when "i" is 2 it clears RXNEIE bit. I tried all numbers 0-255 and only 2 does t...