2023-04-25 07:21 AM - edited 2023-11-20 07:10 AM
I am analyzing the UART data frame of an outsourced device that uses the STM8S105 MCU. The data frame specification is:
* 1 start bit,
* 8 data bits,
* 1 parity bit,
* 2 stop bits.
Therefore I expect a data frame as in the below Figure 115 from the STM8 reference manual RM0016. However, both the logic analyzer and oscilloscope show an extra bit after the 2 stop bits. Then the next data frame begins. This is illustrated in the second figure below.
Question: what feature creates the extra bit? This is unexpected.
Is it possibly related to the break character feature?
Thank you for your response.
Figures 1 and 2 ...................
Solved! Go to Solution.
2023-05-01 11:49 PM
Extra intersymbol gaps should not break async comms, and may be the result of not responding quickly to a TC interrupt, or not using TXE to tightly pack output stream.
Could be a 9-bit mode or parity..
2023-04-27 03:19 AM
As the extra bit have level '1', so is the same as have 3 stop bits, And so no problem with communication.
How did you detect this extra bit?
2023-04-27 06:59 AM - edited 2023-11-20 07:11 AM
Hello @Arsénio Almeida, thank you for your response. I found the extra but while troubleshooting a malfunctioning UART communication link. The extra bit is easy to see in the below oscilloscope screenshot when comparing it with my own UART comm.
2023-05-01 11:49 PM
Extra intersymbol gaps should not break async comms, and may be the result of not responding quickly to a TC interrupt, or not using TXE to tightly pack output stream.
Could be a 9-bit mode or parity..