AnsweredAssumed Answered

STM32F103ZE UART Tx Random Frame Error

Question asked by Javier.Michael on Mar 30, 2016
Latest reply on Mar 31, 2016 by FTITI.Walid

I like to ask opinion.

Currently, in my project, I am using several UART. I connected a logic analyzer on Tx and Rx of one channel. Then in Tx, in random bytes, I saw frame error indicated by extra bit space at the end of a byte. The receiving terminal can recognize bytes with frame error however it looks dirty.

At first im operating at high baudrate, but when I lower baudrate to 9600, it still occur.
Also I thought, because the port header is near power jack but i proven it not. I use another UART channel in which its header is far from power source and the frame error still occur.
I also thought its because of sampling rate, but even if I use already 24MSample per second, frame error still occur.
In Rx, the frame error doesnt happen. only in Tx.

Any idea what went wrong?