Study and Implementation of High Performance DSP Fast Mode I~2 C Controller
- Author
- JiangYongHua
- Advisor
- ChenShuMing
- School
- National University of Defense Science and Technology
- Major
- Software Engineering
- Classification
- TP273 Automatic control,automatic control system
- Degree
- Master's thesis
- Year
- 2010
- Downloads
- 54
- Citations
- 0
Abstract
Recently, with the development of the application requirement, more and more DSP extends I~2C bus on chip so as to communicate directly between DSP and various I~2C peripherals. It is to be one of the key technologies that using limited resource on chip for DSP to communicate flexibly with various I~2C peripherals.This thesis emphasizes on standard cell and full custom design methodology of I~2C controller with various transmission. The proposed I~2C controller with various transmission on the 32 bits floating point high performance YHFT-DSP is designed at specification level, algorithm level and logic level, and is implemented in 0.13μm CMOS process. Furthermore, the verification, emulation and testing techniques of the I~2C which has been applied in an audio system are discussed. This subject mainly contributes to the following aspects:1. An extended I~2C bus specification is proposed. According to the extended specification, an overall function architecture of I~2C controller is designed and optimized. The optimized architecture combines the system-level functional requirements of the independent YHFT-DSP with fast-mode I~2C bus specification.2. The RTL level logical function is designed based on standard cell. The open drain IOBUF and the filter cell are both implemented by full custom design. After deeply studying interface timing constraints on the logical design of the I~2C, it is a strategy to output delayed SDA singnal. An algorithm composed by two steps clockdown is proposed. The two steps are“prescaler”and pulse duration ratio. The algorithm solves the problem how to divide high speed system clock on chip down to produce serial clock of any pulse duration ratio. Main control state machines are simplified to achieve various transmissions with lower hardware cost.3. Both auto-verification and FPGA emulation platform are built to fulfill function and timing verification. YHFT-I~2C successfully communicated with E2PROM on the emulation platform of the DSP. Moreover, the board testing of a sample chip of YHFT-DSP which is applied in the audio system is carried into execution.The testing and application of the sample chip results show the proposed I~2C achieves the basic and extended functions of the specification. Each timing parameter of the designed I~2C could meet the constraints of the extended specification and left margin. The transmission speed can be more than 400Kbps in tipical case. The designed I~2C controller can communicate with several I~2C peripherals correctly. It accomplishes the function of the extended serial bus on DSP and achieves the design goal.
Table of contents
Abstract 11-12
ABSTRACT 12-13
first chapter 13-17
1.1 research background and sources 13
1.2 I ~~ 2C bus interface Overview and Features 13-16
1.2.1 serial bus introduced 14-15
1.2.2 I ~ 2C Bus Interface Overview 15-16
1.3 The research content 16
1.4 of this article organizational structure 16-17
second-chapter of YHFT-I ~~ 2C fast bus interface research and the overall structure of the design 17-33
2.1 YHFT-I ~ 2C Controller Introduction 17-19
the
2.2 of YHFT-I ~~ of 2C on standard I to 2C norms expansion 19-20
the
2.3 of YHFT-I ~~ 2C rapid bus transport protocol Introduction 20-26
2.3.1 Data Validation 20
2.3.2 Operation 20-21
2.3.3 start and end conditions 21-22
2.3.4 serial data format 22-24
2.3.5 NACK bit way select 24
2.3.6 clock synchronization 24-25
2.3.7 I ~ 2C controller reset / invalid 25-26
2.4 YHFT-I ~ 2C controller overall design 26-32
2.4.1 to 2C controller functions into 27
2.4.2 I ~~ 2C controller interface definitions 27-29
2.4.3 I ~~ 2C workflow 29-30
2.4.4 register definitions and addressing mode select 30-32
2.5 This chapter Summary 32-33
the
third chapter of YHFT of-I to 2C controller function module design 33-66
3.1 I ~ 2C bus interface 33-34
3.2 SCL clock divider algorithm 34-35
3.3 SCL clock link research and design 35-42
3.3.1 Prescaler clock-frequency design 36-37
3.3.2 start / end conditions for the timing and detection 37-38
3.3.3 SCL clock state machine design and optimization 38-42
3.4 master controller design 42-53
3.4.1 master state machine design and optimization 42-49
3.4.2 transmit module design 49-51
3.4.3 receiver module design 51-53
3.5 I to 2C controller clock and data transceiver link Detailed 53-54
3.6 multi-master arbitration 54-55
3.7 interrupt signal and synchronized events designed 55-58
3.8 FREE emulation mode design 58
3.9 asynchronous signal processing 58-61
3.10 I ~~ 2C bus interface full custom unit design 61-63
the
of 3.10.1 OD door IOBUF the design 61-62
the
3.10.2 filter unit design 62-63
3.11 timing parameters to ensure 63-65
3.12 Chapter Summary 65-66
the
-chapter of YHFT-I ~~ 2C verification and chip testing 66-88
4.1 Verification Overview 66-68
4.1.1 verification process 66-67
4.1.2 functional and timing verification Overview 67-68
4.2 validation level 68-74
4.2.1 module level validation 68-69
4.2.2 component level validation 69
4.2.3 chip system level verification 69-73
4.2.4 verify contents 73-74
4.3 validation automation 74-76
4.4 coverage analysis 76-78
4.5 of logic synthesis and analysis of 78-79
4.6 FPGA simulation 79-81
the
4.7 of YHFT-DSP chips I to 2C Controller Test and Evaluation 81-84
4.7.1 of YHFT-DSP chip I ~~ 2C test strategy 81-84
4.7.2 of YHFT-DSP chip I ~~ 2C test evaluation 84
the
4.8 of YHFT-I to 2C application nbsp audio system; 84-87
4.9 This chapter Summary 87-88
Chapter V Conclusion 88-90
5.1 work summarizes 88-89
5.2 Job Outlook 89-90
Acknowledgements 90-91
the
References 91-94
the
author achieved academic achievements during the study period 94-95
Appendix A YHFT-I ~ 2C interface registers Function 95-103
Related dissertations
- Design and Implementation of Radar’s Electrify Console
- The Design and Implementation of the FPGA Based Verification and Testing Platform of NoC
- Functional Verification of YHFT-DX High Performance DSP
- Study on Industrial Restructuring Adjustment of Gansu Based on Energy Efficiency
- Research on Collaborative Optimization of city group logistics base and multi task
- Research and Development of Froth Flotation Video Surveillance Hardware Platform Based on DSP
- Intelligent Video Surveillance System Based on DSP
- Optical Fiber Perimeter Alarm System Based on DSP and FPGA
- The Design of Monitoring System for the Photovoltaic Plant Based on DSP
- Design and Implementation of Multi-channel Data Acquisition System
- Research on Measuring System of Mid-Infrared Photoelectric Autocollimator
- Wire Rope On-line Detection System Design Based on DSP
- IMU Data Acquisition and Processing System Design and Realization Based on DSP
- Design of Marine Toxin Analvsis System Based on ECIS and Image Detection
- The Design of Multi-channel Optic-electronic Signal Acquisition and Processing System
- The Study Oh Fuzzy Controlin TIG Welding Prossess
- Control Method Research and Controller Development of AGV Based on DSP
- Research on Tension Control System of Fiber Placement Machine
- Research on Drive and Control Technology of Electromagnetic Traveling-wave for Automated Conveying System
- Research on the Slave Station for AC Servo Driver Based on DeviceNet Fieldbus