diff options
author | Gerhard Sittig <gerhard.sittig@gmx.net> | 2019-12-04 21:21:03 +0100 |
---|---|---|
committer | Uwe Hermann <uwe@hermann-uwe.de> | 2019-12-17 00:43:59 +0100 |
commit | bd50ceb314e4607e596c98c534aafcfe142a73b6 (patch) | |
tree | 4e95973db6195db2986d111e42c10c1487b7576f /decoders/mdio/__init__.py | |
parent | db96409f3235cca47d7fbf3394ab511ae23f21ae (diff) | |
download | libsigrokdecode-bd50ceb314e4607e596c98c534aafcfe142a73b6.tar.gz libsigrokdecode-bd50ceb314e4607e596c98c534aafcfe142a73b6.zip |
uart: allow arbitrary sample positions for UART bit values (1-99%)
The previous implementation of the UART decoder used to sample bit values
strictly at the center position within a bit time. This commit introduces
support to sample bit values at arbitrary positions in the range of 1-99%
of the bit time. This allows to work around glitches in existing captures
as well as using the decoder for UART like protocols which don't sample
bit values at the center position (like EIB aka KNX).
This implementation is incomplete (on purpose). Although this version
improves the ability to extract data from captures, it also introduces
inaccuracies in the annotation positions for non-default values of the
sample point position. Addressing this issue is left for later, assuming
that it'll be a byproduct of another commit series that is being worked
on (general annotation position adjustment and stop bits support).
Diffstat (limited to 'decoders/mdio/__init__.py')
0 files changed, 0 insertions, 0 deletions