AnsweredAssumed Answered

UART under noise: data still usable?

Question asked by Koscheck.David on Jul 25, 2016
Latest reply on Jul 25, 2016 by Clive One

Hello, I'm trying to find out how UART received data is influenced by noise. STM32F1xx reference manual states that the UART will check three sampled values from the middle of each bit. If one of those three values differs due to noise, data will be treated "not valid" and noise-error (NE) flag will be set.

My question is, whether I can still use that data (meaning it will be transferred just as usual) or is that data byte automatically discarded if a noise-error occurs? The latter case would be a problem in my application since I have to deal with short noise spikes and data should still be usable if one of the samples is corrupted.

Thank you in advance for your help!

Outcomes