diff options
author | Gerhard Sittig <gerhard.sittig@gmx.net> | 2018-10-14 20:17:35 +0200 |
---|---|---|
committer | Uwe Hermann <uwe@hermann-uwe.de> | 2018-10-16 21:49:00 +0200 |
commit | 03a986ea61ec565b5e366b950759d4ad753d3aea (patch) | |
tree | 3d0f29b441b12f10c989d81d81f4a40d46ccde79 /decoders/arm_tpiu/pd.py | |
parent | 2dfe09863649bcf85e7e0c977886c243ebab19ad (diff) | |
download | libsigrokdecode-03a986ea61ec565b5e366b950759d4ad753d3aea.tar.gz libsigrokdecode-03a986ea61ec565b5e366b950759d4ad753d3aea.zip |
uart: add support for break condition detection
There are the "traffic inspecting" wait() conditions, which check an
edge to find the start of START, then wait for sample points to grab the
bit values. Bit times are sampled in their respective center, potential
glitches around sample points get ignored.
Add another independent set of wait() conditions which check _all_ edges
regardless of any data communication. This results in the most reliable
and maintainable detection of break conditions, regardless of how they
align to data frames. Break is defined as a period of low input signal
which spans at least one frame's length. Run the edge inspection after
data inspection, which results in the most appropriate annotation output
like leading data bits (of incomplete frames), frame errors (violated
STOP bit expectations), then break conditions. This approach is most
robust in the presence of incomplete input streams.
Diffstat (limited to 'decoders/arm_tpiu/pd.py')
0 files changed, 0 insertions, 0 deletions