Home

SMT6050-user_manual - Sundance Multiprocessor Technology Ltd.

image

Contents

1. 3 Type open demo370dsp mdl in Matlab command window The following window should appear Figure 2 Matlab Window 4 Double click on smt370 The following dialogue box will appear Block Parameters SMT370 M Function mask link m Parameters clock generator M 251 clock generator N 12 111 DAC mode Patter generator pe Pattern File c demos pat_gensin1024_16 ptn ADC A channel mode Disabled ADC B channel mode Binary coding al Cancel Help Apply Figure 3 Parameters 4 Make sure that the path to pattern File is correct and pattern file is available 5 From this window menu select Simulation gt configuration parameter Version 1 0 Page 15 of 20 SMT6050 User Manual 6 The following windows should appear a Configuration Parameters demo370dsp Configuration T t selection RTW oysters target fle DEEA Beewesn Descepton Decumertober I Gerando HTML epa F Larcher ie code germaton comedetes Hardware Implemertabon Model Reterenang Plead Tine Workthop Comments Symbola intom Code Debug Figure 4 Build project 7 In the RTW system target file select browse and then select Sundance tlc so that the code will be generated for Sundance hardware 8 Press Generate code 17 System target file browser demo370dsp System target file Description ert tic Visual C C Project Makefile only for tia grt tic Cenezic Real Time Target grt
2. file version
3. t 2512 sin 2 pi 1 64 eee aiculate Frame Size 7924 Figure 10 Demodspcop results window Version 1 0 Page 20 of 20 SMT6050 User Manual 7 Press calculate The data related to the function that you entered is calculated and sent to DSP the DSP calculates the FFT and returns the result for displaying Something that you can do with this demo 1 Change the function The function is any valid Matlab function with t as the variable For example the followings are valid functions e t e t 100 e Sin t 100 Some interesting functions are e 2 12 sin t 500 20 e 2 12 sin t 5 1 0 8 sin t 50 e 2 12 sin t 5 2 pi sin t 50 Demo Hardware in the loop In this demo some section of the demo is running in the PC and some other section is running in the DSP This demo has 3 files l Mic mdl The model for PC section that uses a microphone as input 2 File mdl The model for PC section that uses a file as input 3 Reverb mdlTthe model that should be run in the DSP Running the model If you have a full duplex sound card and a good microphone use mic mdl otherwise use file mdl l Open Matlab and change its directory to hardware_in_the_loop directory 2 Open reverb mdl and generate code for it 3 Compile load and run into the DSP with CCS 4 Open Mic mdl or file mdl 5 From its window select simulation gt start and then speak into the mic or listen to the speaker if you are using
4. the settings for the subsystem block E B Simulink Commonly Used Blocks Continuous Discontinuities Discrete Logic and Bit Operations Lookup Tables Math Operations Model Werification Model Wide Utilities Ports amp Subsystems Signal Attributes Signal Routing Sinks Sources User Defined Functions 2 Additional Math amp Discrete WY Real Time Workshop BW signal Processing Blockset WE Simulink Extras WD Stateflow Ponder Ready da 2 2 2 2H 2 2 2 2 2 2H gt 2H 2 PH dy Ca A D Comports Input Comports output D A SDB input SDE output SMT310 SMT370 Figure 1 Library With these different blocks the user can design a system which can be easily debugged due to the graphical interface of Simulink SMT6050 User Manual Version 1 0 Page 13 of 20 SMT6050 User Manual Chapter 5 Demos SMT6050 comes with four demos to help illustrate the process of designing a system and how the final C code is generated These demos run on an SMT365 SMT370 and an SMT310Q The connections are as follows 1 FMS between T1CO and T2C3 2 Connect SHB A on SMT365 to SHB A on SMT370 via SMT516 or SHB Cable 3 Connect SHB B on SMT365 to SHB B on SMT370 via SHB Cable 4 Connect J10 to J12 and J9 to J13 on the SMT370 There are 3 demos for 3 types of applications 1 Data acquisition and processing In this demo SMT 370 is used to generate a pattern with DAC and
5. then capture it with ADC The FFT of a captured signal is then calculated and sent to the PC to display in real time Only one ADC channel is used for this purpose since the other channel is the same 2 DSP coprocessor In this demo the DSP board is used as a DSP coprocessor for Matlab Applications in Matlab send data to DSP board for fast processing In the demo a signal is generated in Matlab and sent to the DSP In the DSP the FFT of this signal is calculated and returned back to Matlab Matlab shows the signal and its FFT 3 Hardware in the Loop In this application some sections of the simulation are done in the PC and some other section is done in DSP In this demo a Microphone and PC speaker is used for signal capturing and DSP processes them All of the demos are saved under the Demo subdirectory C Sundance demos Data acquisition Demo This demo is under 370_realtime subdirectory There are 3 files there l Demo370dsp mdl Simulink model for code generation 2 Demo370 m Matlab code for displaying captured data in real time 3 Demo370 fig GUI for Matlab code Running the demo Version 1 0 Page 14 of 20 SMT6050 User Manual 1 Start Matlab 2 In the Matlab command window change the directory to the 370_realtime directory cd CA Sundance demos 370_realtime Or at the top of the Matlab window there is a tab that says current directory The directory can be changed there rather than typing the address each time
6. tlic Visual C C44 Project Makefile only for tl grt_malioc tic Generic Real Time Target vith dynamic mes grt_malloc cic Visual C C44 Project Makefile only for t reim tic Dapid Siwulation Target rtvsfen tic S fwaction Target tarcet fo Sundar hoard Single la Tornado VxWorks Real Time Target Full manne C sundance SM T6060 sundance te Temples make tie Sing SP tef ox cot mw ww Make command make tw Figure 5 System Target File 9 After Matlab is done creating the code the user will have to start up Code Composer and add the created code Version 1 0 Page 16 of 20 SMT6050 User Manual tixds6400_11 dvr CPU_1 C64xx Code Composer Studio Disassembly a Fie Edit View Project Debug GEL Option Profile Tools 3LDiamond DSP BIOS Window Help sHs sejna 2 oo ss AAA EN e e Il z eee E ea 02 ee Aw OREA Files GEL files Y Projects oc od i e intio vo 00 00 oe ooo Di Um Y Oe 0 f Ot v A gt odel demo370dsp started he model runs for ever 2 RUNNING For Help press F1 Figure 6 Code Composer Studio Window 10 Load the code into the DSP board File gt load program 11 Run the program Debug gt Run 12 Make sure that the model is started by looking for the following message in CCS Model Started 13 Select Matlab window and type open 370demo m 14 The following window should appear Versi
7. SUNDANCE 3 SMT6050 User Manual Sundance Digital Signal Processing Inc Sundance Multiprocessor 4790 Caughlin Parkway 233 Chiltern House Reno NV 89509 0907 Waterside U S A Chesham 1 775 827 3103 HP5 1PS United Kingdom 44 0 1494 793167 This document is the property of Sundance and may not be copied nor communicated to a third party without the written permission of Sundance O Sundance Digital Signal Processing Inc 2005 Version 1 0 Page 2 of 20 SMT6050 User Manual Revision History Date Comments Engineer Version 4 20 2005 Initial Release R N 1 0 Version 1 0 Page 3 of 20 SMT6050 User Manual Table of Contents Chapter ane at te tact nae eet ec eS Oa E RDP ee nT ena 5 Introducir ads dados nadas 5 Simulink ores A E E A RE EEE A 5 Chapi ia a a e a iat a etal 6 SUPE are wane scr EE E E EE ETE 6 SoftWare Requirements nhosas iiot e o iaa eae aee geor ia 6 Chaplin ida E talla e edo 7 A RT 11 Related D c ments a ia 11 SUPPO ios 11 A an A ee eee eR Ree MEE eee OM Hee See ee EE 12 Chapter Davis 13 Demos atte a esac a na de a E e ao 0 de a E AE ra de oc dE 13 Version 1 0 Page 4 of 20 SMT6050 User Manual Table of Figures Figure L Lidia ran diia 12 Figure 2Matlab WAG Wicca oc a ide led 14 Figure Parameters it A tia 14 Figure 4 Build pro A A a a 15 Pipute 5 Systemi Tarot Piles dc pedido 15 Figure 6 Code Composer Studio Window ocooccccocccococoncnonnnononcnoncnanoconn cono n
8. c none nnnnnrnn corn ncnns 16 Figure Real and FET Graphics ii one 17 Figure s Real and PET Graphic tt 18 Figure 9 Matlab Demo Window suicida 19 Figure 10 Demodspcop results WINdOW cccessceceseeceeceeceecceceeceecseeeecseeecseeeceeeeeeaeee 19 Version 1 0 Page 5 of 20 SMT6050 User Manual Chapter 1 Introduction SMT6050 is the Matlab and Simulink toolbox for all of Sundance s hardware It provides the customer with the flexibility of working in the Simulink environment This will speed up the development time of many systems since there is no code needed for the Sundance hardware Simulink Simulink is a simulation and prototyping development tool for modeling simulating and implementing real world dynamic systems Data acquisition environment control and processing power provided by Sundance products as the front end of any system is complemented by Simulink to build easy to develop and maintain target applications User interface is in a form of block diagrams that are intuitive and easy to understand Building of blocks and interconnections between them defines a data flow type of processing and in final stage the customer s algorithm and system This technology generates optimized C code for your application and compiles it into a binary format for further downloading to the Sundance products Code Composer Studio provides a complete project management environment Version 1 0 Page 6 of 20 SMT6050 U
9. on 1 0 Page 17 of 20 SMT6050 User Manual Frame size pa Start 10000 5000 0 Figure 7 Real and FFT Graph 15 Don t change Frame Size from 128 It is for further development 16 Press start 17 Real data should appear in the two graphs The upper graph is the captured signal and the lower graph is its FFT Version 1 0 Page 18 of 20 SMT6050 User Manual 18 The capturing stops after a little while To start again press Start demo370 Frame size 429 Figure 8 Real and FFT Graph DSP coprocessor The object of DSP coprocessor is that the user sends time consuming operations to DSP for fast processing In this example the DSP does FFT and sends the result back to Matlab There are 3 files in this demo 1 DemoDSPcopDSP mdl the model for code generation 2 DemoDSPcop m Matlab program 3 DemoDSPcop fig GUI for Matlab program Running the demo 1 Run Matlab and change the Matlab directory to Dsp_cop 2 Cd CA Sundance demos dsp_cop Version 1 0 Page 19 of 20 SMT6050 User Manual 3 Type in Open demodspcopdsp mdl Tie Cot Ven Semdution Pomat Took hei D eae e Dm Noms i HG 4 me jl sm gt om Pn gt n vee Co eof Dats Type Tarreos Mapes Comge Figure 9 Matlab Demo Window 4 Generate code for it simulation gt configuration parameter and 5 Compile code load it and run the code in CCS 6 Type open DemoDSPCop m in Matlab window DemoDSPCop Function
10. r during linkage phase For more information please consult Code Composer Studio documentation Sundance Board This section allows the user to select which board is being used so therefore which type of DSP the code is being written for RTOS At the moment the only option available is for Bare Board systems TI root The user must specify the directory of the TI Code Composer studio root folder in this section The SMT6050 is now installed and fully configured SMT6050 User Manual Version 1 0 Page 11 of 20 Chapter 4 Related Documents Matlab Release 14 2 Data Sheet Simulink Version 6 0 Data Sheet Real Time Workshop v5 Code Composer Studio User Guide SMT6012 Manual SMT6025 Manual Support Please register on the Sundance Support Forum if not yet registered Then enter your company s forum and request the support you need for the desired product You may also contact us at support sundance com To reach us by telephone you can call 1 775 827 3103 for Sundance DSP or 44 0 1494 793167 for Sundance Multiprocessor or 39 0185 385193 for Sundance Italia Version 1 0 Page 12 of 20 Library SMT6050 provides all the blocks needed for creating code that runs on any of the Sundance DSPs To see the library within SMT6050 the user must type Simulink in the command window The following screen will open A Simulink Librar y Browser File Edit view Help O 5 dh A D Select
11. ry to install the SMT6050 make sure that it is not to a folder with any spaces in the name This will cause it not to work p susue suert Weed 30 SM76050 InstallShield Wizard A ch Lo Ready to instal the Propam Dre setae amp mad ts tage retain Dis wei ta tg he rra per e a AMAS Coleen aS Figure 3 Ready to install section Version 1 0 Page 9 of 20 SMT6050 User Manual O Secale Wied SM76050 InstallShield Wizard Veas all tul Vs ant Comparto A OS Chet Feet u oat he rd Sundance Multiprocessor Technology Ltd Figure 4 Installation complete Version 1 0 Page 10 of 20 SMT6050 User Manual Configuration In the command window type SundanceOptions and the following screen will appear This will allow the user to set up the SMT6050 Moe A Dia Sette Sete ee ak eo T amp Cowetomney C wsececneons 00m Derne je aa E e acap al LE __ M0 tee ji D SeghOSr tnt Template ha Mirta Tapn Largas J unica mabe t Ester Actora Oct 20 200 dence mute t Me DD tundence orto m Mie O sundance stip m OLD Fite C SundanceCiptons ser Estar Autora GB SirderceOptans me Mite DD Sudtencetaget re Mie EQ target pret tt Txt fe Figure 5 Configuration window Compiler options These are compiler options which will be passed to C6X during compilation For more information please consult Code Composer Studio documentation Linker Options These options will pass to the linke
12. ser Manual Chapter 2 Supported Hardware SMT335 SMT335E 1000 SMT335E 2000 SMT361 SMT365 SMT365E SMT365G SMT374 67 13 2 SMT375 SMT375E 1000 SMT375E 2000 SMT376 671 1 128 SMT376 6711 256 SMT395 VP20 5 SMT395 VP30 6 Software Requirements Software Processors Disk Space Matlab v14 14 1 Pentium III IV 400MB Simulink Xeon Pentium M RTW AMD Athlon Athlon XP Athlon MP CCS 2 2 3 0 233MHz or higher 630MB SMT6050 233MHz or higher 20 5MB RAM 256MBMin 512MB Recommended 256MB 128MB Version 1 0 Page 7 of 20 SMT6050 User Manual Chapter 3 Installation EEE KE ode ode K K K K K a K K ode K K ole K K K is K K K K K ale K K K K K K K K K K K K K K K K K K K K K K K K K K K K K K K K K K ole K K K K When installing SMT6050 please don t install to any folder with spaces Therefore the user should not install to the Program Files folder The same thing goes with Code Composer studio Matlab has trouble dealing with spaces KKK K K K K K K K K K K K K K K K K K K K K K K K K K K K K K K K K K K K K K K K K K K K K K K K K K K K K K K K K K K K K K K K K K K K K K IDDO Ima id Wiar d SMT6050 InstallShield Wizard Wellcome to the Rental hand Wizard fur SMT 6050 The rata hat Weed wil ratat SM T5050 on pas cmo Te corre chh Not Sundance Multiprocessor Technology Ltd Figure 1 First page Version 1 0 Page 8 of 20 SMT6050 User Manual waa When selecting a directo

Download Pdf Manuals

image

Related Search

Related Contents

Anleitung für Montage und Betrieb Fitting and Operating Instructions  Samsung MM11S(BL) Camcorder User Manual  HcJ - Hitachi Metals America, Ltd.  Service Manual  ADATA XM13    Smartdock SCBA Bracket manual - East Greenbush Fire Company  Atex RW WD EH  on ECi – Engine Break-In Instructions and oil management  reforma e ampliação da se gaspar  

Copyright © All rights reserved.
Failed to retrieve file