From: Jens Steinhauser Date: Sun, 19 Oct 2014 19:39:08 +0000 (+0200) Subject: Add nrf24l01 unit test dump. X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=a7744064900d6ed8a3f95179605699c0b89a230a;p=sigrok-dumps.git Add nrf24l01 unit test dump. --- diff --git a/spi/nrf24l01/gen-testfiles.py b/spi/nrf24l01/gen-testfiles.py index 5b14e43..6377539 100755 --- a/spi/nrf24l01/gen-testfiles.py +++ b/spi/nrf24l01/gen-testfiles.py @@ -187,3 +187,12 @@ for i in range(5): spi.add(i, 0x00) spi.CShigh() spi.write() + +spi = SPI('nrf24l01-test-incomplete-cmd') +spi.add(0xff, 0xff) # some bytes from a command +spi.add(0xff, 0xff) # that was captured incompletely +spi.CShigh() +spi.CSlow() +spi.add(0xe1, 0x00) # FLUSH_TX +spi.CShigh() +spi.write() diff --git a/spi/nrf24l01/nrf24l01-test-incomplete-cmd.sr b/spi/nrf24l01/nrf24l01-test-incomplete-cmd.sr new file mode 100644 index 0000000..1fc7592 Binary files /dev/null and b/spi/nrf24l01/nrf24l01-test-incomplete-cmd.sr differ