Hello everyone,
I have a dump of an I2S signal [1]. PulseView seems to be pretty happy with
it [2]. However when I try to decode the same file with sigrok-cli I get a
lot of warnings and wrong data:
```
$ sigrok-cli -i /home/eax/temp/i2s-pmod.sr -P i2s
...
i2s-1: Received 3-bit word, expected 4-bit word
i2s-1: Right channel: 00000000
i2s-1: Received 4-bit word, expected 3-bit word
i2s-1: Left channel: 00000004
i2s-1: Right channel: 00000000
i2s-1: Received 3-bit word, expected 4-bit word
i2s-1: Left channel: 00000000
i2s-1: Right channel: 00000000
i2s-1: Received 2-bit word, expected 3-bit word
i2s-1: Left channel: 00000000
```
sigrok-cli version:
```
$ sigrok-cli --version
sigrok-cli 0.8.0-git-a30c837
Libraries and features:
- libsigrok 0.6.0-git-17e0251d/4:0:0 (rt: 0.6.0-git-17e0251d/4:0:0).
- Libs:
- glib 2.56.1 (rt: 2.56.1/5601:1)
- libzip 1.5.1
- libserialport 0.1.1/1:0:1 (rt: 0.1.1/1:0:1)
- libusb-1.0 1.0.22.11312 API 0x01000106
- libftdi 1.4
- Host: x86_64-pc-linux-gnu, little-endian.
- SCPI backends: TCP, serial, USBTMC.
- libsigrokdecode 0.6.0-git-5166b03/4:0:0 (rt: 0.6.0-git-5166b03/4:0:0).
- Libs:
- glib 2.56.1 (rt: 2.56.1/5601:1)
- Python 3.6.6 / 0x30606f0 (API 1013, ABI 3)
- Host: x86_64-pc-linux-gnu, little-endian.
```
Am I doing something wrong or is it a bug?
[1]: https://afiskon.ru/s/30/075e2fc950_i2s-pmod.sr
[2]: https://afiskon.ru/s/7b/171f92fdbb_temp.png
--
Best regards,
Aleksander Alekseev
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
sigrok-devel mailing list
sigrok-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sigrok-devel