]> sigrok.org Git - sigrok-dumps.git/commitdiff
uart: add dumps for LIN
authorcoon <redacted>
Wed, 17 Oct 2018 10:56:35 +0000 (12:56 +0200)
committerUwe Hermann <redacted>
Sun, 21 Oct 2018 16:37:32 +0000 (18:37 +0200)
uart/lin/lin_generated/README [new file with mode: 0644]
uart/lin/lin_generated/burst.sr [new file with mode: 0644]
uart/lin/lin_generated/malformed.sr [new file with mode: 0644]
uart/lin/lin_generated/malformed2.sr [new file with mode: 0644]
uart/lin/lin_generated/single_frame.sr [new file with mode: 0644]
uart/lin/lin_generated/stress.sr [new file with mode: 0644]

diff --git a/uart/lin/lin_generated/README b/uart/lin/lin_generated/README
new file mode 100644 (file)
index 0000000..09ec568
--- /dev/null
@@ -0,0 +1,62 @@
+-------------------------------------------------------------------------------
+LIN bus traffic
+-------------------------------------------------------------------------------
+
+Synthetically generated LIN bus traffic from a debugging session.
+
+UART settings on LIN are always 19200/8n1, lsb-first; LIN protocol version: 2.
+
+
+Logic analyzer setup
+--------------------
+
+The logic analyzer used was a DreamSourceLab DSLogic Plus (various samplerates):
+
+  Probe       LIN
+  ---------------
+  0           LIN-Bus
+
+
+single_frame.sr
+---------------
+
+This shows one valid single LIN frame consisting of a header and a response
+of 2 data bytes.
+
+PID is 0xC1 -> ID: 0x01 Parity: 3
+Data 1: 0x11
+Data 2: 0x11
+Checksum: 0x1C
+
+
+lin_burst.sr
+------------
+
+10 valid LIN frames consisting of a header and a response of 3 data bytes each.
+The frames are all sent at the highest possible load UART can handle.
+
+PID is 0xA3 -> ID: 0x23 Parity: 2
+Data 1: 0x11
+Data 2: 0x22
+Checksum: 0x29
+
+
+lin_malformed.sr
+----------------
+
+Contains complete and incomplete LIN frames. Sometimes the PID is not sent
+after the sync. The goal is testing the correct behaviour of the state machine
+on protocol violations.
+
+
+lin_malformed2.sr
+-----------------
+
+Same as lin_malformed.sr but more traffic.
+
+
+lin_stress.sr
+-------------
+
+Different messages with different lengths and a changing bus load.
+No protocol violations.
diff --git a/uart/lin/lin_generated/burst.sr b/uart/lin/lin_generated/burst.sr
new file mode 100644 (file)
index 0000000..d949b73
Binary files /dev/null and b/uart/lin/lin_generated/burst.sr differ
diff --git a/uart/lin/lin_generated/malformed.sr b/uart/lin/lin_generated/malformed.sr
new file mode 100644 (file)
index 0000000..f9858c6
Binary files /dev/null and b/uart/lin/lin_generated/malformed.sr differ
diff --git a/uart/lin/lin_generated/malformed2.sr b/uart/lin/lin_generated/malformed2.sr
new file mode 100644 (file)
index 0000000..e8819dd
Binary files /dev/null and b/uart/lin/lin_generated/malformed2.sr differ
diff --git a/uart/lin/lin_generated/single_frame.sr b/uart/lin/lin_generated/single_frame.sr
new file mode 100644 (file)
index 0000000..cacffcb
Binary files /dev/null and b/uart/lin/lin_generated/single_frame.sr differ
diff --git a/uart/lin/lin_generated/stress.sr b/uart/lin/lin_generated/stress.sr
new file mode 100644 (file)
index 0000000..56fd78b
Binary files /dev/null and b/uart/lin/lin_generated/stress.sr differ