Escolar Documentos
Profissional Documentos
Cultura Documentos
of Zilogs Z8 Encore! XP
-------------------------
A Thesis
Presented to the
Department of Electronics & Communications Engineering
College of Engineering
De La Salle University
-------------------------
In Partial Fulfillment of
The Requirements for the Degree of
Bachelor of Science in Electronics and Communications Engineering
-------------------------
By
TABLE OF CONTENTS
1 INTRODUCTION
1.4 Objectives
10
11
13
15
15
15
16
3 THEORETICAL CONSIDERATIONS
17
17
17
18
19
20
21
3.4.1 Features
21
3.4.2 Operation
22
23
26
29
3.4.3 Registers
29
30
32
33
34
34
3.4.4 Interrupts
35
35
37
39
42
4 DESIGN CONSIDERATIONS
43
43
45
4.2.1 Interfacing_Block
45
4.2.2 Signalling_Block
47
49
50
51
53
54
55
56
57
4.3.1 Interfacing_Block
57
4.3.2 Signalling_Block
62
4.3.3 Base_Block
67
72
4.4.1 Signalling_Block
72
4.4.2 Base_Block
77
77
81
83
85
88
90
92
4.6 Registers
94
94
100
101
102
107
108
108
108
116
124
124
127
130
131
137
143
144
148
153
153
156
159
160
165
170
170
173
176
Bibliography
179
LIST OF APPENDICES
Appendix A I2C Controller Zilog Z8 Encore! XP F64XX Series Product
Specification
Appendix B Zilog Application Note AN0126 Using the Z8 Encore! XP
MCU as an I2C Bus Master
Appendix C Zilog Applicaion Note AN0126 Program Listings
Appendix D Interfacing Block of Write Operation VHDL Simulation
Program Listings
Appendix E Interfacing Block of Read Operation VHDL Simulation
Program Listings
Appendix F Signalling_Block VHDL Simulation Program Listings
Appendix G Base_Block VHDL Simulation Program Listings
Appendix H SPICE Simulation Program Listings
Appendix I Post-Layout Simulation Program Listings
Appendix J Chapter 5 Data
Appendix K Atmel AT2401A/02/04/08A/16A I2C EEPROM Data Sheet
LIST OF FIGURES
11
20
20
23
Figure 3.4 7-Bit Addressed Slave Data Transfer Format for Write Operation
24
24
27
27
28
29
30
33
33
34
34
37
41
41
42
44
46
51
52
54
56
80
82
90
93
96
97
99
108
109
110
112
113
114
117
119
120
121
122
124
125
125
126
126
127
128
128
129
131
132
133
139
140
141
142
Figure 5.53 Post- Layout Simulation for Write Operation (Part 4 of 5) 163
Figure 5.54 Post- Layout Simulation for Write Operation (Part 5 of 5) 164
Figure 5.55 Post-Layout Simulation for Read Operation (Part 1 of 6)
166
167
167
168
168
169
LIST OF TABLES
75
77
77
79
79
81
83
84
84
86
87
87
89
90
91
91
95
123
127
130
137
143
148
154
157
158
165
170
174
175
ACKNOWLEDGEMENT
Our thesis has been a wonderful journey to us. We were able to face challenges
and conquer obstacles on our way to reach on our destination. And we wouldnt be
able to reach our goal if it werent for those who encouraged us and helped us along
the way.
We want to first thank the Lord, for the wisdom, knowledge and strength that
he has given us. To Him be all the glory and honor. We also want to thank our parents
for their support and for providing our monetary needs to be able to supplement our
bodies with delicious nourishment every day we made our thesis. Furthermore, we
want to thank Sir Yap, our adviser, for his patience with us and for guiding us until we
were able to see our thesis as a success. We thank our friends as well for alleviating
our stress by instilling humor in our sometimes tense and anxious life. Lastly, we want
to thank Zilog, Inc. that despite our careless mistake of asking for the wrong product
still gave us the free development kit that we ask of them.
ABSTRACT
This paper reviews the theoretical operation and describes the design of a
Inter-Integrated Circuit (I2C) using 0.25m CMOS technology. I2C is a
communication tool used to communicate between peripheral devices. It is composed
of 2 bidirectional buses/lines namely the SCL and SDA lines. The different control
signals passes through these lines to establish an operation between the master and the
slave. The I2C configuration could be a MASTER-SLAVE mode, MASTER mode or
SLAVE mode.
The I2C module design aims to mimic the behavior of I2C module of Zilogs
Z8 Encore! XP F64XX Series Development Kit. This design is limited only to 8-bit
data transfer application and tested only using a 4k EEPROM (AT24C04) as a slave.
This design only dealt with the MASTER mode configuration of the I2C.