]> sigrok.org Git - sigrok-dumps.git/blame - i2c/rtc_epson_8564je/README
avr_isp: add dump for ATmega328/P
[sigrok-dumps.git] / i2c / rtc_epson_8564je / README
CommitLineData
e63e73d9 1-------------------------------------------------------------------------------
ad011ff3 2Epson RTC-8564 JE/NB
e63e73d9
UH
3-------------------------------------------------------------------------------
4
ad011ff3
UH
5This is an example capture of I2C traffic from/to an Epson RTC-8564 JE/NB
6I2C RTC chip, which has a slave address of 0x51 (or 0xa2, if the read/write
7bit is included).
e63e73d9
UH
8
9
10Logic analyzer setup
11--------------------
12
47cd3c8f 13The logic analyzer used was a ChronoVu LA8 (at 1MHz):
e63e73d9
UH
14
15 Probe RTC chip pin
16 ------------------------
17 0 (green) SCL
709737bd 18 1 (orange) SDA
e63e73d9
UH
19
20
21Data
22----
23
24The device talking to the RTC was doing the following in an infinite loop:
25
26 - Set the RTC to a specific date/time (Nov 22, 2011 - 04:03:54, weekday = 2).
27
28 - Read back the current time from the RTC.
29
709737bd
UH
30This is what the decoded data should look like:
31
32 - Setting the date/time:
33 S Wr:0xa2 A 0x02 A 0x54 A 0x03 A 0x04 A 0x22 A 0x02 A 0x11 A 0x11 A P
34
35 - Reading the current date/time:
36 S Wr:0xa2 A 0x02 A Sr Rd:0xa3 A 0x54 A 0x03 A 0x44 A 0x62 A 0x52 A
37 0x51 A 0x11 N P
38
49d0ad90 39 - The abbreviations used above: S = Start, Wr = Write, A = ACK, P = Stop,
709737bd
UH
40 Sr = Repeated start, Rd = Read, N = NACK
41
e63e73d9
UH
42The sigrok command line used was:
43
44 sigrok-cli -d 0:samplerate=1mhz --samples 8388608 \
709737bd 45 -p '1=SCL,2=SDA' -o rtc_epson_8564je.sr
e63e73d9 46