Home

smt9650 user guide

image

Contents

1. SsMT9650 USER GUIDE Copyright O Sundance All rights reserved No part of this document may be reproduced translated stored in a retrieval system or transmitted in any form or by any means electronic mechanical photocopying recording or otherwise without prior written permission of the owner Note If this copy is no longer in use return to sender Document No Revision Date Page SMT9650 User Guide 3 0 29 Dec 2006 1 of 36 APPROVAL PAGE AUTHOR S Document No Revision Date Page SMT9650 User Guide 3 0 29 Dec 2006 2 of 36 DOCUMENT HISTORY Date Initials Revision Description of change 6 Dec 2006 PSR Initial Draft 22 Dec 2006 PSR Various corrections and extra pictures added 26 Dec 2006 PSR Updated and extra demo description added Document No Revision Date Page SMT9650 User Guide 3 0 29 Dec 2006 3 of 36 TABLE OF CONTENTS ERA A A A ee gba bit ested 5 AA ene ere ee ore ne ee ee ee ean een en ae re ee eer ean rT ee eT 6 Re a ee eee a ee Cen nema a eee eer a ee ee ee meee ar ee Rie 6 LA A ee A atin nad ence bans A a 6 EAU II AAA RAE a ac nen ccc A IS A O ea naa laa 7 A A OS 8 L3 SMULUNE o A A A A A AR RAS AN 10 L PE AA O O A A A A RN 10 A e a 11 RE SS A Lll EA SS ee eee eee eee eee eer ry ee ee ee ee re 12 OI A A A O A A A EA A E ee en eT 13 LO Poa a a AI A ene ee rere eee 14 L7 Rimni me DEMONSTRATION PR O IS ec A IR 14 Ce o A A A A A A E AA 16 A A e ec 17 E A AA ot A ches kd 23 9 ACRONYMS A
2. Demo1 vi Block Diagram File Edit View Project Operate Tools Window Help n F eA hole os 130 Apptcation ron 3 You will see that the diagram is made up from two frames which will execute from left to right The left frame is responsible for loading the application into the DSP It uses the LOAD instrument which is given the name of the application The only output from LOAD is a boolean signal that is true should an error occur while sending the application to the Sundance hardware this will cause the demonstration to stop The right frame is the body of the demonstration It is a loop that continually requests two streams of data from the DSPs and displays them Each stream is made up of arrays of integers brought in through the INT32 instruments Each of these instruments is given an integer that selects the number of the DSP s output port that has been specified in PARS as presenting the data In this example the DSPs use only two output ports 1 and 2 The output from the INT32 instruments will be arrays of integers The frame also implements the STOP button Document No Revision Date Page SMT9650 User Guide 3 0 29 Dec 2006 16 of 36 7 DEMONSTRATION 2 This demonstration can be found in the Demos Demo2 sub folder of the SMT9650 installation folder this will be c SundanceDSP SMT9650 Demos Demo2 by default It takes four channels of data from the SMT364 and passes them through SDBs to an SMT361Q an SMT374 is u
3. SDSP IMPORTANT READ CAREFULLY This END USER LICENSE AGREEMENT Or AGREEMENT is a Legal Agreement between you either an individual or entity and SDSP The LICENSED MATERIALS subject to this Agreement include the enclosed software programs and documentation and any on line or electronic documentation associated with the software programs The LICENSED MATERIALS collectively referred to as the SOFTWARE may include certain SDSP proprietary software programs that By installing copying or otherwise using the LICENSED MATERIALS you agree to abide by the following provisions You assume responsibility for the selection of the SOFTWARE to achieve your intended results and for the installation use and results obtained from the SOFTWARE 1 SOFTWARE LICENSE The Licensed Materials are protected by copyright laws international copyright treaties and trade secret laws as well as other intellectual property laws and treaties The Licensed Materials are licensed not sold to you and can only be used in accordance with the terms of this Agreement SDSP retains title and ownership of the Licensed Materials including all intellectual property rights a Restrictions This license is for a single user host computer You may not install the Licensed Materials on a network server or otherwise use the Licensed Materials on more than one host computer at the same time Additionally if this package contains multiple version
4. 3 0 29 Dec 2006 14 of 36 Type in the name of the PARS application you wish to execute The filename you supply here can be relative to the directory containing the VI itself For this demonstration you can use demol PARS demol PARS app Now click the run button the arrow below and to the left of View This will start the demonstration running and bring up the following dialogue Diamond hardware interfaces Hardware Interface Sundance Sundance Boards detected ID SMT2100 0 Add Interface PARS has been used to generate a Diamond application that contains all the code for the DSP part of the demonstration and Labview 1s attempting to load that application To do this 1t needs to be told which DSP hardware to use In this case there is only one recognised Sundance carrier board in the system so click OK to select it The demonstration should now load and start to execute gt Generate and Display File Edit View Project Operate Tools Window Help 1000000000 2104569663 71 1348314 Application filename f demo 1 PARSI demo 1 _PARS app You can stop the demonstration by pressing the STOP button Document No Revision Date Page SMT9650 User Guide 3 0 29 Dec 2006 15 of 36 1 8 INTERNAL DETAILS You can investigate the internal details of the demonstration by going to the front panel Window menu and opening the block diagram Show Block Diagram amp Generate and Display
5. Setup step 4 user name and company name Enter your user name and company name then press Next gt Document No Revision Date Page SMT9650 User Guide 3 0 29 Dec 2006 32 of 36 SMT9650 InstallShield Wizard E Choose Destination Location Select folder where setup will install files Sundance Install SMT S650 to C SundanceD SP SMT S650 Cancel Figure 8 Setup step 5 selecting the installation directory The SMT9650 will usually be installed into the folder c SundanceDSP SMT9650 If you want to use a different folder select change and browse to the correct location Click Next gt when you have chosen the installation folder SMT9650 InstallShield Wizard E Ready to Install the Program The wizard ls ready to begin installation Sundance Click Install to begin the installation LF pou want to review or change any of your installation settings click Back Click Cancel to exit the wizard Back Install Cancel Document No Revision Date Page SMT9650 User Guide 3 0 29 Dec 2006 33 of 36 Figure 9 Setup step 6 checking installation setting Press lt Back if you want to change any settings before starting the installation process by clicking Install SMT9650 InstallShield Wizard E Setup Status Sundance 56119650 13 configurma your new software installation Installing CA Ansal hield UpdateSermicesmages background jpg COCO Tr Cancel Figure 1
6. forth in subparagraph c 1 11 of the Rights in Technical Data and Computer Software clause at DFARS 252 227 7013 Oct 1988 or if provided under a contract or subcontract with NASA or a civilian agency of the Government to the restrictions set forth is such contract or subcontract 9 Should you have any questions concerning this Agreement or if you desire to contact SDSP for any reason please contact SDSP Copyright C 1999 2006 Sundance Digital Signal Processing Inc Document No Revision Date Page SMT9650 User Guide 3 0 29 Dec 2006 29 of 36 13 INSTALLATION Before installing the SMT9650 O Make sure that all the required software components have been installed and configured properly O Close any instances of Matlab To install the SMT9650 run SMT9650 setup vX X exe from the installation CD where X_X denotes the SMT9650 version number For example use SMT9650 setup v4 0 exe to install SMT9650 version 4 0 Y ou should see the following window PARS InstallShield Wizard Password This setup has been password protected Enter the password required to run this setup Please note that passwords are case sensitive Click Next to continue Figure 4 Setup step 1 Password page Enter your password and press next Please contact your reseller if you have not been given a password Press Next gt to continue to the welcome page and then press Next gt again Document No Revision Date Page SMT9650 User Guid
7. fpga20 rfd This file is present in the demo3 folder but a copy needs to exist in the demo3_PARS folder Once this has been set PARS can create the following model Demo3_PARS File Edit Dae ee sao view Simulation Format Tools siloZanitch chang mux Help The application can be executed by double clicking demo3 demo3 vi gt Generate and Display Operate Tools Window Help ui Display 1 3400000 File Edit Ploto PM 3600000 _ Amplitude 3800000 4000000 4200000 l 5E 6 Poo PA R y 7000000 h M h hh itil i i si 29023 i A H 6900000 i 6800000 Amplitude 6700000 6600000 51 28879 Poto Pa Display 2 7733373 8000000 8200000 8400000 i 8585345 1 l 5126299 5129322 Plot 0 VE 4800000 hi N Ay N i 4600000 A i y h ith i Ni 4200000 1 51 28863 5129023 STOP Type application name Demo3_PARS app Revision 3 0 Document No SMT9650 User Guide Date Page 24 of 36 29 Dec 2006 9 ACRONYMS AND ABBREVIATIONS ADC Analog to Digital Converter DSP Digital Signal Processor FPGA Field Programmable Gate Array PARS Parallel Application from Rapid Simulation SDB Sundance Digital Bus TIM Texas Instruments Module USB Universal Serial Bus VI LabVIEW Virtual Instrument 10 KNOWN ISSUES Users should be aware of the following issues 1 Labview can get i
8. the term DSP application to mean an application suitable for a multiprocessor system comprising both DSP and FPGA components Document No Revision Date Page SMT9650 User Guide 3 0 29 Dec 2006 5 of 36 4 CONSTRAINTS Labview and Simulink have different models of computation and two constraints are necessary in order to allow them to cooperate 1 1 SIZE CONSTRAINT The size of arrays handled by Labview VIs is determined by the source of the data for the input instruments this will be Simulink from the DSPs and for the output instrument it will be Labview When running a system entirely within either the Simulink or Labview environments matching of data sizes 1s mostly done for you In the hybrid environment of the SMT9650 you must make sure that array sizes match the requirements of the data destination manually 1 2 ORDERING CONSTRAINT The code generated by Simulink imposes a strict ordering constraint on the application all input sources will be read before all output sinks are written This means that the loop in Labview communicating with the DSP system must ensure that all the SMT9650 output VIs are executed before all of the input VIs The simplest way to achieve this is to use a flat sequence and make sure that all your output VIs appear in one frame and all the input VIs appear in the next Document No Revision Date Page SMT9650 User Guide 3 0 29 Dec 2006 6 of 36 5 LABVIEW INTERFACE The Labview interface is presente
9. 0 Setup step 7 Installation in progress Do not turn your computer off until the Installshield Wizard Complete message has appeared SM19650 InstallShield Wizard InstallShield Wizard Complete The InstallShield Wizard has successfully installed SMT S650 Click Finish to esit the wizard Document No Revision Date Page SMT9650 User Guide 3 0 29 Dec 2006 34 of 36 Figure 11 Setup step 8 Installation completed window This window shows that the installation of SMT9650 has finished Document No Revision Date Page SMT9650 User Guide 3 0 29 Dec 2006 35 of 36 14 ACKNOWLEDGEMENT This work was accomplished under the US Navy contract N65236 06 P 2514 and Sundance would like to acknowledge this support Document No Revision Date Page SMT9650 User Guide 3 0 29 Dec 2006 36 of 36
10. For example put float vi sends arrays of 32 bit floating point values The size of array transmitted must match the expectation of the receiving DSP code Document No Revision Date Page SMT9650 User Guide 3 0 29 Dec 2006 7 of 36 6 DEMONSTRATION 1 This demonstration shows how a simple DSP application generated using PARS can be combined with a front end developed under Labview TIt can be found in the Demos Demo1 sub folder of the SMT9650 installation folder this will be c SundanceDSP SMT9650 Demos Demol1 by default The hardware needed for this demonstration is pictured below SMT 374 SMT 596 SMT 364 SMT 310Q There are two Sundance TIMs mounted on an SMT310Q carrier board an SMT374 dual C6713 DSP module root amp node and an SMT364 4 channel ADC module Data are carried between these modules over comports and SDBs The comport connections are built into the carrier and an SMT596 SHB connector is used to join the SDBs of the two modules The logical connections are shown in the following diagram Host PC A d gt comport connection E gt SDB connection y 3 root 14 P4 nde 1d P4 ADC 0 SMT374 SMT364 SMT310Q Document No Revision Date Page SMT9650 User Guide 3 0 29 Dec 2006 8 01 36 The on board comport connection between the STM374 and the SMT364 CP 1 to CP 4 1s enabled using the Sundance BoardInfo utility 2 Boa
11. LITY AND FITNESS FOR A PARTICULAR PURPOSE THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE SOFTWARE IS WITH YOU SHOULD THE SOFTWARE PROVE DEFECTIVE YOU NOT SDSP ASSUME THE ENTIRE COST OF ALL NECESSARY SERVICING REPAIR OR CORRECTION Document No Revision Date Page SMT9650 User Guide 3 0 29 Dec 2006 28 of 36 3 IN NO EVENT WILL SDSP BE LIABLE TO YOU FOR ANY DAMAGES INCLUDING ANY LOST PROFITS LOSS OF BUSINESS INFORMATION BUSINESS INTERRUPTION LOST SAVINGS OR OTHER INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE SUCH SOFTWARE EVEN IF SDSP HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES OR FOR ANY CLAIM BY ANY OTHER PARTY 6 YOU ACKNOWLEDGE THAT YOU HAVE READ THIS AGREEMENT UNDERSTAND IT AND AGREE TO BE BOUND BY ITS TERMS AND CONDITIONS YOU FURTHER AGREE THAT IT IS THE COMPLETE AND EXCLUSIVE STATEMENT OF THE AGREEMENT BETWEEN YOU AND SDSP WHICH SUPERSEDES ANY PROPOSAL OR PRIOR AGREEMENT ORAL OR WRITTEN AND ANY OTHER COMMUNICATIONS BETWEEN US RELATING TO THE SUBJECT MATTER OF THIS AGREEMENT 7 EXPORT CONTROL The re export of United States origin software and documentation is subject to the Export Administration Act of 1969 as amended Compliance with such regulations is your responsibility 8 U S GOVERNMENT RESTRICTED RIGHTS This computer software and documentation are provided with RESTRICTED RIGHTS Use duplication or disclosure by the Government 1s subject to restrictions as set
12. ND ABBREVIATIONS A A A A AS 25 ARALAR each beach 25 PE COPIEI R adc sick acne metre hed hadi aiding dasa cin desas A A 26 C Oe NE SA NA AA A A in 27 AAA IE ao A A ea gh doag tnaeea aa naeeaeas 30 14 AAN ii 36 Document No Revision Date Page SMT9650 User Guide 3 0 29 Dec 2006 4 of 36 1 INTRODUCTION The SMT9650 is a software package that allows Labview to be used with code executing on hardware made up from combinations of DSP and FPGA modules The code is generated from Simulink models using PARS a development tool that uses 3L Diamond to create multiprocessor applications 2 PREREQUISITES You need the following software to have been installed before you can use the SMT9650 O Labview version 8 0 or later O Matlab amp Simulink O PARS O 3L Diamond DSP amp 3L Diamond FPGA V3 1 4 or later This document assumes that you are familiar with these software components 3 OVERVIEW An application built with the SMT9650 comprises two parts a Labview front end running on a PC and a DSP application running in attached hardware The Labview front end uses custom Virtual Instruments VIs to load the DSP application and communicate with it The nature of the communication between the PC and the attached hardware 1s invisible to the user the various combinations permitted by Sundance hardware host comport or USB connection for example are managed by the underlying systems software To keep the text simple this document will use
13. at the gt gt prompt then use the resulting dialogue to select and then Accept your DSP hardware In this example it will be SMT374 6713 300 PARSOptions Hardware profile SMT374_6713_300 2 Give the command PARS at the gt gt prompt 3 Inthe PARS window click on gt gt and browse to the demonstration model demo1 mdl 4 Select the file click Open and then click the PARS command Open model The should open a demol PARS window 5 Click Generate in the PARS window This should start the build process which will continue with activity in several windows Eventually it should finish and report System generation successfully finished Click OK to dismiss the report 6 The file demo1_PARS app should have been created in a new sub folder demo1 PARS of the folder containing the original model 1 7 RUNNING THE DEMONSTRATION Start Labview and select File Open then browse to the folder containing the demonstration VI Demol vi Double click on Demol vi to open it This should bring up the following window gt Generate and Display Demo1 vi Front Panel File Edit View Project Operate Tools Window Help on 13pt Application Font x Display 1 2000000000 1000000000 3 3 D a 1000000000 2000000000 3000000000 7 D Display 2 1907388844 1000000000 0 Amplitude 1000000000 1999075116 D Application filename Document No Revision Date Page SMT9650 User Guide
14. ate Tools Window Help a n Display 2 Poo PM 13172935 13100000 Display 1 13000000 12900000 12800000 127141791 0 Type application name Document No Revision Date Page SMT9650 User Guide 3 0 29 Dec 2006 19 of 36 You can type in the name of the demonstration application file demo2 _PARS demo2 PARS app and then execute the VI by pressing the right arrow below View File names are be relative to the folder containing the VI When the application runs the following output will be displayed Generate and Display File Edit wiew Project Operate Tools Window Help Amplitude 1000000000 2000000000 1785031272 2E 6 1937820 1938893 Display 3 _ Plot 6 A Display 4 2010000000 2015000000 2020000000 Amplitude Amplitude Nm M 5 hm Nm N O DD O a ww 4 0 3 Ty N O MO ww n TD DO DD E O QA DD 0 O ss 58 1 I 1 1 1 i i 550000000 1938815 1938715 STOR A Type application name Idemo2_PARS demo2_PARS app The application is loaded into the DSP system and starts to run The four channels of integer data are read by four INT32 VIs Note that Simulink will generate these streams of data and expect them to be read in the strict sequence that is echoed by the placement of the VIs into sequential frames within the main loop The received data are then sent to be displayed Ares File Edit wiew Project Operate Tools Window Help tH P es bale 1t Applic
15. ation row Forli 5 OO 0O pe application name co E E E LOAD IMT 32 Document No Revision Date Page SMT9650 User Guide 3 0 29 Dec 2006 20 of 36 There is a variant of the demonstration that uses an SMT148 carrier THING pez Twi oca it Tite E Lestat alg EEEE JU ate ENJ s MEJ ds PEJ EJ f JE E 2 zq a aid A Hd ES ae fet B ars al a pa mss mom E ess oh Ci BiA cu SLUATETE gt aE Bi woo Bl 8 Sacer nee Sige Creer r i ES z ri w ita Jeze ES a EEG Gundaence MFH ar efensor Tec hr pr A a AAA Za EE Hardware profile Span deck Board 1 Confiauration USB age guratior USE Exit Accept The files for this demonstration can be found in demos demo2 SMT1 48 Document No Revision Date Page SMT9650 User Guide 3 0 29 Dec 2006 21 of 36 The configuration is similar to the SMT310Q configuration with the exception that the root processor 1s now the second DSP on the SMT374 and this communicates with the host using a USB connection This change in host communication is handled for you automatically E USB connection lt B gt comport connection Host PC lt p gt SDB connection A dsp 3a ol 0 4 1 V z qh A Ay 5 s ps da p
16. d as seven virtual instruments one to load the Sundance hardware three to get data from the DSP application and three to send data to the DSP application These instruments appear as User Libraries in the Labview Functions palette You can display this palette by going to the Block Diagram window and selecting View Functions Palette Functions Programming w User Libraries From OSPF Load DSP vi Instrument 10 Mathematics Signal Processing Data Communication Connectivity Express Favorites From DSP is a folder with the three input instruments and To DSP is a folder with the three output instruments LOAD DSP vi is the instrument used to send an application to the Sundance hardware Functions Functions searen f Sew SH UL Programming F Programming Y User Libraries Y User Libraries L From DSP L To DSP a ES rm r gt 1 IMT 32 DOUBLE FLOAT IMT 32 get double vi get Float vi getint vi put double vi put float vi put int wi Instrument Ho Instrument IO Mathematics Mathematics Signal Processing Signal Processing Data Communication Data Communication Connectivity Y Connectivity The get_ instruments receive data from the DSP application in the form of arrays of values of the selected type the size of array is determined by the DSP For example get_int vi returns an array of 32 bit integers The put _ instruments send arrays of the selected type to the DSP application
17. d using the Licensed Materials under this Agreement if you fail to comply with the terms of this Agreement In such event you must destroy all copies of the SOFTWARE and all of its component parts 2 INTELLECTUAL PROPERTY RIGHTS The Licensed Materials contain copyrighted material trade secrets and other proprietary information In order to protect the Licensed Materials and except as specifically permitted by statute you may not decompile reverse engineer disassemble or otherwise translate the object code versions of the software programs included in the Licensed Materials to human perceivable form If you are a corporation you agree you will use your best efforts to prevent your employees and contractors from decompiling reverse engineering disassembling modifying or translating the Licensed Materials In no event may you alter remove or destroy any copyright notice included in the Licensed Materials SDSP reserves all rights not specifically granted under this Agreement 3 APPLICABILITY This license only applies to the version of the SOFTWARE for which it was issued It does not automatically entitle the licensee to software advancements and functionality to be offered in future versions of the software The licensee can obtain future versions of the SOFTWARE by prior agreement with SDSP 4 LIMITATIONS SDSP MAKES NO WARRANTY OF ANY KIND EITHER EXPRESSED OR IMPLIED INCLUDING BUT NOT LIMITED TO THE IMPLIED WARRANTIES OF MERCHANTABI
18. e dsp3b i a dspad 0 lt dsp4a JS root ADC 3 pa v y A 2d gt 2d gt S 1 0 dsp3c 2 d A SMT361Q SMT374 SMT364 SMT148 The application can be executed by double clicking demo2 SMT148 demo2 vi Document No Revision Date Page SMT9650 User Guide 3 0 29 Dec 2006 22 of 36 8 DEMONSTRATION 3 This demonstration can be found in the Demos Demo3 sub folder of the SMT9650 installation folder this will be c SundanceDSP SMT9650 Demos Demo3 by default It takes four channels of 16 bit data from the SMT364 and passes them through an SMT398 which multiplexes them into a single output stream This stream is passed to an SMT374 which demultiplexes it and displays the resulting four streams The SMT148 hardware for this demonstration is shown in the picture below er E J ha n Ai taf F s Rh a t 4 a A T m i L ja et N as z a fari abar T ie al i a at Ma O a i mse a CE The Simulink model for this demonstration is as follows Seles File Edit wiew Simulation Format Tools Help siloZamitch chan mux Page 23 of 36 The SMT361Q is not used in this demonstration Revision Date Document No 3 0 29 Dec 2006 SMT9650 User Guide The hardware profile for this demonstration is l PARSOptions Hardware profile SPAWAR 4ch Board 2 Configuration USE Note that this profile will reconfigure the SMT398 with firmware from the file
19. e 3 0 29 Dec 2006 30 of 36 5MT19650 InstallShield Wizard Welcome to the InstallShield Wizard for SMT 9650 The InstallShield Wizard wall install SMT 9650 on pour computer To continue click Next Figure 5 Setup step 2 welcome page SMT9650 InstallShield Wizard E License Agreement Please read the following license agreement carefully Sundance END USER LICENSE AGREEMENT for SMT9650 This work was accomplished under the US Navy contract NbS 3b Ub P 2514 and Sundance would like to acknowledge this support accept the terms of the license agreement C donot accept the terme of the license agreement Back News Cancel Figure 6 Setup step 3 accepting the end user license agreement Please read the End User License Agreement EULA carefully You can find the text of this agreement in the previous section of this User Guide If you agree with the terms of the license select the accept option Document No Revision Date Page SMT9650 User Guide 3 0 29 Dec 2006 31 of 36 and press Next gt If you do not agree with the terms and conditions Cancel the installation and contact your reseller 5M19650 InstallShield Wizard x Customer Information Please enter your information Sundance Please enter pour name and the name of the company hor which you work User Mame Mansour Company Name E undaceD5A Back News Cancel Figure 7
20. e ADC These streams are passed to the simple tasks on each of the four SMT361Q processors to be multiplied by different factors Finally the results are sent to Labview to be displayed File Edit wiew Simulation Format Tools Help DS Hg o A ge TO ConfigaBid o DIFI silo amitch E DIFI silozawiteh 1 S gt E MUS siloZamiteh2 Scopez DIH Gains siloZawitehs Scopes Scope F 100 A lode45 For the SMT3100 variant PARSOptions should be set to SPAWAR 4ch Board 1 Configuration EXT COMPORT PARSOptions Barbera proa SPAWAR 4ch Board 1 Configuration EXT COMPORT The files for this demonstration can be found in demos demo2 SMT3100Q Document No Revision Date Page SMT9650 User Guide 3 0 29 Dec 2006 18 of 36 The Simulink model above is converted into the PARS model below with the silo2switch tasks placed on each processor of the SMT361Q along with their corresponding Gain tasks The configuration of the pre built tasks silo2switch and Config364 have been described for the previous demonstration 7 demo2 PARS File Edit View Simulation Format Tools Help A E MS E me iloZamitch3 ines i Subsystem4 lt Ready 100 The PC side of the application is the following Labview VI it can be loaded by double clicking the file Demo2 SMT3100 Demo2 vi in the demonstration folder gt Generate and Display Demo2 vi Front Panel File Edit View Project Oper
21. evious parameter O Use default values for ADC If selected any parameters entered for ADC registers are ignored and the default values will be used O ADC registers 0 to 4 values for ADC registers Please refer to the SMT364 User Guide for an explanation of these registers Document No Revision Date Page SMT9650 User Guide 3 0 29 Dec 2006 11 of 36 1 5 2 silo2switch This 1s a wrapper for a task with the same name from the SMT6045 It is a task that reads data from a physical channel and buffers them and allows a slow data sink to work with an SMT364 ADC u Source Block Parameters silo switch Subsystem mask Parameters Place task on Task memory size ata 200 urgent Input channel root SOB 0 Sample type untl E Sample per frame 5E Humber of frames 00 Figure 2 Parameter window for silo2switch task O Place task on specify which processor this task should be placed on O Task memory size the amount of memory that will be assigned to this task for stack and heap Since this task needs a lot of memory to buffer input data you need to make sure that enough memory 1s assigned to this task O Input channel Physical channel that connects to the ADC board O Sample type this depends on the ADC settings and could be 16 bit integer or 16 bit unsigned integer O Sample per frame the number of samples in one frame O Number of Frames the number of frames that the task allocates for buffering D
22. he root DSP Silo2switch gathers the ADC data and passes them to chan2mux which splits out two channels of data These two channels are then passed to the Host Task which uses Labview to display the data Document No Revision Date Page SMT9650 User Guide 3 0 29 Dec 2006 10 of 36 1 5 THE PRE BUILT TASKS The demonstration uses three PARS pre built PB tasks that have been developed to provide access to the SMT364 ADC config364 silo2switch and chan2mux 1 5 1 Config364 This PB task configures an SMT364 ADC board For more information about the SMT364 please refer to its user manual This PB task is a wrapper around the Config364 tasks shipped with the SMT6045 For more information about how the task works and its parameters please refer to the SMT6045 documentation This PB tasks takes the following parameters Block Parameters Config364 TU wu Tu 5 a gu a 3 cH ta T A oo m a E E 3 a 2 z uae E physical channel from SMT 364 root CP 0 physical channel to SMT 364 root CP 0 DC register 3 301007 00 DC register 4 400001 55 7 Figure 1 Parameters window for Config364 task O Place task on specify which processor this task should be placed on O Physical channel from SMT364 Define the physical channel connecting the SMT364 to the processing board O Physical channel to SMT364 Define the physical channel connecting the SMT364 to the processing board Normally this 1s the same as the pr
23. nto a strange state when an application fails or is stopped This appears in two forms a When attempting to re run an application or run a different application Labview terminates b When an application hangs or fails Labview starts to close but ends up in a minimal state that can only be cleared by using Task Manager to kill Labview 2 When launching a VI by means of an executable the VI starts to execute before the user can type an application name Cancelling the selection of the hardware results in a notification of failure to load the application The application name can now be given and the VI started manually 3 The pre built tasks must be allocated enough memory Failure to do so will result in the application hanging Details of the required memory can be found in doc txt in the smt6045 installation directory 4 The current release does not support logging 5 Host output port numbers are allocated sequentially from top to bottom of the Host task starting at 1 Host input port numbers are allocated in the same manner Document No Revision Date Page SMT9650 User Guide 3 0 29 Dec 2006 25 of 36 11 COPYRIGHT Matlab and Simulink are trademarks of The MathWorks LabVIEW 1s a trade mark of National Instruments Document No Revision Date Page SMT9650 User Guide 3 0 29 Dec 2006 26 of 36 12 LICENSE AGREEMENT END USER LICENSE AGREEMENT for SMT9650 Sundance Digital Signal Processing Inc Referred to hereafter as
24. ocument No Revision Date Page SMT9650 User Guide 3 0 29 Dec 2006 12 of 36 1 5 3 chan2mux This 1s a wrapper for a task with the same name from the SMT6045 This task multiplexes input data into several outputs Function Block Parameters chan mux Subsystem mask Parameters Place task on Task memory size ata 1 00k Input channel Sample type Sample per line 25 lines per frame number of output channels Figure 3 Parameter window for chan2mux task O Place task on specify the processor on which this task should be placed O Task memory size the amount of memory that will be assigned for this task s stack and heap Since this task allocates a lot of memory to buffer input data you need to make sure that enough memory 1s assigned O Input channel If a value is entered in this field PARS will use it as an input for task the Simulink model is changed and the input will disappear If no value is entered in this field then a virtual channel is assumed for input O Sample per line the number of samples in each line O Lines per frame the number of lines in each frame O Number of output channels the number of output channels into which the input will be divided Document No Revision Date Page SMT9650 User Guide 3 0 29 Dec 2006 13 of 36 1 6 BUILDING THE DEMONSTRATION You should start by reading the PARS documentation to understand the build process 1 Open Matlab and give the command PARSOptions
25. rd Info Sundance Multiprocessor Technology Lid Alla File View Mas Special Help Reset TIMs Comport Switch Sh 31 Confidence Test 300 Ver 405 Ok Reset Boards Comport switches Comport switching matris Additional settings TIMI TIM2 Host External Buffer NE E E va ead e wee ia 43 Y Host lt gt TIC3 44 Ea ar Note that connecting the host comport to T1C3 disables the connection between TICS and T2C0 i Restore switch settings automatically Cancel Click the square between TIM1 comport 1 and TIM2 comport 4 to make it display as e as in the picture above if necessary This enables the required comport connection Click OK and then OK again The demonstration can be tailored to run on different combinations of hardware modules and carrier boards by changing parameters in the model as described in the PARS documentation Document No Revision Date Page SMT9650 User Guide 3 0 29 Dec 2006 9 of 36 1 3 SIMULINK MODEL 7 demo File Edit View Simulation Format Tools Help CEN EM silozZamitch chan mux Read 100 1 4 PARS MODEL demo1_PARS File Edit wiew Simulation Format Tools Help DSHS ae a rios silloZanitch chanz2mux 100 lode45 The demonstration is an SMT364 ADC TIM communicating with an SMT374 TIM running three user tasks on two DSPs Config364 runs on the node DSP and starts the ADC running as a counter The remaining tasks run on t
26. s of the Licensed Materials you may only use one version of the Licensed Materials on a single host computer You may either make one copy of the Licensed Materials for archival purposes or copy the Licensed Materials to another medium and keep the original Licensed Materials for archival purposes Other than as expressly set forth in Section 1 b below you may not otherwise copy or reproduce the Document No Revision Date Page SMT9650 User Guide 3 0 29 Dec 2006 27 of 36 Licensed Materials In no event may you use two copies or versions of the Licensed Materials on more than one host computer at the same time b Copy modify and merge You may copy the SOFTWARE into any machine readable or printed form for backup purposes in support of your use of the SOFTWARE on the single user machine You may not modify the SOFTWARE You may merge it into another program for your use on the single user machine Any portion of this SOFTWARE merged into another program will continue to be subject to the terms and conditions of this Agreement You must reproduce and include the copyright notice s on any copy modification or portion merged into another program The license entitles the user to 20 runtime licenses To obtain additional runtime licenses please contact SDSP Cc Termination This license is effective until terminated Without prejudice to any other rights SDSP may terminate your right to use the Licensed Materials and any applications generate
27. sed to configure the SMT364 The data values are scaled by different constant amounts and then displayed There are two variants of this demonstration one using an SMT3100 carrier and one using an SMT148 The SMT310Q hardware for this demonstration 1s shown in the picture below There are three Sundance TIMs mounted on an SMT310Q carrier board a 4 processor SMT361Q an SMT374 dual C6713 DSP module and an SMT364 4 channel ADC module slot two is unused Data are carried between these modules over comports and SDBs The comport connections are either built into the modules or are realised using FMS cables on the back of the carrier An SMT596 SHB connector is used to join the SDBs using the SHB connectors on the SMT374 and the SMT3634 individual SHB cables can also be used The logical connections are shown in the following diagram Host PC lt q p gt comport connection A lt q gt SDB connection y root og v OA v la A Ar Ps oq gt dsp3b i J dsp3d od sata PA fa y x 24 P 24 Pi 3 1 0 dsp3c 2 lt q A SMT361Q SMT374 SMT364 SMT310Q Document No Revision Date Page SMT9650 User Guide 3 0 29 Dec 2006 17 of 36 The application in this demonstration configures the SMT364 to generate four streams of 16 bit data on the four SDB outputs of th

Download Pdf Manuals

image

Related Search

Related Contents

mComet for Android User Guide - Explore Actsoft  カタログ  Voice over IP Telefon Voice over IP telephone  Samsung RT62KAEW Kullanıcı Klavuzu  cdr500 - Opel-Team  Gibraltar Mailboxes LALM160B0 Instructions / Assembly  PPAlog-user-manual-v..  MP_40065_取扱説明書(PDF 126KB)  EIS-408 User`s Manual  GSW NO.70999 User's Manual  

Copyright © All rights reserved.
Failed to retrieve file