summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGerhard Sittig <gerhard.sittig@gmx.net>2020-09-09 18:17:59 +0200
committerGerhard Sittig <gerhard.sittig@gmx.net>2020-09-09 18:21:49 +0200
commitc7b21bde6ad569b698ad695374335e45b2db6be7 (patch)
tree4f94a107210466767713b01f37554db707127c93
parent455bdc6edec647ef3147eec4291ecf6a0fba74e4 (diff)
downloadsigrok-dumps-c7b21bde6ad569b698ad695374335e45b2db6be7.tar.gz
sigrok-dumps-c7b21bde6ad569b698ad695374335e45b2db6be7.zip
ds3231: add Maxim DS3231 real time clock example captures
Submitted-By: ascuber <gchromestore@gmail.com>
-rw-r--r--i2c/rtc_dallas_ds3231/README48
-rw-r--r--i2c/rtc_dallas_ds3231/ds3231_ex1.srbin0 -> 943 bytes
-rw-r--r--i2c/rtc_dallas_ds3231/ds3231_ex2.srbin0 -> 676 bytes
3 files changed, 48 insertions, 0 deletions
diff --git a/i2c/rtc_dallas_ds3231/README b/i2c/rtc_dallas_ds3231/README
new file mode 100644
index 0000000..12c783e
--- /dev/null
+++ b/i2c/rtc_dallas_ds3231/README
@@ -0,0 +1,48 @@
+-------------------------------------------------------------------------------
+Maxim Integrated DS3231 RTC
+-------------------------------------------------------------------------------
+
+Details:
+ - DS3231 datasheet: https://datasheets.maximintegrated.com/en/ds/DS3231.pdf
+
+
+Logic analyzer setup
+--------------------
+
+The logic analyzer used was Geeetech Mini Board Cypress FX2(LP) eval board
+with fx2lafw firmware (at 4MHz):
+
+ Probe DS3231 pin
+ -------------------------
+ 0 SCL
+ 1 SDA
+
+
+ds3231_ex1.sr
+----------------------
+
+The file provides reading/writing of time keeping registers as well as
+control, control/status and temperature registers of the RTC chip, which
+was setup to 24-hours mode:
+
+- Read Control register
+- Write Control register - disable alarms
+- Read Control/Status register
+- Write Control/Status register - clear alarm's flags
+- Write Alarm 1 registers - set Alarm 1 at every 1st date
+- Write Alarm 2 registers - set Alarm 2 at every minute
+- Read date/time
+- Read temperature (MSB)
+
+
+ds3231_ex2.sr
+----------------------
+
+The file provides reading/writing of time keeping registers as well as
+control/status and temperature registers of the RTC chip, which was setup
+to 24-hours mode and after Alarm 2 occured:
+
+- Read Control/Status register
+- Write Control/Status register - clear alarm flag
+- Read date/time
+- Read temperature (MSB)
diff --git a/i2c/rtc_dallas_ds3231/ds3231_ex1.sr b/i2c/rtc_dallas_ds3231/ds3231_ex1.sr
new file mode 100644
index 0000000..4c21d1b
--- /dev/null
+++ b/i2c/rtc_dallas_ds3231/ds3231_ex1.sr
Binary files differ
diff --git a/i2c/rtc_dallas_ds3231/ds3231_ex2.sr b/i2c/rtc_dallas_ds3231/ds3231_ex2.sr
new file mode 100644
index 0000000..4bcd8db
--- /dev/null
+++ b/i2c/rtc_dallas_ds3231/ds3231_ex2.sr
Binary files differ