From f4d0363dc492cebc3bc37adfbffaff6fafd55ff4 Mon Sep 17 00:00:00 2001 From: Iztok Jeras Date: Mon, 2 Jul 2012 23:54:52 +0200 Subject: some white space changes, changed handling of normal/overdrive timing, annotations now show duration --- decoders/onewire/__init__.py | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'decoders/onewire/__init__.py') 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 * -- cgit v1.2.3-70-g09d2