Reading/Writing Data Via The Spi-Bus Interface; Write / Read And Bank Select; Write Of Data; Read Of Data - Epson RX4111CE Applications Manual

Real time clock module
Hide thumbs Also See for RX4111CE:
Table of Contents

Advertisement

14.10. Reading/Writing Data via the SPI-Bus Interface

For both read and write, first set up chip condition (internally CE="H") to CE="H", then specify the 4-bits address, and
finally read or write in 8-bits units. Both read and write use MSB-first. In continuous operation, objected address is auto
incremented. Auto incrementing of the address is cyclic, so address "F" is followed by address 0.

14.10.1 Write / Read and Bank Select

R/W and Register bank are specified by the four bits mode setting code.
Mode
Read
Write
Bank5 and Bank6 are for software reset

14.10.2 Write of Data

1) One-shot writing
C E
CLK
1
2
D I
0
0
Mode
D O
2 ) Continuous writing
C E
CLK
1
2
D I
0
0
Mode
D O
When writing data, the data needs to be entered in 8-bits units.
If the input of data in 8-bits unit is not completed before CE input falls, the 8-bits data will not be written properly
at the time CE input falls.

14.10.3 Read of Data

1) One-shot reading
C E
CLK
1
2
D I
1
D O
2 ) Continuous reading
C E
CLK
1
2
D I
1
0
Mode
D O
RX4111CE
ETM62E-02
Bank1
Bank2
9h
Ah
1h
2h
3
4
5
6
7
8
9
0
1
A3
A2
A1
A0
D7
Address N
Hi-Z
3
4
5
6
7
8
9
0
1
A3
A2
A1
A0
D7
Address N
Hi-Z
3
4
5
6
7
8
9
0
0
1
A3
A2
A1
A0
Mode
Address N
D7
Hi-Z
3
4
5
6
7
8
9
0
1
A3
A2
A1
A0
Address N
D7
Hi-Z
Seiko Epson Corporation
Bank3
Bh
3h
10
11
12
13
14
15
16
D6
D5
D4
D3
D2
D1
D0
Data N
10
11
D6
D5
D1
D0 D7
D6
Data N
Data N+1
10
11
12
13
14
15
16
D6
D5
D4
D3
D2
D1
D0
Data N
10
11
D6
D5
D1
D0
D7
D6
Data N
Data N+1
14. How to use
Bank6
Eh
6h
D1
D0
D7
D6
D1 D0
Data N+m
D1
D0
D7
D6
D1
D0
Data N+m
Jump to
Top
/
Bottom
56

Advertisement

Table of Contents
loading

This manual is also suitable for:

Rx4111ce aRx4111ce bX1b000431000115X1b000431000215

Table of Contents