From: Uwe Hermann Date: Wed, 2 Dec 2015 17:29:16 +0000 (+0100) Subject: spi/allmodes: Add dumps with various SPI settings. X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=38019245370f8202dc9adda58f985ce1a3401002;p=sigrok-dumps.git spi/allmodes: Add dumps with various SPI settings. --- diff --git a/spi/allmodes/README b/spi/allmodes/README new file mode 100644 index 0000000..027734a --- /dev/null +++ b/spi/allmodes/README @@ -0,0 +1,21 @@ +------------------------------------------------------------------------------- +SPI modes +------------------------------------------------------------------------------- + +This is a set of example captures of some SPI transmissions with various +SPI modes (CPOL/CPHA combinations), CS# polarity settings, word sizes, +LSB-/MSB-first settings, and trigger setups. + + +Logic analyzer setup +-------------------- + +The logic analyzer used was a USBee SX (at 16MHz): + + Probe SPI + --------------- + 2 (red) MOSI + 3 (orange) MISO + 4 (yellow) CLK + 5 (green) CS# + diff --git a/spi/allmodes/spi_0x35_cpol0_cpha0_trigger_clk_falling_ok.sr b/spi/allmodes/spi_0x35_cpol0_cpha0_trigger_clk_falling_ok.sr new file mode 100644 index 0000000..670f2fa Binary files /dev/null and b/spi/allmodes/spi_0x35_cpol0_cpha0_trigger_clk_falling_ok.sr differ diff --git a/spi/allmodes/spi_0x35_cpol0_cpha0_trigger_clk_rising_ok.sr b/spi/allmodes/spi_0x35_cpol0_cpha0_trigger_clk_rising_ok.sr new file mode 100644 index 0000000..1c5aefd Binary files /dev/null and b/spi/allmodes/spi_0x35_cpol0_cpha0_trigger_clk_rising_ok.sr differ diff --git a/spi/allmodes/spi_0x35_cpol0_cpha0_trigger_cs_falling_ok.sr b/spi/allmodes/spi_0x35_cpol0_cpha0_trigger_cs_falling_ok.sr new file mode 100644 index 0000000..64ff9d8 Binary files /dev/null and b/spi/allmodes/spi_0x35_cpol0_cpha0_trigger_cs_falling_ok.sr differ diff --git a/spi/allmodes/spi_0x35_cpol0_cpha1_trigger_clk_falling_ok.sr b/spi/allmodes/spi_0x35_cpol0_cpha1_trigger_clk_falling_ok.sr new file mode 100644 index 0000000..7221bdc Binary files /dev/null and b/spi/allmodes/spi_0x35_cpol0_cpha1_trigger_clk_falling_ok.sr differ diff --git a/spi/allmodes/spi_0x35_cpol0_cpha1_trigger_clk_rising_ok.sr b/spi/allmodes/spi_0x35_cpol0_cpha1_trigger_clk_rising_ok.sr new file mode 100644 index 0000000..5c61ceb Binary files /dev/null and b/spi/allmodes/spi_0x35_cpol0_cpha1_trigger_clk_rising_ok.sr differ diff --git a/spi/allmodes/spi_0x35_cpol0_cpha1_trigger_cs_falling_ok.sr b/spi/allmodes/spi_0x35_cpol0_cpha1_trigger_cs_falling_ok.sr new file mode 100644 index 0000000..59a62a4 Binary files /dev/null and b/spi/allmodes/spi_0x35_cpol0_cpha1_trigger_cs_falling_ok.sr differ diff --git a/spi/allmodes/spi_0x35_cpol1_cpha0_trigger_clk_falling_ok.sr b/spi/allmodes/spi_0x35_cpol1_cpha0_trigger_clk_falling_ok.sr new file mode 100644 index 0000000..55c3354 Binary files /dev/null and b/spi/allmodes/spi_0x35_cpol1_cpha0_trigger_clk_falling_ok.sr differ diff --git a/spi/allmodes/spi_0x35_cpol1_cpha0_trigger_clk_rising_ok.sr b/spi/allmodes/spi_0x35_cpol1_cpha0_trigger_clk_rising_ok.sr new file mode 100644 index 0000000..7c7b029 Binary files /dev/null and b/spi/allmodes/spi_0x35_cpol1_cpha0_trigger_clk_rising_ok.sr differ diff --git a/spi/allmodes/spi_0x35_cpol1_cpha0_trigger_cs_falling_ok.sr b/spi/allmodes/spi_0x35_cpol1_cpha0_trigger_cs_falling_ok.sr new file mode 100644 index 0000000..fe71bb8 Binary files /dev/null and b/spi/allmodes/spi_0x35_cpol1_cpha0_trigger_cs_falling_ok.sr differ diff --git a/spi/allmodes/spi_0x35_cpol1_cpha1_trigger_clk_falling_ok.sr b/spi/allmodes/spi_0x35_cpol1_cpha1_trigger_clk_falling_ok.sr new file mode 100644 index 0000000..d664994 Binary files /dev/null and b/spi/allmodes/spi_0x35_cpol1_cpha1_trigger_clk_falling_ok.sr differ diff --git a/spi/allmodes/spi_0x35_cpol1_cpha1_trigger_clk_rising_ok.sr b/spi/allmodes/spi_0x35_cpol1_cpha1_trigger_clk_rising_ok.sr new file mode 100644 index 0000000..799937a Binary files /dev/null and b/spi/allmodes/spi_0x35_cpol1_cpha1_trigger_clk_rising_ok.sr differ diff --git a/spi/allmodes/spi_0x35_cpol1_cpha1_trigger_cs_falling_ok.sr b/spi/allmodes/spi_0x35_cpol1_cpha1_trigger_cs_falling_ok.sr new file mode 100644 index 0000000..1d58a31 Binary files /dev/null and b/spi/allmodes/spi_0x35_cpol1_cpha1_trigger_cs_falling_ok.sr differ diff --git a/spi/allmodes/spi_0x5a6b7c8d9e_cpol0_cpha1_trigger_cs_falling_lsbfirst_ok.sr b/spi/allmodes/spi_0x5a6b7c8d9e_cpol0_cpha1_trigger_cs_falling_lsbfirst_ok.sr new file mode 100644 index 0000000..4f98551 Binary files /dev/null and b/spi/allmodes/spi_0x5a6b7c8d9e_cpol0_cpha1_trigger_cs_falling_lsbfirst_ok.sr differ diff --git a/spi/allmodes/spi_0x5a6b7c8d9e_cpol0_cpha1_trigger_none_incomplete.sr b/spi/allmodes/spi_0x5a6b7c8d9e_cpol0_cpha1_trigger_none_incomplete.sr new file mode 100644 index 0000000..5b93f32 Binary files /dev/null and b/spi/allmodes/spi_0x5a6b7c8d9e_cpol0_cpha1_trigger_none_incomplete.sr differ diff --git a/spi/allmodes/spi_0x5a6b_cpol0_cpha1_trigger_clk_falling_incomplete.sr b/spi/allmodes/spi_0x5a6b_cpol0_cpha1_trigger_clk_falling_incomplete.sr new file mode 100644 index 0000000..ab1473f Binary files /dev/null and b/spi/allmodes/spi_0x5a6b_cpol0_cpha1_trigger_clk_falling_incomplete.sr differ diff --git a/spi/allmodes/spi_0x5a6b_cpol0_cpha1_trigger_clk_falling_ok.sr b/spi/allmodes/spi_0x5a6b_cpol0_cpha1_trigger_clk_falling_ok.sr new file mode 100644 index 0000000..3ef6a34 Binary files /dev/null and b/spi/allmodes/spi_0x5a6b_cpol0_cpha1_trigger_clk_falling_ok.sr differ diff --git a/spi/allmodes/spi_0x5a6b_cpol0_cpha1_trigger_clk_rising_incomplete.sr b/spi/allmodes/spi_0x5a6b_cpol0_cpha1_trigger_clk_rising_incomplete.sr new file mode 100644 index 0000000..ef6fa67 Binary files /dev/null and b/spi/allmodes/spi_0x5a6b_cpol0_cpha1_trigger_clk_rising_incomplete.sr differ diff --git a/spi/allmodes/spi_0x5a6b_cpol0_cpha1_trigger_clk_rising_ok.sr b/spi/allmodes/spi_0x5a6b_cpol0_cpha1_trigger_clk_rising_ok.sr new file mode 100644 index 0000000..9a415ca Binary files /dev/null and b/spi/allmodes/spi_0x5a6b_cpol0_cpha1_trigger_clk_rising_ok.sr differ diff --git a/spi/allmodes/spi_0x5a6b_cpol0_cpha1_trigger_cs_falling_ok.sr b/spi/allmodes/spi_0x5a6b_cpol0_cpha1_trigger_cs_falling_ok.sr new file mode 100644 index 0000000..cb0578b Binary files /dev/null and b/spi/allmodes/spi_0x5a6b_cpol0_cpha1_trigger_cs_falling_ok.sr differ diff --git a/spi/allmodes/spi_0x5a6b_cpol0_cpha1_trigger_cs_rising_csactivehigh_ok.sr b/spi/allmodes/spi_0x5a6b_cpol0_cpha1_trigger_cs_rising_csactivehigh_ok.sr new file mode 100644 index 0000000..4f8751d Binary files /dev/null and b/spi/allmodes/spi_0x5a6b_cpol0_cpha1_trigger_cs_rising_csactivehigh_ok.sr differ diff --git a/spi/allmodes/spi_0x5a6b_cpol0_cpha1_trigger_none_csactivehigh_ok.sr b/spi/allmodes/spi_0x5a6b_cpol0_cpha1_trigger_none_csactivehigh_ok.sr new file mode 100644 index 0000000..c005a18 Binary files /dev/null and b/spi/allmodes/spi_0x5a6b_cpol0_cpha1_trigger_none_csactivehigh_ok.sr differ diff --git a/spi/allmodes/spi_0x5a6b_cpol0_cpha1_trigger_none_incomplete.sr b/spi/allmodes/spi_0x5a6b_cpol0_cpha1_trigger_none_incomplete.sr new file mode 100644 index 0000000..43d5761 Binary files /dev/null and b/spi/allmodes/spi_0x5a6b_cpol0_cpha1_trigger_none_incomplete.sr differ diff --git a/spi/allmodes/spi_0x5a6b_cpol0_cpha1_trigger_none_ok.sr b/spi/allmodes/spi_0x5a6b_cpol0_cpha1_trigger_none_ok.sr new file mode 100644 index 0000000..e68669e Binary files /dev/null and b/spi/allmodes/spi_0x5a6b_cpol0_cpha1_trigger_none_ok.sr differ diff --git a/spi/allmodes/spi_0x5a_cpol0_cpha0_trigger_clk_falling_incomplete.sr b/spi/allmodes/spi_0x5a_cpol0_cpha0_trigger_clk_falling_incomplete.sr new file mode 100644 index 0000000..7a1b3d9 Binary files /dev/null and b/spi/allmodes/spi_0x5a_cpol0_cpha0_trigger_clk_falling_incomplete.sr differ diff --git a/spi/allmodes/spi_0x5a_cpol0_cpha0_trigger_clk_falling_ok.sr b/spi/allmodes/spi_0x5a_cpol0_cpha0_trigger_clk_falling_ok.sr new file mode 100644 index 0000000..31b9907 Binary files /dev/null and b/spi/allmodes/spi_0x5a_cpol0_cpha0_trigger_clk_falling_ok.sr differ diff --git a/spi/allmodes/spi_0x5a_cpol0_cpha0_trigger_clk_rising_incomplete.sr b/spi/allmodes/spi_0x5a_cpol0_cpha0_trigger_clk_rising_incomplete.sr new file mode 100644 index 0000000..d4ee418 Binary files /dev/null and b/spi/allmodes/spi_0x5a_cpol0_cpha0_trigger_clk_rising_incomplete.sr differ diff --git a/spi/allmodes/spi_0x5a_cpol0_cpha0_trigger_clk_rising_ok.sr b/spi/allmodes/spi_0x5a_cpol0_cpha0_trigger_clk_rising_ok.sr new file mode 100644 index 0000000..2097efa Binary files /dev/null and b/spi/allmodes/spi_0x5a_cpol0_cpha0_trigger_clk_rising_ok.sr differ diff --git a/spi/allmodes/spi_0x5a_cpol0_cpha0_trigger_cs_falling_ok.sr b/spi/allmodes/spi_0x5a_cpol0_cpha0_trigger_cs_falling_ok.sr new file mode 100644 index 0000000..932cb61 Binary files /dev/null and b/spi/allmodes/spi_0x5a_cpol0_cpha0_trigger_cs_falling_ok.sr differ diff --git a/spi/allmodes/spi_0x5a_cpol0_cpha0_trigger_cs_rising_csactivehigh_ok.sr b/spi/allmodes/spi_0x5a_cpol0_cpha0_trigger_cs_rising_csactivehigh_ok.sr new file mode 100644 index 0000000..59a2257 Binary files /dev/null and b/spi/allmodes/spi_0x5a_cpol0_cpha0_trigger_cs_rising_csactivehigh_ok.sr differ diff --git a/spi/allmodes/spi_0x5a_cpol0_cpha0_trigger_none_csactivehigh_ok.sr b/spi/allmodes/spi_0x5a_cpol0_cpha0_trigger_none_csactivehigh_ok.sr new file mode 100644 index 0000000..85a9399 Binary files /dev/null and b/spi/allmodes/spi_0x5a_cpol0_cpha0_trigger_none_csactivehigh_ok.sr differ diff --git a/spi/allmodes/spi_0x5a_cpol0_cpha0_trigger_none_ok.sr b/spi/allmodes/spi_0x5a_cpol0_cpha0_trigger_none_ok.sr new file mode 100644 index 0000000..827c4e1 Binary files /dev/null and b/spi/allmodes/spi_0x5a_cpol0_cpha0_trigger_none_ok.sr differ diff --git a/spi/allmodes/spi_0x5a_cpol0_cpha1_trigger_clk_falling_incomplete.sr b/spi/allmodes/spi_0x5a_cpol0_cpha1_trigger_clk_falling_incomplete.sr new file mode 100644 index 0000000..51f0c0b Binary files /dev/null and b/spi/allmodes/spi_0x5a_cpol0_cpha1_trigger_clk_falling_incomplete.sr differ diff --git a/spi/allmodes/spi_0x5a_cpol0_cpha1_trigger_clk_falling_ok.sr b/spi/allmodes/spi_0x5a_cpol0_cpha1_trigger_clk_falling_ok.sr new file mode 100644 index 0000000..dbcaa86 Binary files /dev/null and b/spi/allmodes/spi_0x5a_cpol0_cpha1_trigger_clk_falling_ok.sr differ diff --git a/spi/allmodes/spi_0x5a_cpol0_cpha1_trigger_clk_rising_incomplete.sr b/spi/allmodes/spi_0x5a_cpol0_cpha1_trigger_clk_rising_incomplete.sr new file mode 100644 index 0000000..46d2b99 Binary files /dev/null and b/spi/allmodes/spi_0x5a_cpol0_cpha1_trigger_clk_rising_incomplete.sr differ diff --git a/spi/allmodes/spi_0x5a_cpol0_cpha1_trigger_clk_rising_ok.sr b/spi/allmodes/spi_0x5a_cpol0_cpha1_trigger_clk_rising_ok.sr new file mode 100644 index 0000000..593c854 Binary files /dev/null and b/spi/allmodes/spi_0x5a_cpol0_cpha1_trigger_clk_rising_ok.sr differ diff --git a/spi/allmodes/spi_0x5a_cpol0_cpha1_trigger_cs_falling_ok.sr b/spi/allmodes/spi_0x5a_cpol0_cpha1_trigger_cs_falling_ok.sr new file mode 100644 index 0000000..a8055f9 Binary files /dev/null and b/spi/allmodes/spi_0x5a_cpol0_cpha1_trigger_cs_falling_ok.sr differ diff --git a/spi/allmodes/spi_0x5a_cpol0_cpha1_trigger_cs_rising_csactivehigh_ok.sr b/spi/allmodes/spi_0x5a_cpol0_cpha1_trigger_cs_rising_csactivehigh_ok.sr new file mode 100644 index 0000000..7137745 Binary files /dev/null and b/spi/allmodes/spi_0x5a_cpol0_cpha1_trigger_cs_rising_csactivehigh_ok.sr differ diff --git a/spi/allmodes/spi_0x5a_cpol0_cpha1_trigger_none_csactivehigh_ok.sr b/spi/allmodes/spi_0x5a_cpol0_cpha1_trigger_none_csactivehigh_ok.sr new file mode 100644 index 0000000..5f4aa6f Binary files /dev/null and b/spi/allmodes/spi_0x5a_cpol0_cpha1_trigger_none_csactivehigh_ok.sr differ diff --git a/spi/allmodes/spi_0x5a_cpol0_cpha1_trigger_none_ok.sr b/spi/allmodes/spi_0x5a_cpol0_cpha1_trigger_none_ok.sr new file mode 100644 index 0000000..22dabd5 Binary files /dev/null and b/spi/allmodes/spi_0x5a_cpol0_cpha1_trigger_none_ok.sr differ diff --git a/spi/allmodes/spi_0x5a_cpol1_cpha0_trigger_clk_falling_incomplete.sr b/spi/allmodes/spi_0x5a_cpol1_cpha0_trigger_clk_falling_incomplete.sr new file mode 100644 index 0000000..daf5408 Binary files /dev/null and b/spi/allmodes/spi_0x5a_cpol1_cpha0_trigger_clk_falling_incomplete.sr differ diff --git a/spi/allmodes/spi_0x5a_cpol1_cpha0_trigger_clk_falling_ok.sr b/spi/allmodes/spi_0x5a_cpol1_cpha0_trigger_clk_falling_ok.sr new file mode 100644 index 0000000..9c88577 Binary files /dev/null and b/spi/allmodes/spi_0x5a_cpol1_cpha0_trigger_clk_falling_ok.sr differ diff --git a/spi/allmodes/spi_0x5a_cpol1_cpha0_trigger_clk_rising_incomplete.sr b/spi/allmodes/spi_0x5a_cpol1_cpha0_trigger_clk_rising_incomplete.sr new file mode 100644 index 0000000..6a2047f Binary files /dev/null and b/spi/allmodes/spi_0x5a_cpol1_cpha0_trigger_clk_rising_incomplete.sr differ diff --git a/spi/allmodes/spi_0x5a_cpol1_cpha0_trigger_clk_rising_ok.sr b/spi/allmodes/spi_0x5a_cpol1_cpha0_trigger_clk_rising_ok.sr new file mode 100644 index 0000000..37c5cb4 Binary files /dev/null and b/spi/allmodes/spi_0x5a_cpol1_cpha0_trigger_clk_rising_ok.sr differ diff --git a/spi/allmodes/spi_0x5a_cpol1_cpha0_trigger_cs_falling_ok.sr b/spi/allmodes/spi_0x5a_cpol1_cpha0_trigger_cs_falling_ok.sr new file mode 100644 index 0000000..bb95cd0 Binary files /dev/null and b/spi/allmodes/spi_0x5a_cpol1_cpha0_trigger_cs_falling_ok.sr differ diff --git a/spi/allmodes/spi_0x5a_cpol1_cpha0_trigger_cs_rising_csactivehigh_ok.sr b/spi/allmodes/spi_0x5a_cpol1_cpha0_trigger_cs_rising_csactivehigh_ok.sr new file mode 100644 index 0000000..f51652a Binary files /dev/null and b/spi/allmodes/spi_0x5a_cpol1_cpha0_trigger_cs_rising_csactivehigh_ok.sr differ diff --git a/spi/allmodes/spi_0x5a_cpol1_cpha0_trigger_none_csactivehigh_ok.sr b/spi/allmodes/spi_0x5a_cpol1_cpha0_trigger_none_csactivehigh_ok.sr new file mode 100644 index 0000000..ca56bde Binary files /dev/null and b/spi/allmodes/spi_0x5a_cpol1_cpha0_trigger_none_csactivehigh_ok.sr differ diff --git a/spi/allmodes/spi_0x5a_cpol1_cpha0_trigger_none_ok.sr b/spi/allmodes/spi_0x5a_cpol1_cpha0_trigger_none_ok.sr new file mode 100644 index 0000000..eea254f Binary files /dev/null and b/spi/allmodes/spi_0x5a_cpol1_cpha0_trigger_none_ok.sr differ diff --git a/spi/allmodes/spi_0x5a_cpol1_cpha1_trigger_clk_falling_incomplete.sr b/spi/allmodes/spi_0x5a_cpol1_cpha1_trigger_clk_falling_incomplete.sr new file mode 100644 index 0000000..fe3de4b Binary files /dev/null and b/spi/allmodes/spi_0x5a_cpol1_cpha1_trigger_clk_falling_incomplete.sr differ diff --git a/spi/allmodes/spi_0x5a_cpol1_cpha1_trigger_clk_falling_ok.sr b/spi/allmodes/spi_0x5a_cpol1_cpha1_trigger_clk_falling_ok.sr new file mode 100644 index 0000000..6719f0c Binary files /dev/null and b/spi/allmodes/spi_0x5a_cpol1_cpha1_trigger_clk_falling_ok.sr differ diff --git a/spi/allmodes/spi_0x5a_cpol1_cpha1_trigger_clk_rising_incomplete.sr b/spi/allmodes/spi_0x5a_cpol1_cpha1_trigger_clk_rising_incomplete.sr new file mode 100644 index 0000000..af05ee5 Binary files /dev/null and b/spi/allmodes/spi_0x5a_cpol1_cpha1_trigger_clk_rising_incomplete.sr differ diff --git a/spi/allmodes/spi_0x5a_cpol1_cpha1_trigger_clk_rising_ok.sr b/spi/allmodes/spi_0x5a_cpol1_cpha1_trigger_clk_rising_ok.sr new file mode 100644 index 0000000..551776a Binary files /dev/null and b/spi/allmodes/spi_0x5a_cpol1_cpha1_trigger_clk_rising_ok.sr differ diff --git a/spi/allmodes/spi_0x5a_cpol1_cpha1_trigger_cs_falling_ok.sr b/spi/allmodes/spi_0x5a_cpol1_cpha1_trigger_cs_falling_ok.sr new file mode 100644 index 0000000..39104f0 Binary files /dev/null and b/spi/allmodes/spi_0x5a_cpol1_cpha1_trigger_cs_falling_ok.sr differ diff --git a/spi/allmodes/spi_0x5a_cpol1_cpha1_trigger_cs_rising_csactivehigh_ok.sr b/spi/allmodes/spi_0x5a_cpol1_cpha1_trigger_cs_rising_csactivehigh_ok.sr new file mode 100644 index 0000000..4e0e035 Binary files /dev/null and b/spi/allmodes/spi_0x5a_cpol1_cpha1_trigger_cs_rising_csactivehigh_ok.sr differ diff --git a/spi/allmodes/spi_0x5a_cpol1_cpha1_trigger_none_csactivehigh_ok.sr b/spi/allmodes/spi_0x5a_cpol1_cpha1_trigger_none_csactivehigh_ok.sr new file mode 100644 index 0000000..4551650 Binary files /dev/null and b/spi/allmodes/spi_0x5a_cpol1_cpha1_trigger_none_csactivehigh_ok.sr differ diff --git a/spi/allmodes/spi_0x5a_cpol1_cpha1_trigger_none_ok.sr b/spi/allmodes/spi_0x5a_cpol1_cpha1_trigger_none_ok.sr new file mode 100644 index 0000000..a34c15c Binary files /dev/null and b/spi/allmodes/spi_0x5a_cpol1_cpha1_trigger_none_ok.sr differ