MEM MEM Control Applications of DSP. Lab 2. Project Creating & GPIO DSP28355 & CCSv5
|
|
- Clemence Sutton
- 5 years ago
- Views:
Transcription
1 MEM MEM Control Applications of DSP Lab 2 Project Creating & GPIO DSP28355 & CCSv5 B.C. Chang and Mishah U. Salman Department of Mechanical Engineering & Mechanics Drexel University 2013 B.C. Chang & M.U. Salman, MEM Dept. Drexel Univ. 1/14
2 1. Objective The objective of this lab is to get the students more familiar with the CCSv5.2 and to learn another fundamental peripheral, GPIO (general-purpose input/output). In this lab, you will learn how to directly create new projects from scratch on CCSv5.2 without using the existing projects of previous CCS version and migration like you did in Lab 1. You will create two projects from scratch in the CCSv5.2 environment: 2s_hello and 2s_createproj_epwm. GPIO pins are used for general-purpose binary input/output operations. Most of the computer peripheral signals are multiplexed with GPIO signals. This enables the user to use a pin as GPIO if the peripheral signal or function is not used. On reset, GPIO pins are configured as inputs. The user can individually program each pin for GPIO mode or peripheral signal mode. In this lab, you will also migrate two existing CCSv3.3 projects to CCSv5.2: 2s_gpio_toggle_delay_A and 2s_gpio_toggle_int_B. The two GPIO projects will be employed to generate digital signals and send them to GPIO6 (P8:#16) and GPIO7 (P8:#21) pins as outputs. In 2s_gpio_toggle_delay_A, the timing of the toggled output is controlled by a for loop with time delay, while in 2s_gpio_toggle_int_B, interrupts are used to control the timing. 2. Creating a New Simple Project: 2s_hello In this section, you will learn how to create a simple CCSv5 project from scratch. After the project 2s_hello is created, you can debug (including compiling to covert the source code to the machine code), load the machine code to the F28335 DSP chip, and run the program. The function of this simple program is just to print a message like Hello World! on the output device of choice. 1. Select File New CCS Project from the manual. This opens the New CCS Project wizard. B.C. Chang & M.U. Salman, MEM Dept. Drexel Univ. 2/14
3 2. In the Project Name field, type the new project name: 2s_hello. 3. In the Output type, select Executable. 4. Check the small box to choose Use default location to keep the new project files in your workspace folder. 5. Select C2000 in the Family field. 6. In the Variant field: select 2833x Delfino and EZDSPF In the Connection field, select Spectrum Digital DSK-EVM-eZdsp onboard USB Emulator. 8. The Advanced settings section is minimized by default. 9. Expand the Project templates and examples section. Then select Empty Project (with main.c) 10. Press the Finish button. 11. You will see the new project 2s_hello appears on the Project Explorer View window, and a new folder 2s_hello is created in your workspace folder. 12. Insert the following C code inside the braces of the void main(void) program: puts("hello mem /mem class!");/* write a string to stdout */ puts("hope you enjoy the lab!");/* write a string to stdout */ while(1) { } 13. Debug, load, and run the program, and you ll see hello mem /mem class! hope you enjoy the lab! appear on the Console View window. B.C. Chang & M.U. Salman, MEM Dept. Drexel Univ. 3/14
4 3. Creating a New Project: 2s_createproj_epwm Now you will repeat the similar procedure described in Section 2 to create another project, this project is more complicated than the one in the previous section. The function of the project, 2s_createproj_epwm, will be the same as that in Lab 1 to generate PWM signals. However, this project will be created from scratch, step by step in CCSv5.2, unlike the one in Lab1, which was obtained from migrating an old CCSv3.3 project. 1. Select File New CCS Project from the manual. This opens the New CCS Project wizard. 2. In the Project Name field, type the new project name: 2s_createproj_epwm. 3. In the Output type, select Executable. 4. Check the small box to choose Use default location to keep the new project files in your workspace folder. 5. Select C2000 in the Family field. 6. In the Variant field: select 2833x Delfino and EZDSPF In the Connection field, select Spectrum Digital DSK-EVM-eZdsp onboard USB Emulator. 8. The Advanced settings section is minimized by default. Nothing needs to be changed. However, you still can expand it to see the compiler version (TIv6.1.0). 9. Expand the Project templates and examples section. Then select Empty Project you will add files to the new project in a little while. B.C. Chang & M.U. Salman, MEM Dept. Drexel Univ. 4/14
5 10. Press the Finish button. 11. You will see the new project 2s_createproj_epwm appears on the Project Explorer View window, and a new folder 2s_createproj_epwm is created in your workspace folder. Note that the target configuration file, EZDSPF28335.ccxml, which is automatically generated, and the linker command file, 28335_RAM_lnk.cmd, and a header files folder, C:/ti/ccsv5/tools/compiler/c2000_6.1.0/include, are already included in the project. Next, you ll add more files and headers to complete the project creation. 12. Add files to the project: Select Project Add Files, and look in the folder C:\tidcs\c28\DSP2833x\v131\CntrlDSP \2s_createproj_epwm_orig and double click 2s_createproj_epwm.c to add it to the project. 13. Repeat step 12 to look in C:\tidcs\c28\DSP2833x\v131\DSP2833x_common\source and select DSP2833x_CpuTimers.c, DSP2833x_DefaultIsr.c, DSP2833x_EPwm.c, DSP2833x_PieCtrl.c, DSP2833x_PieVect.c, and DSP2833x_SysCtrl.c. 14. Also go to C:\tidcs\c28\DSP2833x\v131\DSP2833x_headers\source to add DSP2833x_GlobalVariableDefs.c to the project. 15. Repeat to find the assembly source files: DSP2833x_ADC_cal.asm, DSP2833x_CodeStartBranch.asm, and DSP2833x_usDelay.asm, in C:\tidcs\c28\DSP2833x\v131\DSP2833x_common\source and add them to the project. B.C. Chang & M.U. Salman, MEM Dept. Drexel Univ. 5/14
6 16. Repeat to add the Linker Command File DSP2833x_Headers_nonBIOS.cmd to the project from C:\tidcs\c28\DSP2833x\v131\DSP2833x_headers\cmd. 17. Look at the Project Explorer View window to make sure there are two.cmd file, eight.c files, and three.asm files in the project folder 2s_createproj_epwm. 18. Next, you ll add three more header file folders to the project. Select Project Properties Include Options from the manual. In the lower-right pane of the Properties for 2s_createproj_epwm window, click the green arrow icon (Add) to pop up the Add directory path. 19. Press the button File System to search for the directory C:\ti\xdais_7_21_01_07\packages\ti\xdais then click the OK button. B.C. Chang & M.U. Salman, MEM Dept. Drexel Univ. 6/14
7 20. Repeat Step 19 again to add the following two header file folders to the project: C:/tidcs/c28/DSP283x/v131/DSP283x_common/include C:/tidcs/c28/DSP283x/v131/DSP283x_headers/include 21. Now the project is ready for debug and compiling. If there is no error and a xxx.out file is generated, load the object file to the DSP chip and run the program. 22. Check if it is functioning as that in the project, 1s_epwm, in Lab Connections for GPIO Connect the ezdsp board to the USB port of the PC DO NOT OPEN THE SOCKET on the board to avoid damaging the DSP chip inside. Connect the DAQ box to PC and Build a LabVIEW VI Connect the NI USB-6211 (DAQ) box to PC via USB cable and connect AI0, AI1, and AIGND to ezdsp Pins P8: #16, #21 and P8: #19, respectively. A simple LabVIEW VI will be needed to observe the GPIO signals. NI USB-6211 (DAQ) TI F28335 ezdsp AI0 P8: #16 AI1 P8: #21 AIGND P8: #19 B.C. Chang & M.U. Salman, MEM Dept. Drexel Univ. 7/14
8 B.C. Chang & M.U. Salman, MEM Dept. Drexel Univ. 8/14
9 B.C. Chang & M.U. Salman, MEM Dept. Drexel Univ. 9/14
10 5. Generation of GPIO Signals with Timing Controlled by a Time Delay 5A. Migrate the CCSv3.3 Project 2s_gpio_toggle_delay_A to CCSv5.2 The CCSv3.3 project, 2s_gpio_toggle_delay_A.pjt, together with the associated C program, 2s_gpio_toggle_delay_A.c and a gel file 2s_gpio_toggle_delay_A.gel can be found in the folder 2s_gpio_toggle_delay_A_orig, which is inside the directory C:\tidcs\c28\DSP2833x\v131\CntrlDSP. You can employ the migration procedure you learned in Lab 1 to migrate the existing CCSv3.3 Project 2s_gpio_toggle_delay_A to CCSv5.2. You also have an option to follow the procedure in Section 3 to directly create the new CCSv5.2 project from scratch based on 2s_gpio_toggle_delay_A.c. 5B. Debug, Build and Run the Newly Migrated Project 2s_gpio_toggle_delay_A 1. Select the project by clicking the 2s_gpio_toggle_delay_A in the "Project Explorer" view. 2. Click on the green bug (debug button) on the tool bar. 3. The debugging process will do the following: (i) Save all open files in the project selected (ii) Build the selected project and create an executable file 2s_gpio_toggle_delay_A.out, which appears in the folder Debug (iii) Automatically switched the CCS Debug perspective 4. The "Debug" view is now visible. (i) This view should always be open. Do not close it. If it is accidently closed, you can open it again using the "view debug" menu item. (ii) It allows you to connect the target device and control it (run, suspend, etc.) 5. Select "Run Load Load Program" to load the executable file 2s_gpio_toggle_delay_A.out to the target device. 6. Run Resume 7. Observe the following GPIO signals: Observe the waveform of GPIO6 (P8:#16) and GPIO7 (P8:#21) on an oscilloscope or LabVIEW with DAQ card. 8. Select View Expresions. Type the names of the registers on the Expressions view as shown at the top of the CCS window. GpioDataRegs.GPADAT.bit.GPIO6 GpioDataRegs.GPADAT.bit.GPIO7 imax jmax 9. Select Run Suspend. Observe the values of the registers in the following "Expressions" view. B.C. Chang & M.U. Salman, MEM Dept. Drexel Univ. 10/14
11 10. Use Real-Time Mode to Observe Continuous Update of the values in the Expression View: Click on the clock icon at the top of the CCS Debug perspective. 11. CCS will ask if you would like to change bit 1 of the ST1 status register to 0. This is required to enter real-time mode. 12. Select "Yes". 13. In the upper right corner of the Expressions view, click the "Continuous Refresh" button. 14. Observe how the values of registers are changing with time. 15. Observe the waveform of GPIO6 (P8:#16) and GPIO7 (P8:#21) on an oscilloscope or LabVIEW with DAQ card in real-time mode. 16. Compute the period and the phase relationship of these GPIO signals from the waveforms. 17. Observe the changing values of GPIO6 and GPIO7 in the Expression View. Use stop watch to measure the period of GPIO signals according to changing values shown in the Expression View. 18. Can you modify the program to generate a desired period and a desired phase difference between the two GPIO signals? 19. Use the Expression View to change the value of period in real-time and observe if the waveforms of GPIO6 and GPIO7 will change. 6. Generation of GPIO Signals with Timing Controlled by Interrupt 6A. Migrate the CCSv3.3 Project 2s_gpio_toggle_int_B to CCSv5.2 The CCSv3.3 project, 2s_gpio_toggle_int_B.pjt, together with the associated C program, 2s_gpio_toggle_int_B.c and a gel file 2s_gpio_toggle_int_B.gel can be found in the folder 2s_gpio_toggle_int_B_orig, which is inside the directory C:\tidcs\c28\DSP2833x\v131\CntrlDSP. You can employ the migration procedure you learned in Lab 1 to migrate the existing CCSv3.3 Project 2s_gpio_toggle_int_B to CCSv5.2. You also have an option to follow the procedure in Section 3 to directly create the new CCSv5.2 project from scratch based on 2s_gpio_toggle_int_B.c. 6B. Debug, Build and Run the Project 1. Select the project by clicking the 2s_gpio_toggle_int_B in the "Project Explorer" view. 2. Click on the green bug (debug button) on the tool bar. 3. The debugging process will do the following: (i) Save all open files in the project selected B.C. Chang & M.U. Salman, MEM Dept. Drexel Univ. 11/14
12 (ii) Build the selected project and create an executable file 2s_gpio_toggle_int_B.out, which appears in the folder Debug (iii) Automatically switched the CCS Debug perspective. 4. The "Debug" view is now visible. (i) This view should always be open. Do not close it. If it is accidently closed, you can open it again using the "view debug" menu item. (ii) It allows you to connect the target device and control it (run, suspend, etc.) 5. Select "Run Load Load Program" to load the executable file 2s_gpio_toggle_int_B.out to the target device. 6. Run Resume 7. Observe the following GPIO signals: Observe the waveform of GPIO6 (P8:#16) and GPIO7 (P8:#21) on an oscilloscope or LabVIEW with DAQ card. 8. Select View Expresions. Type the names of the registers on the Expressions view as shown at the top of the CCS window. GpioDataRegs.GPADAT.bit.GPIO6 GpioDataRegs.GPADAT.bit.GPIO7 CpuTimer0.InterruptCount Period 9. Select Run Suspend. Observe the values of the registers in the following "Expressions" view. 10. Use Real-Time Mode to Observe Continuous Update of the values in the Expression View: Click on the clock icon at the top of the CCS Debug perspective. 11. CCS will ask if you would like to change bit 1 of the ST1 status register to 0. This is required to enter real-time mode. 12. Select "Yes". 13. In the upper right corner of the Expressions view, click the "Continuous Refresh" button. 14. Observe how the values of registers are changing with time. 15. Observe the waveform of GPIO6 (P8:#16) and GPIO7 (P8:#21) on an oscilloscope or LabVIEW with DAQ card in real-time mode. 16. Compute the period and the phase relationship of these GPIO signals from the waveforms. 17. Observe the changing values of GPIO6 and GPIO7 in the Expression View. Use stop watch to measure the period of GPIO signals according to changing values shown in the Expression View. 18. Can you modify the program to generate a desired period and a desired phase difference between the two GPIO signals? 7. Discussions What approach was used in the 2s_gpio_toggle_delay_A program to achieve timing control? Does this approach provide precise timing control? Does this approach use CPU time efficiently? Explain the reasoning behind your answers in detail. What approach was used in the 2s_ gpio_toggle_int_b program to achieve timing control? Does this approach provide precise timing control? Does this approach use CPU time efficiently? Explain the reasoning behind your answers in detail. Explain what interrupt means in the 2s_ gpio_toggle_int_b program. B.C. Chang & M.U. Salman, MEM Dept. Drexel Univ. 12/14
13 Appendix A: ============================================================================= FILE: 2s_gpio_toggle_delay_A.c This program is modified from Example_2833xGpioToggle.c, by B.C. Chang, Chirag Jagadish, Mishah U. Salman, Drexel Univ. on March 28, 2010 This program requires the DSP2833x/DSP2823x C/C++ Header Files V1.31, released by TI on August 4, ========================================================================== Toggle GPIO PORT pins, GpioDataRegs.GPADAT.bit.GPIO6, GpioDataRegs.GPADAT.bit.GPIO7, using a for loop to control the timing Use Expression View to observe GpioDataRegs.GPADAT.bit.GPIO6 GpioDataRegs.GPADAT.bit.GPIO7 imax jmax The pins of these GPIO ports can be observed using Oscilloscope. ========================================================================== Appendix B: ============================================================================= FILE: 2s_gpio_toggle_int_B.c This program is modified from Example_2833xCpuTimer.c, by B.C. Chang, Mishah U. Salman, Drexel Univ. on March 28, 2010 This program requires the DSP2833x/DSP2823x C/C++ Header Files V1.31, released by TI on August 4, ========================================================================== Toggle GPIO PORT pins, GpioDataRegs.GPADAT.bit.GPIO6, GpioDataRegs.GPADAT.bit.GPIO7, using interrupt to control the timing Use Expression View to observe CpuTimer0.InterruptCount GpioDataRegs.GPADAT.bit.GPIO6 GpioDataRegs.GPFDAT.bit.GPIO7 B.C. Chang & M.U. Salman, MEM Dept. Drexel Univ. 13/14
14 period The pins of these GPIO ports can be observed using Oscilloscope. ========================================================================== B.C. Chang & M.U. Salman, MEM Dept. Drexel Univ. 14/14
MEM Microprocessor-Based Control Systems. Lab 4. Modeling and Simple Feedback Control DSP28355, CCSv Introduction. 2.
MEM458-001 Microprocessor-Based Control Systems Lab 4 Modeling and Simple Feedback Control DSP28355, CCSv5.2 B.C. Chang and Mishah U. Salman Department of Mechanical Engineering & Mechanics Drexel University
More informationF28069 ControlCard Lab1
F28069 ControlCard Lab1 Toggle LED LD2 (GPIO31) and LD3 (GPIO34) 1. Project Dependencies The project expects the following support files: Support files of controlsuite installed in: C:\TI\controlSUITE\device_support\f28069\v135
More informationLab 1: Guide for creating portable projects in C2000
Lab 1: Guide for creating portable projects in C2000 Requisites: CCSV5.5 installed in C:\TI; ControlSUITE installed in C:\TI; C2000 PICCOLO Launchpad hardware (LAUNCHXL-F28027). Objective: To create first
More informationCode Composer Studio Operation Manual
Code Composer Studio Operation Manual Contents Code Composer Studio Operation Manual... 1 Contents... 1 Section 1: Launching CSS... 1 Section 2: Create Project & Preparing Project Setting... 3 Section
More informationF28335 ControlCard Lab1
F28335 ControlCard Lab1 Toggle LED LD2 (GPIO31) and LD3 (GPIO34) 1. Project Dependencies The project expects the following support files: Support files of controlsuite installed in: C:\TI\controlSUITE\device_support\f2833x\v132
More informationAPPENDIX A. CODE COMPOSER STUDIO (CCS) v5: A BRIEF TUTORIAL FOR THE DSK6713
APPENDIX A. CODE COMPOSER STUDIO (CCS) v5: A BRIEF TUTORIAL FOR THE DSK6713 A.1 Introduction Code Composer Studio (CCS) is Texas Instruments integrated development environment (IDE) for developing routines
More informationAs CCS starts up, a splash screen similar to one shown below will appear.
APPENDIX A. CODE COMPOSER STUDIO (CCS) v6.1: A BRIEF TUTORIAL FOR THE DSK6713 A.1 Introduction Code Composer Studio (CCS) is Texas Instruments Eclipse-based integrated development environment (IDE) for
More informationUsing Code Composer Studio IDE with MSP432
Using Code Composer Studio IDE with MSP432 Quick Start Guide Embedded System Course LAP IC EPFL 2010-2018 Version 1.2 René Beuchat Alex Jourdan 1 Installation and documentation Main information in this
More informationSTM32 Ecosystem Workshop. T.O.M.A.S Team
STM32 Ecosystem Workshop T.O.M.A.S Team After successful code generation by STM32CubeMX this is the right time to import it into SW4STM32 toolchain for further processing 2 Handling the project in SW4STM32
More informationAs CCS starts up, a splash screen similar to one shown below will appear.
APPENDIX A. CODE COMPOSER STUDIO (CCS) v5.1: A BRIEF TUTORIAL FOR THE OMAP-L138 A.1 Introduction Code Composer Studio (CCS) is Texas Instruments integrated development environment (IDE) for developing
More informationTUTORIAL Auto Code Generation for F2833X Target
TUTORIAL Auto Code Generation for F2833X Target August 2017 1 PSIM s SimCoder Module, combined with F2833x Hardware Target, can generate ready-to-run code for hardware based on TI F2833x series floating-point
More informationResource 2 Embedded computer and development environment
Resource 2 Embedded computer and development environment subsystem The development system is a powerful and convenient tool for embedded computing applications. As shown below, the development system consists
More informationF28027 USB Stick Lab1_3
F28027 USB Stick Lab1_3 Blink LED LD2 (GPIO34) CPU Timer 0 Interrupt Service FLASH based standalone version 1. Project Dependencies The project expects the following support files: Support files of controlsuite
More informationCreate and Debug a CCSv5.5 Project for DSK6713- or DUETT-Board1
Praktikum Digitale Signalverarbeitung Department Informations- und Elektrotechnik Labor für Signalverarbeitung Create and Debug a CCSv5.5 Project for DSK6713- or DUETT-Board1 1 Start CCSv5 and create a
More informationHOW TO USE CODE::BLOCKS IDE FOR COMPUTER PROGRAMMING LABORATORY SESSIONS
HOW TO USE CODE::BLOCKS IDE FOR COMPUTER PROGRAMMING LABORATORY SESSIONS INTRODUCTION A program written in a computer language, such as C/C++, is turned into executable using special translator software.
More informationTUTORIAL Auto Code Generation for F2803X Target
TUTORIAL Auto Code Generation for F2803X Target August 2017 1 PSIM s SimCoder Module, combined with the F2803x Hardware Target, can generate ready-to-run code from a PSIM control schematic for hardware
More informationBuilding an Embedded Processor System on Xilinx NEXYS3 FPGA and Profiling an Application: A Tutorial
Building an Embedded Processor System on Xilinx NEXYS3 FPGA and Profiling an Application: A Tutorial Introduction: Modern FPGA s are equipped with a lot of resources that allow them to hold large digital
More informationECE QNX Real-time Lab
Department of Electrical & Computer Engineering Concordia University ECE QNX Real-time Lab User Guide Dan Li 9/12/2011 User Guide of ECE Real-time QNX Lab Contents 1. About Real-time QNX Lab... 2 Contacts...
More informationTUTORIAL Auto Code Generation for F2806X Target
TUTORIAL Auto Code Generation for F2806X Target October 2016 1 PSIM s SimCoder Module, combined with the F2806x Hardware Target, can generate ready to run code from a PSIM control schematic for hardware
More informationSection Objective: Acquaint with specifications of Launchpad Acquaint with location of switches, LEDs, power-on switch, powering the board.
Lab-0: Getting started with Tiva C Series Launchpad and Code Composer Studio IDE ERTS Lab, CSE Department IIT Bombay Lab Objective: 1. 2. 3. 4. Familiarization with Tiva C series Launchpad Install Code
More informationECGR 4101/5101, Fall 2016: Lab 1 First Embedded Systems Project Learning Objectives:
ECGR 4101/5101, Fall 2016: Lab 1 First Embedded Systems Project Learning Objectives: This lab will introduce basic embedded systems programming concepts by familiarizing the user with an embedded programming
More informationCST8152 Compilers Creating a C Language Console Project with Microsoft Visual Studio.Net 2003
CST8152 Compilers Creating a C Language Console Project with Microsoft Visual Studio.Net 2003 The process of creating a project with Microsoft Visual Studio 2003.Net is to some extend similar to the process
More informationCST8152 Compilers Creating a C Language Console Project with Microsoft Visual Studio.Net 2010
CST8152 Compilers Creating a C Language Console Project with Microsoft Visual Studio.Net 2010 The process of creating a project with Microsoft Visual Studio 2010.Net is similar to the process in Visual
More informationPSIM Tutorial. How to Use SCI for Real-Time Monitoring in F2833x Target. February Powersim Inc.
PSIM Tutorial How to Use SCI for Real-Time Monitoring in F2833x Target February 2013-1 - With the SimCoder Module and the F2833x Hardware Target, PSIM can generate ready-to-run codes for DSP boards that
More informationDAVE 3 Hands on / Quick Start Tutorial. Presentation Tutorial Start 1 v1.1: Creating a simple Project using PWM and Count Apps
DAVE Hands on / Quick Start Tutorial Presentation Tutorial Start v.: Creating a simple Project using PWM and Count Apps Project Changing the brightness of an LED with the PWM App PWMSP00 Interrupt on timer
More informationCopyright 2015 by Stephen A. Zajac & Gregory M. Wierzba. All rights reserved..spring 2015.
Copyright 2015 by Stephen A. Zajac & Gregory M. Wierzba. All rights reserved..spring 2015. Copyright 2015 by Stephen A. Zajac & Gregory M. Wierzba. All rights reserved..spring 2015. Copyright 2015 by Stephen
More informationPSIM Tutorial. How to Use SimCoder with TI F28335 Target Powersim Inc.
PSIM Tutorial How to Use SimCoder with TI F28335 Target - 1 - Powersim Inc. With the SimCoder Module, PSIM can automatically generate generic code from the control schematic. With SimCoder and the TI F28335
More informationBuilding an Embedded Processor System on a Xilinx Zync FPGA (Profiling): A Tutorial
Building an Embedded Processor System on a Xilinx Zync FPGA (Profiling): A Tutorial Embedded Processor Hardware Design October 6 t h 2017. VIVADO TUTORIAL 1 Table of Contents Requirements... 3 Part 1:
More informationUser Guide. Introduction. Requirements. Installing and Configuring. C Interface for NI myrio
User Guide C Interface for NI myrio Introduction The C interface for NI myrio is designed for users who want to program the NI myrio using the C programming language or a programming language other than
More informationXilinx Vivado/SDK Tutorial
Xilinx Vivado/SDK Tutorial (Laboratory Session 1, EDAN15) Flavius.Gruian@cs.lth.se March 21, 2017 This tutorial shows you how to create and run a simple MicroBlaze-based system on a Digilent Nexys-4 prototyping
More informationQUICKSTART CODE COMPOSER STUDIO Stellaris Development and Evaluation Kits for Code Composer Studio
Stellaris Development and Evaluation Kits for Code Composer Studio Stellaris Development and Evaluation Kits provide a low-cost way to start designing with Stellaris microcontrollers using Texas Instruments
More informationNIOS CPU Based Embedded Computer System on Programmable Chip
1 Objectives NIOS CPU Based Embedded Computer System on Programmable Chip EE8205: Embedded Computer Systems This lab has been constructed to introduce the development of dedicated embedded system based
More informationSystem Framework Overview Guide and Instructions on How to Use the Template Projects
System Framework Overview Guide and Instructions on How to Use the Template Projects Brett Larimore and Manish Bhardwaj C2000 Systems and Applications Team Version 2.0 May 2008 Revised September 2010 The
More informationTools Basics. Getting Started with Renesas Development Tools R8C/3LX Family
Getting Started with Renesas Development Tools R8C/3LX Family Description: The purpose of this lab is to allow a user new to the Renesas development environment to quickly come up to speed on the basic
More informationNIOS CPU Based Embedded Computer System on Programmable Chip
NIOS CPU Based Embedded Computer System on Programmable Chip EE8205: Embedded Computer Systems NIOS-II SoPC: PART-II 1 Introduction This lab has been constructed to introduce the development of dedicated
More informationBASICS OF THE RENESAS SYNERGY TM
BASICS OF THE RENESAS SYNERGY TM PLATFORM Richard Oed 2018.11 02 CHAPTER 9 INCLUDING A REAL-TIME OPERATING SYSTEM CONTENTS 9 INCLUDING A REAL-TIME OPERATING SYSTEM 03 9.1 Threads, Semaphores and Queues
More informationTexas Instruments Code Composer and ez-dsp Setup Notes
Texas Instruments Code Composer and ez-dsp Setup Notes By Calvin Walden and Edward Sandor 21 February 2017 Table of Contents Preliminary Information Texas Instruments Software Setup Code Composer Studio
More informationFPGA Introductory Tutorial: Part 1
FPGA Introductory Tutorial: Part 1 This tutorial is designed to assist in learning the basics of the Altera Quartus II v9.0 software. Part 1 of the tutorial will cover the basics of creating a Project,
More informationesi-risc Development Suite Getting Started Guide
1 Contents 1 Contents 2 2 Overview 3 3 Starting the Integrated Development Environment 4 4 Hello World Tutorial 5 5 Next Steps 8 6 Support 10 Version 2.5 2 of 10 2011 EnSilica Ltd, All Rights Reserved
More informationCode Composer Studio. MSP Project Setup
Code Composer Studio MSP Project Setup Complete the installation of the Code Composer Studio software using the Code Composer Studio setup slides Start Code Composer Studio desktop shortcut start menu
More informationExercise: PWM Generation using the N2HET
Exercise: PWM Generation using the N2HET 1 Overview In this exercise we will: Create a new HALCoGen Project Configure HALCoGen to generate A basic PWM with a period of 1 second and a duty cycle of 75%
More informationMigrating from CubeSuite+ to Eclipse RL78 Family
Migrating from CubeSuite+ to Eclipse RL78 Family LAB PROCEDURE Description: This hands-on lab covers how to convert CubeSuite+ project to Renesas new Eclipsebased IDE, e 2 studio using Free GNU compiler
More informationTI ARM Lab 2 Bright Light
TI ARM Lab 2 Bright Light National Science Foundation Funded in part, by a grant from the National Science Foundation DUE 1068182 Acknowledgements Developed by Craig Kief, and Brian Zufelt, at the Configurable
More informationSTM32 Ecosystem workshop. T.O.M.A.S Team
STM32 Ecosystem workshop T.O.M.A.S Team 2 Now, to complete our task, we have to Switch to SW4STM32 for some software modification Compile the code with added new features Run the code on NUCLEO-L476RG
More informationFloating-Point Unit. Introduction. Agenda
Floating-Point Unit Introduction This chapter will introduce you to the Floating-Point Unit (FPU) on the LM4F series devices. In the lab we will implement a floating-point sine wave calculator and profile
More informationFigure 1. Simplicity Studio
SIMPLICITY STUDIO USER S GUIDE 1. Introduction Simplicity Studio greatly reduces development time and complexity with Silicon Labs EFM32 and 8051 MCU products by providing a high-powered IDE, tools for
More informationC Support for myrio 5.0 User Guide
C Support for myrio 5.0 User Guide C Support for myrio provides tools for you to program the myrio by using non- LabVIEW programming languages, such as the C programming language. C Support for myrio includes
More informationCodewarrior for ColdFire (Eclipse) 10.0 Setup
Codewarrior for ColdFire (Eclipse) 10.0 Setup 1. Goal This document is designed to ensure that your Codewarrior for Coldfire v10.0 environment is correctly setup and to orient you to it basic functionality
More informationEthernut 3 Source Code Debugging
Ethernut 3 Source Code Debugging Requirements This is a short listing only. For Details please refer to the related manuals. Required Hardware Ethernut 3 Board Turtelizer 2 JTAG Dongle PC with USB and
More informationCST8152 Compilers Creating a C Language Console Project with Microsoft Visual Studio.Net 2005
CST8152 Compilers Creating a C Language Console Project with Microsoft Visual Studio.Net 2005 The process of creating a project with Microsoft Visual Studio 2005.Net is similar to the process in Visual
More informationECE 487 LAB 1 ÇANKAYA UNIVERSITY Overview of DSP Board
ECE 487 LAB 1 ÇANKAYA UNIVERSITY Overview of DSP Board DSP (Digital Signal Processor) boards are used in high performance, high throughput signal processing applications. You can find there processors
More informationIntroduction to Zynq
Introduction to Zynq Lab 2 PS Config Part 1 Hello World October 2012 Version 02 Copyright 2012 Avnet Inc. All rights reserved Table of Contents Table of Contents... 2 Lab 2 Objectives... 3 Experiment 1:
More informationMicroZed: Hello World. Overview. Objectives. 23 August 2013 Version 2013_2.01
23 August 2013 Version 2013_2.01 Overview Once a Zynq Hardware Platform is created and exported from Vivado, the next step is to create an application targeted at the platform and see it operating in hardware.
More informationLab 1: Introduction to C Programming. (Creating a program using the Microsoft developer Studio, Compiling and Linking)
Lab 1: Introduction to C Programming (Creating a program using the Microsoft developer Studio, Compiling and Linking) Learning Objectives 0. To become familiar with Microsoft Visual C++ 6.0 environment
More informationBHFlashBurn v2.0. User Guide. BHFlashBurn-UG-02 April 2008
BHFlashBurn v2.0 User Guide BHFlashBurn-UG-02 April 2008 BH-FlashBurn Utility 2008 EWA Technologies, Inc. All rights reserved. IMPORTANT INFORMATION Reproduction, adaptation, or translation without prior
More informationLab 0 Introduction to the MSP430F5529 Launchpad-based Lab Board and Code Composer Studio
ECE2049 Embedded Computing in Engineering Design Lab 0 Introduction to the MSP430F5529 Launchpad-based Lab Board and Code Composer Studio In this lab, you will be introduced to the Code Composer Studio
More informationBASICS OF THE RENESAS SYNERGY PLATFORM
BASICS OF THE RENESAS SYNERGY PLATFORM TM Richard Oed 2017.12 02 CHAPTER 9 INCLUDING A REAL-TIME OPERATING SYSTEM CONTENTS 9 INCLUDING A REAL-TIME OPERATING SYSTEM 03 9.1 Threads, Semaphores and Queues
More informationHibernation Module. Introduction. Agenda
Hibernation Module Introduction In this chapter we ll take a look at the hibernation module and the low power modes of the M4F. The lab will show you how to place the device in sleep mode and you ll measure
More informationU-Boot and Linux Kernel Debug using CCSv5
U-Boot and Linux Kernel Debug using CCSv5 In this session we will cover fundamentals necessary to use CCSv5 and a JTAG to debug a TI SDK-based U-Boot and Linux kernel on an EVM platform. LAB: http://processors.wiki.ti.com/index.php/sitara_linux_training:_uboot_linux_debu
More informationIntroduction. Key features and lab exercises to familiarize new users to the Visual environment
Introduction Key features and lab exercises to familiarize new users to the Visual environment January 1999 CONTENTS KEY FEATURES... 3 Statement Completion Options 3 Auto List Members 3 Auto Type Info
More informationCode::Blocks Student Manual
Code::Blocks Student Manual Lawrence Goetz, Network Administrator Yedidyah Langsam, Professor and Theodore Raphan, Distinguished Professor Dept. of Computer and Information Science Brooklyn College of
More informationDSP Development Environment: Introductory Exercise for TI TMS320C55x
Connexions module: m13811 1 DSP Development Environment: Introductory Exercise for TI TMS320C55x Thomas Shen David Jun Based on DSP Development Environment: Introductory Exercise for TI TMS320C54x (ECE
More informationSection 2: Getting Started with a FPU Demo Project using EK-LM4F232
Stellaris ARM Cortex TM -M4F Training Floating Point Unit Section 2: Getting Started with a FPU Demo Project using EK-LM4F232 Stellaris ARM Cortex TM -M4F Training: Floating Point Unit Section 2 Page 1
More informationTP : System on Chip (SoC) 1
TP : System on Chip (SoC) 1 Goals : -Discover the VIVADO environment and SDK tool from Xilinx -Programming of the Software part of a SoC -Control of hardware peripheral using software running on the ARM
More informationDOMAIN TECHNOLOGIES. Getting Started Guide Version 1.1. BoxView IDE. Integrated Development Environment
Getting Started Guide Version 1.1 BoxView IDE Integrated Development Environment Table of Contents INTRODUCTION...3 System Requirements...3 INSTALLATION...4 License Server...4 Registration...5 Node Locked
More informationUniversity of Massachusetts Amherst Computer Systems Lab 1 (ECE 354) LAB 1 Reference Manual
University of Massachusetts Amherst Computer Systems Lab 1 (ECE 354) LAB 1 Reference Manual Lab 1: Using NIOS II processor for code execution on FPGA Objectives: 1. Understand the typical design flow in
More informationCPE 323: Laboratory Assignment #1 Getting Started with the MSP430 IAR Embedded Workbench
CPE 323: Laboratory Assignment #1 Getting Started with the MSP430 IAR Embedded Workbench by Alex Milenkovich, milenkovic@computer.org Objectives: This tutorial will help you get started with the MSP30
More informationTI mmwave Labs. Vital Signs Measurement
TI mmwave Labs Vital Signs Measurement Contents Overview Requirements Software setup Pre-requisites Downloading the Lab Project Building the project Hardware setup Preparing the EVM Connecting the EVM
More informationBASICS OF THE RENESAS SYNERGY TM
BASICS OF THE RENESAS SYNERGY TM PLATFORM Richard Oed 2018.11 02 CHAPTER 8 HELLO WORLD! HELLO BLINKY! CONTENTS 8 HELLO WORLD! HELLO BLINKY! 03 8.1 Your First Project Using e 2 studio 04 8.1.1 Creating
More informationCode Composer TM. Quick Start Guide
Code Composer TM Quick Start Guide Before You Begin Check for old versions of Code Composer (CC) on your system Uninstall all old CC applications Delete old path statements and environment variables in
More informationSoftware Installation Guide for S32 Design Studio IDE (S32DS): FRDM-KEAZ128Q80 FRDM-KEAZ64Q64 FRDM-KEAZN32Q64
Software Installation Guide for S32 Design Studio IDE (S32DS): FRDM-KEAZ128Q80 FRDM-KEAZ64Q64 FRDM-KEAZN32Q64 Ultra-Reliable MCUs for Industrial and Automotive www.freescale.com/frdm-kea External Use 0
More informationSMT943 APPLICATION NOTE 1 APPLICATION NOTE 1. Application Note - SMT372T and SMT943.doc SMT943 SUNDANCE MULTIPROCESSOR TECHNOLOGY LTD.
APPLICATION NOTE 1 Application Note - SMT372T + SMT943 SMT943 SUNDANCE MULTIPROCESSOR TECHNOLOGY LTD. Date Comments / Changes Author Revision 07/07/10 Original Document completed CHG 1 Date 13/05/2010
More informationThe board contains the connector for SWD bus to implement SWD method of programming. Fig. K190 VDD 2 GND 4
3. Programming Once the machine code containing the user program is prepared on a personal computer, the user must load the code into the memory of the processor. Several methods for loading are available.
More informationHands-On with STM32 MCU Francesco Conti
Hands-On with STM32 MCU Francesco Conti f.conti@unibo.it Calendar (Microcontroller Section) 07.04.2017: Power consumption; Low power States; Buses, Memory, GPIOs 20.04.2017 21.04.2017 Serial Interfaces
More informationLab 1 Introduction to Microcontroller
Lab 1 Introduction to Microcontroller Feb. 2016 1 Objective 1. To be familiar with microcontrollers. 2. Introducing LPC2138 microcontroller. 3. To be familiar with Keil and Proteus software tools. Introduction
More informationPSIM Tutorial. How to Use SPI in F2833x Target. February Powersim Inc.
PSIM Tutorial How to Use SPI in F2833x Target February 2013-1 - Powersim Inc. With the SimCoder Module and the F2833x Hardware Target, PSIM can generate ready-to-run codes for DSP boards that use TI F2833x
More informationEDEM Dynamics Coupling Quick Start Guide
EDEM Dynamics Coupling Quick Start Guide Table of Contents Introduction -------------------------------------------------------------------------------------------------------------- 2 EDEM version and
More informationCarleton University Department of Systems and Computer Engineering SYSC Foundations of Imperative Programming - Winter 2012
Carleton University Department of Systems and Computer Engineering SYSC 2006 - Foundations of Imperative Programming - Winter 2012 Lab 1 - Introduction to Pelles C Objective To become familiar with the
More information6L00IA - Introduction to Synergy Software Package Short Version (SSP v1.2.0) Renesas Synergy Family - S7 Series
6L00IA - Introduction to Synergy Software Package Short Version (SSP v1.2.0) Renesas Synergy Family - S7 Series LAB PROCEDURE Description: The purpose of this lab is to familiarize the user with the Synergy
More informationNIOS CPU Based Embedded Computer System on Programmable Chip
NIOS CPU Based Embedded Computer System on Programmable Chip 1 Lab Objectives EE8205: Embedded Computer Systems NIOS-II SoPC: PART-I This lab has been constructed to introduce the development of dedicated
More informationUniversity of Massachusetts Amherst Computer Systems Lab 2 (ECE 354) Spring Lab 1: Using Nios 2 processor for code execution on FPGA
University of Massachusetts Amherst Computer Systems Lab 2 (ECE 354) Spring 2007 Lab 1: Using Nios 2 processor for code execution on FPGA Objectives: After the completion of this lab: 1. You will understand
More informationCode::Blocks Student Manual
Code::Blocks Student Manual Lawrence Goetz, Network Administrator Yedidyah Langsam, Professor and Theodore Raphan, Distinguished Professor Dept. of Computer and Information Science Brooklyn College of
More informationApril 4, 2001: Debugging Your C24x DSP Design Using Code Composer Studio Real-Time Monitor
1 This presentation was part of TI s Monthly TMS320 DSP Technology Webcast Series April 4, 2001: Debugging Your C24x DSP Design Using Code Composer Studio Real-Time Monitor To view this 1-hour 1 webcast
More informationAndeSight. User Manual. Working with AndESLive. Version 1.0
AndeSight User Manual Working with AndESLive Version 1.0 Table of Contents AndeSight User Manual PREFACE... 2 CHAPTER 1 INTRODUCTION AND OVERVIEW... 3 1.1 ANDESIGHT OVERVIEW... 4 1.2 IDE OVERVIEW... 4
More informationHomework Assignment 9 LabVIEW tutorial
Homework Assignment 9 LabVIEW tutorial Due date: Wednesday, December 8 (midnight) For this homework assignment, you will complete a tutorial on the LabVIEW data acquistion software. This can be done on
More informationTI mmwave Training. xwr16xx mmwave Demo
TI mmwave Training xwr16xx mmwave Contents Overview Requirements Software setup Pre-requisites Downloading the Lab Project Building the project Hardware setup Preparing the EVM Connecting the EVM Running
More information'C/C++' Project/Code Tutorial for Code Composter Studio (CCS)
Introduction The purpose of this document is to explain how to create a 'C' or 'C++' code program in Code Composer Studio for Version 5.1 of the software. Students should be proficient in writing assembly
More informationHVMotorCtrl + PFC Kit How to Run Guide
HVMotorCtrl + PFC Kit How to Run Guide Ver. 1.4 October 2010 C2000 Systems and Applications Team This Guide explains the steps needed to run the HVMTRPFCKIT with the software supplied through controlsuite.
More information6 GPIO 84. Date: 29/09/2016 Name: ID: This laboratory session discusses about writing program to interact with GPIO of Reapberry Pi.
6 GPIO 84 Date: 29/09/2016 Name: ID: Name: ID: 6 GPIO This laboratory session discusses about writing program to interact with GPIO of Reapberry Pi. GPIO programming with Assembly Code:block installation
More informationHello World on the ATLYS Board. Building the Hardware
1. Start Xilinx Platform Studio Hello World on the ATLYS Board Building the Hardware 2. Click on Create New Blank Project Using Base System Builder For the project file field, browse to the directory where
More informationLaboratory: Introduction to Mechatronics. Instructor TA: Edgar Martinez Soberanes Lab 1.
Laboratory: Introduction to Mechatronics Instructor TA: Edgar Martinez Soberanes (eem370@mail.usask.ca) 2017-01-12 Lab 1. Introduction Lab Sessions Lab 1. Introduction to the equipment and tools to be
More informationMicrium OS Kernel Labs
Micrium OS Kernel Labs 2018.04.16 Micrium OS is a flexible, highly configurable collection of software components that provides a powerful embedded software framework for developers to build their application
More informationECE4703 Real-Time DSP Orientation Lab
ECE4703 Real-Time DSP Orientation Lab D. Richard Brown III Associate Professor Worcester Polytechnic Institute Electrical and Computer Engineering Department drb@ece.wpi.edu 25-Oct-2006 C6713 DSK Overview
More informationFamiliarity with data types, data structures, as well as standard program design, development, and debugging techniques.
EE 472 Lab 1 (Individual) Introduction to C and the Lab Environment University of Washington - Department of Electrical Engineering Introduction: This lab has two main purposes. The first is to introduce
More informationEECE.2160: ECE Application Programming Spring 2018 Programming Assignment #1: A Simple C Program Due Monday, 1/29/18, 11:59:59 PM
Spring 2018 Programming Assignment #1: A Simple C Program Due Monday, 1/29/18, 11:59:59 PM 1. Introduction This program simply tests your ability to write, compile, execute, and submit programs using the
More informationProcessor Expert Software RAppID Suite Overview
Processor Expert Software RAppID Suite Overview FTF-AUT-F0074 Sudhakar Srinivasa Senior Software Engineer A P R. 2 0 1 4 TM External Use Session Introduction This one hour session covers: Overview of Processor
More informationProgramming in the MAXQ environment
AVAILABLE The in-circuit debugging and program-loading features of the MAXQ2000 microcontroller combine with IAR s Embedded Workbench development environment to provide C or assembly-level application
More informationYou have a PC with a USB interface, running Microsoft Windows XP (SP2 or greater) or Vista You have the Workshop Installation Software Flash Drive
03- COMPOSER STUDIO Stellaris Development and Evaluation Kits for Code Composer Studio The Stellaris Development and Evaluation Kits provide a low-cost way to start designing with Stellaris microcontrollers
More informationDOMAIN TECHNOLOGIES INC. Users Guide Version 2.0 SB-USB2. Emulator
INC. Users Guide Version 2.0 SB-USB2 Emulator Table of Contents 1 INTRODUCTION... 3 1.1 Features... 3 1.2 Package Contents... 4 1.3 Related Components... 4 2 INSTALLATION... 4 3 INTEGRATION WITH LSI LOGIC
More informationXC866 Getting Started on EasyKit & Toolkits
March 2005 XC866 on EasyKit & Toolkits Page 1 N e v e r s t o p t h i n k i n g. Overview DAvE! This will get you started in using the XC866. KEIL HiTOP XC800_ FLOAD! You will be introduced to the following
More information