summaryrefslogtreecommitdiff
path: root/i2c
diff options
context:
space:
mode:
authorKarl Palsson <karlp@tweak.net.au>2017-04-05 21:21:38 +0000
committerUwe Hermann <uwe@hermann-uwe.de>2017-05-02 20:27:38 +0200
commit082fca80361d6c9ec06628e10b2d46b93cfe344f (patch)
treeeb213909e07f13f77edead7934d1c967b18e5ba1 /i2c
parentc3b6a25552849f699d1be697341b95f652a6410c (diff)
downloadsigrok-dumps-082fca80361d6c9ec06628e10b2d46b93cfe344f.tar.gz
sigrok-dumps-082fca80361d6c9ec06628e10b2d46b93cfe344f.zip
i2c/sensiron_sht2x: extra dump with more detail.
Shows "hold" mode readings, as well as reading the serial out, a very "non-register" style access. Test host side code for the interested is at https://github.com/karlp/libopencm3-tests/tree/master/tests/i2c-master;43a891d5cdd896d1f03fa834115f9a3e481f8683
Diffstat (limited to 'i2c')
-rw-r--r--i2c/sensirion_sht2x/README13
-rw-r--r--i2c/sensirion_sht2x/i2c-sht21-100khz-read-serial-hold.srbin0 -> 2062 bytes
2 files changed, 11 insertions, 2 deletions
diff --git a/i2c/sensirion_sht2x/README b/i2c/sensirion_sht2x/README
index 9b51b57..94c2695 100644
--- a/i2c/sensirion_sht2x/README
+++ b/i2c/sensirion_sht2x/README
@@ -20,8 +20,17 @@ The logic analyzer used was a USBee SX (at 8 MHz):
2 SCL
-Data
-----
+sensirion_sht21_humidity35.sr
+-----------------------------
The sensor reports a humidity of ca. 35 %RH.
+
+i2c-sht21-100khz-read-serial-hold.sr
+------------------------------------
+
+This file captures reading the version and serial, as well as using
+the "temp hold" and "humidity hold" reading styles. Notice SCL held low
+by the slave.
+
+Temperature is ~23C and RH ~50% and the serial number is "e4d2 0122 d208 0131".
diff --git a/i2c/sensirion_sht2x/i2c-sht21-100khz-read-serial-hold.sr b/i2c/sensirion_sht2x/i2c-sht21-100khz-read-serial-hold.sr
new file mode 100644
index 0000000..f7dc259
--- /dev/null
+++ b/i2c/sensirion_sht2x/i2c-sht21-100khz-read-serial-hold.sr
Binary files differ