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