Home

DSP56002EVM Quick Start Guide

image

Contents

1. DATA HEX REGISTERS HEX IUNASSEMBLE COMMAND EVM gt MENU Figure 4 THE GUI The DATA window shown in the top left corner displays the data To display the contents of X data memory starting at location x 0 click in the COMMAND window and type display x 0 The radix in which the data is shown can be changed by clicking the box which is shown as containing the word HEX in the diagram above Data can also be displayed in a graphical form To do this type display x 0 graph To change back to text type display x 0 text The UNASSEMBLE window shows an unassembled version of the contents of program memory The next instruction to be executed will be highlighted As already shown the COMMAND window is where OnCE commands i e the controlling commands are entered The REGISTERS window shows the contents of the registers of the ALU Arithmetic Logic Unit and the AGU Address Generation Unit 4 4 VERIFYING AND DEBUGGING PROGRAMS To load the add2num program developed earlier click in the command window and type load add2num MOTOROLA Digital Signal Processing Division NOTE The previous contents of the memory which are not overwritten will remain unchanged The instruction at P 0 will be highlighted as this will be the first instruction to be executed However before we start to execute the program we should c
2. org 0 instructs the assembler that we jare referring to Y memory starting jat location 0 input1 de 1234 y inputl is defined as a 1234 indicates a hexadecimal value result ds 1 reserve a single word of space in 7y memory label it result KKK KKK KKK KKK KKK KKK KKK KKK KKK KKK KK r X MEMORY Ce KKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKK r org 0 instruct the assembler that we are now referring to X data memory starting at location 0 input2 dc 2345 x input2 is defined as 2345 Ce KKKKKKKKKKKKKKKKKKKKEKKKKKKKKKKKKKKKKKKKKKEKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKK r E o Digital Signal Processing Division PROGRAM 5 SRR ISAAK RIK AIR AER ROR BRAKES BRK KERR BEEK AER AERIS BARRED BERK BAEK IB AERA RAR RRB KEK DS org p 0 put following program in program memory starting at location 0 jmp begin 7p 0 is the reset vector i e where the DSP looks for instructions after a reset org p 40 start the main program at p 40 above the main interrupt vectors begin move y input1 yO load inputl into register y0 move x input2 a move input2 into accumulator a add 8 jadd inputl to input 2 move a y result store the result at location 7y result jmp this is equivalent to label jmp label
3. BON ROR a eS 6 START EQU 40 ORG P 0 jmp START ORG p 000c eC Digital Signal Processing Division SSI receive data 15 58551 ssi_rx_isr SSI receive data with exception jsr ssi_tx_isr SSI transmit data jsr ssi_tx_isr SSI transmit data with exception These interrupt service routines contained in the file tx_rx_isr asm See 56002 manual for information jon interrupts ORG P START movep 261009 x PLL these labels are defined in the movep 0 x BCR jada_init asm program ori 3 mr set bitO and bitl in the mode register i e mask interrupts movec 0 sp clear hardware stack pointer mov 0 omr mode O enabl int PRAM rst 0000 mov 40 r6 initialize stack pointer mov 1 m6 linear addressing these are used by the isrs include ada_init asm initialize the codec ONE_OUTPUT EQU HEADPHONE_EN LINEOUT_EN 4 LEFT_ATTN 4 RIGHT_ATTN ONE_INPUT EQU MIC_IN_SELECT 15 MONITOR_ATTIN loop_l jset 2 x SSISR wait for frame sync to pass Jerr 2 x SSISR wait for frame sync move xX RX_BUFF_BASI move xX RX_BUFF_BASI move left sample into acc a right sample into acc b 6 JSt process_stereo jump to the subrout
4. 8 is therefore a never ending empty loop Ce KKKKKKKKKKKKKKK JEND OF THE SIMPLE PROGRAM Ce KKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKK r NOTE For more information on interrupt vectors refer to DSP56000 Family Manual section 7 3 Exception Processing State Interrupt Processing Once you have typed in this file save it as add2num asm and quit the editor 4 2 ASSEMBLING THE PROGRAM To assemble the program you have written type asm56000 a b add2num asm Provided there are no errors this will create 2 additional files add2num cld add2num lst The cld file is the assembled version of the program and this is what will be downloaded onto the device The Ist file is the list file which gives full details of where program and data will be placed in the DSP memory errors are reported recheck the source asm file 4 3 INTRODUCTION THE GUI This section will give a brief introduction to the GUI detailing only that which is required to work through the example Full details of the GUI can be found in the Debug EVM manual eC O MOTOROLA Digital Signal Processing Division To start up the GUI type evm56K The display you will see should be similar to the figure below
5. THE BOARD FOR THE DEMO When you receive the board some jumpers should already have been fitted on J8 J10 and J12 Please ensure that these jumpers have been fitted as shown in the diagram above Use the RS 232 cable to connect the PC s serial port to the DB 9 connector labelled OnCE on the EVM This will enable the board to be controlled from the PC To run the demo you need a music source with a phones output which must be connected to the stereo input port labelled IN and a pair of headphones connected to the OSC MOTOROLA Digital Signal Processing Division port labelled HDPHNE Connect the power supply to the board using either the 2 1mm jack plug or the screw terminals When you switch on the power supply the green LED on the board should light 3 2 STARTING THE DEMO To start the demo first start the music source and put on the headphones Then simply type demo from the EVM directory Full details of how to work the demo and what it demonstrates will be displayed on screen After the instruction page the demo will start and the graphical user interface GUI will appear on the screen Details on the GUI will follow in Section 4 3 NOTE If a message appears to say that the GUI cannot communicate with the board try changing the position of the jumpers on J8 as shown in the diagram below J8 J8 Mo o OO o o OO Figure 2 ALTERNATIVE CONFIGURAT
6. one instruction cycle endloop jmp x ekxkxkxkxkxkxkxkxkxkxk xkxkxkxkxkxkxk xkxkxkxkxkxkxkxkxkxkxkxkxkxkxkxkxkxkxkxkxkxkxkxkxkkxkxkkxkxkxkkxkxkxkxkxkxkxkxkxkkxkxkxkkxkxkkkxkkxk kxx 4 NOTE The jmp instruction is NOT inside the loop NOTE There is a bug in this program 5 2 EXTERNAL MEMORY CONFIGURATION There is an option to configure the external memory of the board in two different ways Full details of the corresponding memory maps are in the READ ME file The external memory map is controlled by the position of the jumper on J12 J12 INTERNAL 1FF EXTERNAL FF Xx Y Figure 5 UNIFIED MEMORY MAP E O AA MOTOROLA Digital Signal Processing Division J12 3FFF INTERNAL 1FF EXTERNAL FF P XxX Y Figure 6 PARTITIONED MEMORY MAP NOTE For more details on memory maps see Section 3 2 in the DSP56002 User s Manual With the memory configured as shown in Figure 5 external memory is regarded as one large block There is no separation between X Y or P In this configuration X 1000 Y 1000 and P 1000 are treated as the same memory cell In the second configuration the memory is divided into two areas Half of the external memory is mapped to Y and the remainder is unified between P and X memory In this example we want to make use of external Y memory and external P memory therefore
7. 5 is a sophisticated device and is therefore relatively complex to configure An attempt has been made to isolate the user of the EVM from this complexity by including the files ada_init asm and txrx_isr asm with the software The file ada_init can be used to initialize the codec It has been set up such that the parameters can be changed by the user easily by changing one of a few control words The code will currently be in the format necessary for the demo with the 60 Hz filter It will remain the same for this demonstration NOTE When including this file in your program you MUST ensure that there is no con flict in memory e g The ada_init asm program uses locations x 0 9 the users pro gram should therefore not use these locations 6 3 VERIFYING THE INPUT AND OUTPUT OF DATA The best and easiest way to verify that the codec is being configured correctly and that the data is being received and transmitted by the DSP correctly is to simply pass the data straight through without any processing at all The following program which you will find as QS6_3 asm will do this p F K E AE E e AE I RII II I III II I III III II I II I II I E k I II A k E A kk VERIFYING THE OPERATION OF THE CODEC AND THE SSI THIS PROGRAM WILL CONFIGURE THE CODEC ACCORDING TO THE PARAMETERS IN THE 7 ADA_INIT ASM FILE AND RECEIVE AND THEN TRANSMIT AUDIO DATA WITHOUT AFFECTING IT Paa RRR RK RARER AAA RRR NTR A ES eaa eA RoR ROR 2
8. ED EXAMPLE 1 The following section contains a worked example detailing how to develop a very simple program for the DSP It will demonstrate the form of assembly programs give instructions on how to assemble programs and show how the GUI can be used to verify the operation of and if necessary to debug the program 4 1 WRITING THE PROGRAM The program can be edited using one of a large number of standard editors e g MS DOS edit Turbo C editor EMACS etc It is also possible to use a word processor if it has a save as text option The following program will perform the very simple task of adding two numbers together NOTE It is important to remember that the 56000 family of processors use fractional arithmetic Please read DSP56000 Family Manual Section 3 3 Data Representa tion and rounding if you are unfamiliar with the DSP56000 family NOTE A semi colon comments to the end of the line Labels must be left justified FRE OR EER TORE AIO ERK K KERSA KOR 5 RRR TORR BURR IOR AIR 5 BORER ER RAE ROR A KER RRR ERR 7A SIMPLE PROGRAM RA TORE AIR RRS 2 2 KAE I KE RoR AIA RG AIK KER KORA NEAR AS BR THIS SIMPLE PROGRAM WILL ADD TWO NUMBERS fp REAR RR RRB OR AREER De ROR I RIK ROR IR KEREKERE BERR TORR RAR RSA EK RIAA KER AIR IS OR AER AACR A E KR ERR MEMORY BARRIS RAR AER RES ORD RUBIES EEA ASR RAD R
9. FILTER ASM The actual implementation is such that the audio is passed straight through for about the first ten seconds then is filtered for ten seconds then straight through then filtered and cycles like this until execution of the program is halted 0 5 ATR 0 5 2 RD RCRA POR QSFILTER LOW PASS FILTERING DEMO FOR DSP56002EVM WILL PASS AUDIO STRAIGHT THROUGH FOR APPROXIMATELY TEN SECONDS THEN FILTER 7FOR TEN SECONDS THEN STRAIGHT THROUGH ETC ETC ETC 2 3 lt E EREE RD 5 EE RAIS TLD Di Pn Re RSAC 5 5 START EQU 40 ORG 0 coefd de 0 00370753 7b10 dc 0 5 scaling factor de 0 00741518 1 dc 0 83384359 jari dc 0 00370753 2 de 8 2 dc 0 00485158 7b20 dc 0 5 scaling factor dc 0 00970316 1 de 0486615109 1 de 0 00485158 2 de 70738555753 2 ORG 0 rtdelay bsc 4 S0 define 4 locations for rtdelay initialize as 0 ltdelay bsc 4 S0 define 4 locations for ltdelay initialize as 0 tempstore ds 1 define a single location for the temporary storage ORG P 0 jmp START ORG p 000c jsr ssi_rx_isr SSI receive data ssi_rx_isr SSI receive data with exception jsr ssi_tx_isr SSI transmit data jsr ssi_tx_isr SSI transmit data with exception These interrupt service routines contained in the file tx_rx_isr asm See 56002 manua
10. ION OF J8 A number of commands will then be executed You will notice that the red LED is lit during the execution of these commands This indicates that the DSP is in DEBUG mode The demo can then be controlled using the methods described in the instruction page i e To hear the input signal with the added 60 Hz tone briefly connect J17 pin 1 to ground To hear the result of the filter with the 24 bit coefficients briefly connect J17 pin 3 to ground To hear the result of the filter with the same coefficients but rounded to 16 bits briefly connect J17 pin 2 to ground It is suggested that you touch the relevant pin on J17 to pin 16 bottom right hand corner of J7 MOTOROLA Digital Signal Processing Division J17 J7 1 RQA 2 IRQB 3 NMI HOD 0 0 0 0 9 16 GND Figure 3 DETAILS OF PINS REQUIRED TO RUN DEMO The reason that the contrast between the two filters is so vast is due to the fact that with 16 bit coefficients it is impossible to place the notch of the filter exactly on 60 Hz It is slightly offset and will therefore miss the noise With the 24 bit coefficients it is possible to place the filter on exactly 60 Hz 3 3 STOPPING THE DEMO To stop the execution of the demo type force r in the COMMAND window in the bottom left corner of the screen To exit the GUI type quit AA MOTOROLA Digital Signal Processing Division 4 A SIMPLE PROGRAM WORK
11. MOTOROLA Digital Signal Processing Division DSP56002EVM Quick Start Guide Digital Signal Processing Division This document has been designed for users who have little or no experience with DSP development tools It provides a step by step guide to the installation and execution of the supplied demo s It also contains a number of worked examples showing how to write assemble and debug some simple programs using the hardware and software provided For full understanding of the DSP56002 and of the DSP56002EVM this document should be read in conjunction with the manuals provided MOTOROLA Digital Signal Processing Division 1 EQUIPMENT The following section will give a brief summary of the equipment required to use the EVM some of which will be supplied with the EVM and some of which will have to be supplied by the user 1 1 WHAT YOU GET WITH THE EVM e EVM board e 3 5 disk titled Debug EVM e Debug EVM Manual e DSP56002 User s Manual e DSP56000 Family Manual e DSP56002 Data Sheet e 054215 Data Sheet e EVM Schematics e Quick Start document The main board documentation is in the form of a READ ME file on the EVM Software disk 1 2 WHAT YOU NEED TO SUPPLY e A PC 386 class or higher with 2Mbytes of memory a 3 5 floppy disk drive anda serial port capable of 19 200 baud e An RS 232 cable DB 9 male to DB 9 female e A power supply between 7 V and 9 V 700 mA a c or d c e In orde
12. heck that the values we expect to be in data memory are there To do this type display y input1 NOTE The data you have asked to be displayed and then will be the first value in the data window If it looks display x input2 incorrect check the radix To step through the program type step at the command prompt SHORTCUTS Instead of typing in the entire command type the start of the command and by pressing the space bar the GUI will complete the remainder To repeat the last command simply press return As you step through the code you will see the instructions having an effect on the registers shown in the REGISTERS window Once you have stepped through the program ensure that the program has executed correctly by checking that y result contains the value 3579 Stepping through the program like this is good for short programs but is impractical for large complex programs The way to debug large programs is to set breakpoints These are user defined points at which execution of the code will stop allowing the user to step through the section of interest To set a breakpoint in the add2num to check the result in accumulator a before it is moved into Y memory the command is break p 43 You will see the breakpoint indicated in the unassemble window To point the DSP back to the start point of the program type change pc 0 This changes the program counter such that it is pointing to the reset vector To start the program run
13. ine which will process the samples move a X TX_BUFF_BASE move a into position from which 16 can be transmitted move b x TX_BUFF_BASE 1 move b into the position from which it can be transmitted mov ONE_OUTPUT y0 set up control words move yO x TX_BUFF_BASE 2 mov ONE_INPUT y0 move yO x TX_BUFF_BASE 3 jmp loop_1 process_stereo E O AA MOTOROLA Digital Signal Processing Division nop nop nop rts lementation of digital filters can be found in most DSP textbooks The filter described below will be implemented in the QSFILTER ASM Filter order M 2 No of sections N 2 Transpose Direct Form cascade of 2nd order sections N bio biz bioz 1 ayz 2 2 1 1 gt gt 5 b 10 z T 11 1 ay Z lt gt b a12 N lt I a21 gt a22 Figure 7 EXAMPLE OF A DIGITAL FILTER y n For a low pass filter with a cut off of 1 kHz the coefficients by the filter design package are 10 b2 b21 a21 a 2 a2 meg oc 0 2 6 5 6 5 00371753 00741518 83384359 00370753 34867418 00485158 00970316 86615109 00485158 138999193 18 AA MOTOROLA Digital Signal Processing Division 6 4 IMPLEMENTING THE FILTER IN THE DSP The code which implements the filter is QS
14. l for information jon interrupts E O Digital Signal Processing Division ORG P START movep 9 2 these labels are defined in the movep 0 x BCR j ada_init asm program ori 3 mr set bitO and bitl in the mode register i e mask interrupts movec 0 sp clear hardware stack pointer mov 0 omr mode O enabl int PRAM rst 0000 mov 40 r6 initialize stack pointer mov 1 m6 linear addressing these are used by the isrs include ada_init asm 16181126 1 the codec TONE_OUTPUT EQU HEADPHONE _EN LINEOUT_EN 4 LEFT_ATTN 4 RIGHT_ATTN TONE_INPUT EQU MIC_IN_SELECT 15 MONITOR_ATTN toopi do 60 wait do for approximately 10 seconds do SFFF wait_inner jset 2 xX SSISR wait for frame sync to pass Jerr 2 xX SSISR wait for frame sync move x RX_BUFF_BASE a move left sample into acc a move x RX_BUFF_BASE 1 b move right sample into acc b move a x TX_BUFF_BASE move a into position from which jit can be transmitted move b X TX_BUFF_BASE 1 move b into the position from which it can be transmitted move TONE_OUTPUT y0 set up control words move yO x TX_BUFF_BASE 2 move TONE_INPUT yO move yO x TX_BUFF_BASE 3 wait nop wait_inner do 60 wait2 do for approximately 10 seconds do SFFF wait2_inner jset 2 xX SSISR wait for frame sync to pass jclr 2 xX SSISR wai
15. ning the command is go The DSP will stop when it reaches the breakpoint you will then be able to step through the remainder of the code 4 5 EXITING THE GUI To exit from the GUI type quit at the command prompt OSC AA MOTOROLA Digital Signal Processing Division 5 ANOTHER SIMPLE EXAMPLE WORKED EXAMPLE 2 The following section will give details of another worked example This one is slightly more complicated than the previous one and will demonstrate the use of the addressing modes and how to configure the external memory 5 1 WRITING THE PROGRAM This file will take two lists of data one in internal X memory one in external Y memory and calculate the sum of the products of the two lists Calculating the sum of products is the basis for many DSP functions therefore the DSP has a special instruction the mac instruction which multiples two values and adds the result to the contents of an accumu lator NOTE You do not need to type this program it is provided as QS_EX2 ASM Ce KKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKK KKK r WORK ED EXAMP LI E 2 ekxkxkxkxkxkxkxkxkxkxkxkxkxkxkxkxkxkxkxkxkxkxkxkxkxkxkxkxkxkxkxkxkxkxkxkxkxkxkxkxkxkxkxkxkxkxkxkxkxkxkxkxkkxkxkxkkxkxkkxkxkxkkxkxkkxkxkkkxx kxx k 200 PBASE XBASE YBASE BCR listl list2 begin E EQU
16. or circuit and specifically disclaims any and all liability including without limitation consequential or incidental damages Typical parameters which may be provided in Motorola data sheets and or specifications can and do vary in different applications and actual performance may vary over time All operating parameters including Typicals must be validated for each customer application by customer s technical experts Motorola does not convey any license under its patent rights nor the rights of others Motorola products are not designed intended or authorized for use as components in systems intended for surgical implant into the body or other applications intended to support life or for any other application in which the failure of the Motorola product could create a situation where personal injury or death may occur Should Buyer purchase or use Motorola products for any such unintended or unauthorized application Buyer shall indemnify and hold Motorola and its officers employees subsidiaries affiliates and distributors harmless against all claims costs damages and expenses and reasonable attorney fees arising out of directly or indirectly any claim of personal injury or death associated with such unintended or unauthorized use even if such claim alleges that Motorola was negligent regarding the design or manufacture of the part Motorola and A are registered trademarks of Motorola Inc Motorola Inc is an Equal Opportunit
17. org dc dc org org jmp org elr move move movep 0 200 SFFFE x gt XBASE instruct the assembler to replace every occurrence of PBASE with 200 used to define the position of the data in X memory used to define the position of the data in Y memory address in X memory of the bus control register internal x memory 475638 738301 92673A 898978 091271 SF25067 987153 3A8761 987237 34B852 734623 233763 F76756 423423 324732 SF40029 y SYBASE 7external y memory S F98734 800000 SFEDCBA 487327 957572 5369856 247978 8a3407 734546 344787 938482 304F82 123456 657784 567123 675634 P 0 begin P a PBASE tisti ro list2 r4 0 X BCR Ss reset vector external program memory clear accumulator a pointer to the start of listl pointer to the start of list2 want zero wait state accesses to the external memory movep move to peripheral allows to move immediate data into 8 Digital Signal Processing Division memory location move 0 20 y r4 y0 load value in X memory pointed to by the contents of r0 into x0 and post increment 0 load value in Y memory pointed to by r4 into yO and post increment r4 do 15 endloop mac x0 y0 a x r4 x0 y r0 y0 parallelism allows arithmetic j instruction TWO data loads jand two register post increments to be done in
18. p op 7x1 0 5 yO delay z 1 mpy yO xl a a yl x r4 x1 a z 1 2 x1l all mac 1 8 0 x r4 x1 21 ja z 1 2 bil ip xl 1 AA MOTOROLA Digital Signal Processing Division stage macr yl xl a x r mpy x1 x0 a x r macr yl xl a fs yl a x r4 and rts include end SF3 mr 4 4 0 txrx_isr asm 22 1 ja z 1 2 bil ip ail op x1l 2 x1 a y r0 a bil ip xl ai2 save previous 8 a bil ip ai2 op a y x0 Digital Signal Processing Division 7 CONCLUSION You have now come to the end of the quick start document and hopefully it has given you a good basic understanding of the EVM For further information please refer to the manuals provided OnCE is a trademark of Motorola Inc All product and brand names appearing herein are trademarks or registered trademarks of their respective holders Motorola and b are registered trademarks of Motorola Inc Motorola Inc is an Equal Opportunity Affirmative Action Employer MOTOROLA INC 1995 OnCE and Mfax are trademarks of Motorola Inc s3 Motorola Inc 1995 Motorola reserves the right to make changes without further notice to any products herein Motorola makes no warranty representation or guarantee regarding the suitability of its products for any particular purpose nor does Motorola assume any liability arising out of the application or use of any product
19. r to use the demo an audio source headphones and cables with 1 8 stereo plugs to connect into the audio part of the board 2 INSTALLATION PROCEDURE Insert the Debug EVM disk into the floppy disk drive ensure that you are have selected the correct drive and type install You will be asked to specify the source drive which will be your floppy disk drive and to specify the destination drive which should be your hard drive A directory will then be created on the hard drive called EVM This directory will contain all the files you require to use the DSP56002EVM The EVM software is now installed AA MOTOROLA Digital Signal Processing Division 3 RUNNING THE DEMO The EVM software includes a demonstration program This demonstration is designed to show the advantage of 24 bit DSPs over 16 bit DSPs The following section gives step by step instructions on how to run this demo AN MOTOROLA J2 886589099999999 Space for EEPROM ea __ HEADPHONES HDPHNE ut EAN 0 LINE ERVEL lt j OUT gt 32K x 8 FSRAM J17 J12 0 6 J13 MOTOROLA 8 DSP56002 2 1mm Power Supply Inputs Screw 7 9v a c or d c Terminals 88 O000 0000 c_ 0 4 oa To Be Connected to the Serial Port of the PC Figure 1 MAIN FEATURES OF THE EVM 3 1 CONNECTING
20. t for frame sync move x RX_BUFF_BASE a move left sample into acc a move x RX_BUFF_BASE 1 move right sample into acc b jsr process_stereo jump to the subroutine which will E O AA MOTOROLA Digital Signal Processing Division process the samples move a X TX_BUFF_BASE move a into position from which jit can be transmitted move b X TX_BUFF_BASE 1 move b into the position from which it can be transmitted mov ONE_OUTPUT y0 set up control words move yO x TX_BUFF_BASE 2 mov ONE_INPUT y0 move yO x TX_BUFF_BASE 3 wait2 nop wait2_inner jmp loop_1 process_stereo mov ltdelay r0 set up pointer to left delay storage jsxr filter filter the left sample move a y tempstorage filtered value in a store it move b a move the right sample into acc a mov rtdelay r0 set up pointer to right delay storage jsr filter filter the right sample move a b move filtered right sample into b move y tempstorage a move filtered left sample into a rts filter mov LINEAR m0 set up addressing mode move mO m4 set up the addressing mode ori 08 mr enable the scaling mode do 2 stage asr a lt coefs r4 set up pointer to the coefficients shift the sample right move a x0 y r0 t a x0 ip a delayed z 2 asr a x r4 x1 8 2 2 2 1 0 macr x1l x0 a 1 24 y r0 y0 ja z 2 2 bi0 i
21. we require the partitioned memory map Place the jumper on J12 accordingly 5 3 DEBUGGING THE PROGRAM Assemble and run the program as before i e asm56000 a b I QS_EX2 asm evm56k then put a breakpoint in the code at the jmp instruction and type go at the COMMAND prompt If the program was working correctly the result in accumulator a would be 5 FE 982051 2 However there is a bug in the program which you may have already spotted Debug the program NOTE If you can t find the bug see the solution at the bottom of the next page Oe 3 AA MOTOROLA Digital Signal Processing Division AIOWOU ISI OY 0 JUIOd 0 pasn 0 Plnoys ps AIOWIOU YX UT ST YOY JST 9Y 0 JUTOd 0 pasn 90 prnoys QI doo op ay posn pI pue QI 81915199 NOLLATOS E O MOTOROLA Digital Signal Processing Division 6 FILTERING AUDIO WORKED EXAMPLE 3 The following section contains a more complex worked example This will show how to develop an application using the on board codec and the codec configuration file supplied with the EVM software 6 1 APPLICATION REQUIREMENTS The end product of this worked example will be an assembly program which will take an audio signal through the codec subject it to a simple low pass filter and output the result back through the codec Each step of the development will be documented 6 2 CONFIGURING THE CODEC The CS421
22. y Affirmative Action Employer How to reach us USA Europe Locations Not Listed Asia Pacific Japan Motorola Literature Distribution Motorola Semiconductors H K Ltd Nippon Motorola Ltd P O Box 5405 8B Tai Ping Industrial Park Tatsumi SPD JLDC Denver Colorado 80217 51 Ting Kok Road 6F Seibu Butsuryu Center 303 675 2140 Tai Po N T Hong Kong 3 14 2 Tatsumi Koto Ku 1 800 441 2447 852 26629298 Tokyo 135 Japan 81 3 3521 8315 Technical Resource Center Mfax 1 800 521 6274 RMFAX0 email sps mot com Internet TOUCHTONE 602 244 6609 DSP Helpline http Awww motorola dsp com US amp Canada ONLY 800 774 1848 dsphelp dsp sps mot com AA MOTOROLA

Download Pdf Manuals

image

Related Search

Related Contents

DECT Telefon/ inside  対話型電子白板を利用した教育ソフトウェアの有効 - NPO koganei-net  Modelo #: SR42UB  Kri-Kra-Krabbelfeest Carreras de bichitos  9 - Service Box  Wolf C72SS Specifications  GameOver - Mac System    FICHA TÉCNICA DE PIZZA MARGARITA TG  D9200 TROUBLESHOOTING  

Copyright © All rights reserved.
Failed to retrieve file