Study and Testing of Compatibility Issues Between the Texas
Total Page:16
File Type:pdf, Size:1020Kb
STUDY AND TESTING OF COMPATIBILITY ISSUES BETWEEN THE TEXAS INSTRUMENTS TMSC6713 DSP STARTER KIT AND CURRENT PC WINDOW SYSTEMS A Project Presented to the faculty of the Department of Electrical and Electronic Engineering California State University, Sacramento Submitted in partial satisfaction of the requirements for the degree of MASTER OF SCIENCE in Electrical and Electronic Engineering by Prabakar Marikani FALL 2017 STUDY AND TESTING OF COMPATIBILITY ISSUES BETWEEN THE TEXAS INSTRUMENTS TMSC6713 DSP STARTER KIT AND CURRENT PC WINDOW SYSTEMS A Project by Prabakar Marikani Approved by: __________________________________, Committee Chair Preetham B. Kumar, Ph.D. __________________________________, Second Reader Fethi Belkhouche, Ph.D. ____________________________ Date ii Student: Prabakar Marikani I certify that this student has met the requirements for format contained in the University format manual, and that this project is suitable for shelving in the Library and credit is to be awarded for the project. _____________________, Graduate Coordinator ________________ Preetham B. Kumar, Ph.D. Date Department of Electrical and Electronic Engineering iii Abstract of STUDY AND TESTING OF COMPATIBILITY ISSUES BETWEEN THE TEXAS INSTRUMENTS TMSC6713 DSP STARTER KIT AND CURRENT PC WINDOW SYSTEMS by Prabakar Marikani This project work is focused on the study and possible resolution of interface issues between the Texas Instruments TMS C6713 DSP Starter Kit (DSK) and computers operating on Windows versions higher than XP, such as Windows 7, 8 and 10. Essentially, the current issues to be resolved are the compatibility issues between earlier model processors and the PCs operating on newer Windows versions. In order to validate the resolution of these compatibility issues, experiments such as signal generation and digital filtering design/implementation will be tried out using the interface, and the results will be recorded. This work will be very useful for the DSP curriculum in the EEE Department at Sacramento State. _______________________, Committee Chair Dr. Preetham B. Kumar _______________________ Date iv ACKNOWLEDGEMENTS I would like to thank my Graduate Coordinator and my advisor for this project Dr. Preetham Kumar for his support and guidance towards the project. I would like to thank him for always being there to help me understanding the topic and developing the project and also for encouraging me to give my best. Also I would like to thank him for his consistent support and guidance in my academics, from enrolling for classes until submission of my project. I would also like to thank all my professors throughout my Master’s and Bachelor’s, for giving me an opportunity to learn and grow up to this level. Lastly, I would like to express my heartfelt gratitude to my family for supporting me during this project. Also to my friends and roommates, thank you for listening, offering me advice, and supporting me through this entire process. This journey would not have been possible without the support of my family, professors and mentors, and my friends. v TABLE OF CONTENTS Page Acknowledgements ....................................................................................................... v List of Figures ........................................................................................................... viii Chapter 1. INTRODUCTION ......... ……………………………………………………….. 1 1.1 Introduction to TMS C6X DSP .................................................................. 2 2. EVOLUTON OF DSP IN COMMUNICATIONS ................................................. 5 2.1 3X Series ..................................................................................................... 6 2.2 5X Series ..................................................................................................... 7 2.3 6X Series ......................................................................................................8 3. CODE COMPOSER STUDIO VERSIONS AND COMPATABILITY ISSUES 10 3.1 CCS Version 3 ...........................................................................................10 3.2 CCS Version 4 ...........................................................................................10 3.3 CCS Version 5 ...........................................................................................11 3.4 CCS Version 6 ...........................................................................................12 4. TEST STUDIES ON THE 6713 DSK AND CODE COMPOSER VERSIONS . 13 4.1 Initial steps to create new project on the TMS320C6713 DSK .................13 4.2 Hello World Program .................................................................................15 4.2.1 Hello World Program Code .........................................................15 4.3 Sine Wave Generation ...............................................................................18 vi 4.3.1 Sine Wave Generator Program ....................................................19 4.4 FIR Filter Implementation .........................................................................21 4.4.1 FIR Filter Implementation Program.............................................22 5. CONCLUSION ......................................................................................................27 References ................................................................................................................... 29 vii LIST OF FIGURES Figures Page 1. CCS Software Tool ........................................................................................... 14 2. HelloWorld Program Output ............................................................................. 17 3. Sine Wave Generation Block diagram .............................................................. 19 4. FIR Filter Implementation Block diagram ........................................................ 22 5. Filter Input Sine Wave with 2 KHz Frequency ................................................ 24 6. Filter Input Sine Wave with 4 KHz Frequency ................................................ 25 7. Time Period Representation of the Filter Input Signal ..................................... 26 viii 1 i 1 Chapter 1 INTRODUCTION Code Composer Studio [4] is an integrated development environment (IDE) that supports TI's (Texas Instruments) Microcontroller and Embedded Processors portfolio. Originally Code Composer was a product from a company called GO DSP located in Toronto, Canada, and it was acquired by TI in 1997. After the acquisition, Code Composer was bundled with a real-time kernel named DSP/BIOS and its name was appended with the word Studio. Code Composer Studio contains set of designed tools used for developing and debugging various embedded applications. The most important application of Code Composer Studio is to design embedded projects and to perform low-level (bare metal) JTAG based debugging. In recent years, unmodified versions with Eclipse open source IDE includes support for OS level application debug (Linux, Android, Windows Embedded) and open source compiler suites such as GCC [4]. This integrated development environment provides a user friendly interface which allows the user to interact with the application in each step of the project development. Environment like this allows the user to get used to the compiling and debugging tools faster than other environments. Code Composer Studio includes 2 important features like Eclipse software framework and advanced embedded debug capabilities which provides rich user interacting development environment for embedded developers. This integrated environment consists of optimizing C/C++ compiler, source code editor, project build environment, debugger, profiler, and many other features used for supporting TI’s Embedded Processor [8]. 1.1 Introduction to TMS C6X DSP TMS C6X DSP is one of the most powerful processors developed by Texas Instruments. It is a low cost development platform mainly designed to increase the development speed of high precision TI’s applications. This DSP Kit uses USB communications for plug-and-play functionality. It provides innovative product designs with many features for both experienced and novice designers [1]. This Kit includes latest TI fast simulators and access to the Analysis Tool Kit which contains Cache Analysis tool and Multi-Event Profiler. Cache Analysis is used for providing optimized cache usage which helps to improve the application performance. Cache optimization is achieved by providing graphical representation of the on-chip cache activity over a period of time. By using this data user can get peak performance by quickly determining whether their code using on-chip cache [8]. The DSK includes the Fast Run Time Support libraries and utilities such as Flash burn to program flash, Update 3 Advisor to download tools, utilities and software and a power on self-test and diagnostic utility to ensure the DSK is operating correctly. The DSK features the TMS320C6713 DSP, a 225 MHz device delivering up to 1800 million instructions per second (MIPs) and 1350 MFLOPS. This DSP generation is designed for applications that require high precision accuracy [9]. The C6713 is based on the TMS320C6000 DSP platform designed to needs of high-performing high-precision applications such as pro-audio, medical and diagnostic. Other hardware features of the TMS320C6713 DSK board include [8], Embedded JTAG support via USB High-quality 24-bit stereo codec Four 3.5mm audio jacks for microphone, line in, speaker and