diff options
author | Iztok Jeras <iztok.jeras@gmail.com> | 2012-07-02 23:54:52 +0200 |
---|---|---|
committer | Uwe Hermann <uwe@hermann-uwe.de> | 2012-07-04 01:50:50 +0200 |
commit | f4d0363dc492cebc3bc37adfbffaff6fafd55ff4 (patch) | |
tree | 5e138b2027e6e67ff8b8c68c4e542a4b55018ae1 /decoders/onewire/__init__.py | |
parent | a2b13347895840f5e79238f504e0b6e322c133a1 (diff) | |
download | libsigrokdecode-f4d0363dc492cebc3bc37adfbffaff6fafd55ff4.tar.gz libsigrokdecode-f4d0363dc492cebc3bc37adfbffaff6fafd55ff4.zip |
some white space changes, changed handling of normal/overdrive timing, annotations now show duration
Diffstat (limited to 'decoders/onewire/__init__.py')
-rw-r--r-- | decoders/onewire/__init__.py | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/decoders/onewire/__init__.py b/decoders/onewire/__init__.py index b58dde7..c43dabc 100644 --- a/decoders/onewire/__init__.py +++ b/decoders/onewire/__init__.py @@ -29,6 +29,13 @@ layered, the provided parser decodes the next layers: The higher layers (transport, presentation) are not decoded, since they are mostly device specific and it would take a lot of code to interpret them. +Sample rate: +A high enough sample rate is required to properly detect all the elements of +the protocol. A lower sample rate can be used if the master does not use +overdrive communication speed. The next minimal values should be used: +- overdrive available: 2MHz minimum, 5MHz suggested +- overdrive not available: 400kHz minimum, 1MHz suggested + Probes: 1-Wire requires a single signal, but some master implementations might have a separate signal use to deliver power to the bus during temperature conversion @@ -60,10 +67,10 @@ If link layer annotations are shown, possible issues with sample rate and sample timing are also shown. TODO: -- fix annotations to have event duration instead of begin end time - add CRC checks for network layer - add transport layer code - review link layer code, to check for protocol correctness +- define output protocol ''' from .onewire import * |