Home
Software User Manual for BF532 Audio
Contents
1. Join the Technical Community Today http www pantechsolutions net e Read the displayed text and scroll down to the bottom of the page Select the Don t Add an LDF and start up code option When this project is created start up code that initializes and configures the processor will be added to the project as will a Linker Description File that defines the target memory map and the placement of program sections within processor memory The options available to configure the start up code and LDF are beyond the scope of this tutorial Make sure the Don t Add an LDF and start up code option is selected and click Finish The new project is created and is shown in the Project window of the IDDE OsHGS s9 sRelacl macuea D O00 a t BDSG CELE 45 4 PM BPP 00 66 Sw amp CQ PO FO FO FO PO PONO OR ERERE REHERHEHROOOOOOcOcGO er aum bum b d LL LL L4 L4 t4 LLJLSLLLULLJLLELULEJL LL LL d d d d d ad TO A A A A A A A A A A A A A A A A E a a a OOOOOOOOOOOOOOOOOOOOOOOQO a Mas Mar Mas Mar Man Bar Mar Kar Bar Mas Mar Mas Kar Mar Kar Mar Mas Kar Bas Kar Bar Kar Bar N e 1 JE n a un 3 L E ril ix x BScrip ORCE e Click finish to complete the wizard Join the Technical Community Today http www pantechsolutions net gt Analog Devices VisualDSP Target ADSP BF532 ADSP BF5xx Single Processor Simulator 2 Project aaaa File Edit Session View Pr
2. Bee s 2 29 4M 6 Select ADSP BF532 Single processor simulator Click finish to complete the wizard Join the Technical Community Today http www pantechsolutions net gt Analog Devices VisualDSP Target ADSP BF533 ADSP BF5xx Single Processor Simulator File Edit Session View Project Register Memory Debug Settings Tools Window Help DaGHg e ssu3ls amp mioolsacgams nnnm we imm es J Pex ubiemBXE rz amp G ep Di E de En E m TP P0 ec Ez 881 amp 1 Session Wizard 21x a a x A gt Sr Wizard Completed FFA 00002 7 gt FFA00000 NOP i Finish FFA00004 j oe hy Select Processor FFA00006 NOP li Select Connection Type Wizard Completed Lie pedi IN A Select Platform eee E Finish FFA0000C NOP c The Session Wizard now has enough information to create your new FFA0000E NOP session FFA 00010 NOP 5 ET FFA00012 NOP lla sid dg FFA00014 NOP Processor ADSP BF532 FFA00016 NOP Connection type Simulator z Platform 4DSP BF5xx Single Processor Simulator ee NOF gl j tid FFA0001A NOP Target name ADSP BF5xx Blackfin Family Simulators FFAQOO1C NOP Session name ADSP BF532 4DSP BF5xx Single Processor Simulal 7 FFA0001E NOP gt FFA00020 NOP FFA 00022 NOP Please review your choices and click Finish to create the new FFA 00024 NOP session If you would like to change any
3. Zannect Disconnect Kilobytes Step4 Pragram Program E wit Bytes Check Sum Help About uz Help IL ee L o T REZR Do N successtully uccessfully successfully successfully uccessfully EI Blackfin532 External Flash Programmer Pantech Solutions Pt Ltd Status Window Hexadecimal File Step3 Load the File Browse D newblackfin bnard Prajects On Ble Memory Occupied a PANTECH SOLUTIONS Technology Beyond The Dreams Step Cam Port Settings Part Mame com Baudrate fi 15200 r Stop bits fi Data bits fe Eonnect Disconnect Kilobytes Step4 Frogram Program Exit Bytes Check Sum Help About uz Help 15 successtully Send Last Bytes 16 Data is sent successfully Data Value is Program is completed successfully X 17 0 Join the Technical Community Today http www pantechsolutions net After programming kit should be connected in general mode and reset the kit again About Us This box provide the information about product description Version Copy right and company name 1 d S Blackfin532 External Flash Programmer Pantech Solutions PvE Ltd u X Stepl Com Port Settings Step3 Load the File Status Window Hexadecimal File Port Marne ow rj Browse Baudrate i15200 wl blacktins32 eee BlackFin532 X Stop bits f Product Name Blackfin
4. ex S aaaa Debug Day a x 3 Tm ni OBS eer 0 6s E GJ amp Project aaaa dpi BE A Project Group 1 project za ER El ley aaaa EX INTERRUPT HANDLER FlagA ISR E FFA08000 Nor I4 E a Source Files t FFA 08002 NOP B aaaac unsiaued dong i FFA08004 NOP m Linker Files 4 4 confirm interrupt handling FFA08006 NOP pFIO FLAG S 0x0002 FFA08008 NOP for i 0 i xffffff ic I pFIO FLAG C O 0002 T FADBHDC Nop i pFIO FLAG C 0x0008 A Ap FFA08012 NOP FFA08014 NOP FFA08016 NOP FFA08018 NOP gu void Init Interrupts void naL ub 4 assign core ID interrupts FFA0801E NOP pSIC IARO FFA08020 NOP pSIC IAR1 i FFA08022 NOP pSIC IAR2 4 TimerO ID4 FFA08024 NOP 4 assign ISRs to interrupt vectors eiie peter NE register handler ik ivgl1l Timer ISR 4 TimerO ISR gt register handler ik ivgi12 Flag ISR 44 Flag ISR FFA0802A NOP FFA0802C NOP gt FFA0802E NOP FFA08030 NOP x Output Window gt gt KI a gt i Cl Console Rebuilds the entire project Astart erue WH document Microsoft word ganaton Devices Visual Press F5 to run the project Halted line 46 Col4 VBScript NUM CBO aA 238 am gt Analog Devices isualDSP Target ADSP BF532 ADSP BF5xx Single Processor Simulator 2 Project aaaa aaaal 81 xl Fil
5. Fy Elimination EE Processor C fig Load Output file i x C Documents and Settings Administrator D esktop D ebug aaaa A i compression ids Kernel Additional options Pom os EE L Project Loading C Documents Load complete Breakpoint Hit at lx Ix v I E a gt gt 4 4 Tei console Ready Halted Line 55 Col 1 VBScript NuM if start eru l i9 document Microsoft Word BJanatog Devices Visual 4 muB 24 2 gt Analog Devices VisualDSP Target ADSP BF532 ADSP BF5xx Single Processor Simulator 2 Project aaaa aaaa i 81 xl Bl File Edit Session View Project Register Memory Debug Settings Tools Window Help I8 xj Osha amp suxB cd setaa OOOO wA amaga E Ls X c Pia Ge BB 3j kl OS 2222 gt Debus i D Da EIRA 9 de B5 EY He ne Awa Project aaaa dpj x a Project Group 1 project Unmask the PF3 in Interrupt A pFIO INEN 0x08 s HCl aaaa pFIO MASKA D 0x08 pFIO EDGE 0x08 m T ar pFIO BOTH 0x08 FFA08000 NORE FFA08002 NOP FFA08004 NOP FFA08006 NOP FFA08008 NOP FFA0800 NOP FFA0800C NOP FFA0800E NOP FFA08010 NOP FFA08012 NOP FFA08014 NOP FFA08016 NOP FFA08018 NOP FFA0801 NOP FFA0801C NOP FFA0801E NOP FFA08020 NOP FFA08022 NOP FFA08024 NOP FF
6. H Gonnect Disconnect EE ES Kilobytes G Wait Erase process take some time Press OK to Continue Bytes Check Sum Step z Erase Erase will be displayed in output window ESI Blackfin532 External Flash Programmer Pantech Solutions Pvt Ltd X Step3 Lnad the File e Memon Occupied PANTECH SOLUTIONS Technology Beyond The Dreams Step Com Port Settings Status Window Hexadecimal File Baudrate 120 v Stop bits ooo H Data bits ge H Eonnect Disconnect Step 2 Erase Port Mame Kilobytes Step4 Program Program Exit Bytes Check 5um Erase Output Window DSP Kit Erase successtully Join the Technical Community Today http www pantechsolutions net Step 3 Selecting the Hex File Select the file by using browse button The progress bar will show you the memory occupied and the file contents file size and checksum will be displayed in status window il S Blackfin532 External Flash Programmer Pantech Solutions Pvt Ltd l x l Status Window Hexadecimal File Step3 Load the File D newblackfin boards Projects On Ble Memor Occupied i PANTECH SOLUTIONS Technology Beyond The Dreams Step Cam Port Settings Port Hame ow Baudrate 1200 l Stop bits H Data bits ge rz Zanmect Disconnect Step 2 Erase Kilobytes Step4 Pragram Progr
7. If you are running VisualDSP for the first time you will not be connected to a debug target In VisualDSP 4 5 it is possible to edit and build your code without being connection to a debug target through a debug session When you are ready to run and debug your program you can quickly connect to a target and disconnect when you are finished Doing so eliminates the overhead associated with the target connection resulting in a smoother and more responsive experience Join the Technical Community Today http www pantechsolutions net My Documents dau itr TSIPERroUg computer blackFincollect Windows Catalog Windows Update WinZip Set Program Access and Defaults w gt N iual tomy bre a n Accessories 3 Mi ft Offi Butterworth a aries x sic movi Tj Norton Antivirus qj Realtek Sound Manager m Startup ig winzip Detection osi ES Adobe Reader 8 amp Internet Explorer Hu w MSN a pedistrian i Outlook Express s gt Remote Assistance har 22 4 gt VisualDSP Enviro windows Media Player Ead Adobe Reader 8 4A windows Messenger W Text P Notepad A windows Movie Maker ES Microsoft Office Wor Ei Object 4 Internet Internet Explorer c E mail Microsoft Office Outl n Document NW wordweb Im C Media 3D Audio ig winrar 4 Blackfin FlashProgrammer ig MATLAB if VeryPDF PDF2Word v3 0 E Blackfin FlashProgra as VisualDSP Config 7 fai An
8. more options will be displayed FFA08002 NOP FFA08004 NOP ri Project amp Add Startup Code LDF FFA08006 NOP lia General 41 EFFA08008 NOP gp ceu Do you want t UE L0 a Finish Add an LDF and startup code FFAOSO 0E NOP 7 Add startup code only FFA 08010 NOP FFA 08012 NOP Don t add an LDF or startup code FFA08014 NOP Startup code is a procedure that initializes and configures the FFA08016 NOP processor when execution jumps to the start address on reset It FFA08018 NOP mi sets the machine into a known state initializes selected features and FFA0801A NOP enables the standard Blackfin runtime model FFA0801C NOP You should generate customized startup code for your project if you in gt d 22 d 3 want to configure the processor s cache the processor s clock and power settings run time initialization options or compiler instrumented FFA08022 NOP profiling If you do not wish to generate startup code your application FFA08024 NOP will be built with the default behavior FFA08026 NOP E E p x FFAO8028 NOP linker Neserintinn File fl NF defines the karnet meman man and FFA0802A NOP FFA0802C NOP FFA0802E NOP Ems FFA08030 NOP Project z lt Back Cancel mj 3 p 1 E EL ee E E 4 gt gt Console lL wj Ready Halted VBScript NUM start eme ll isl document Microsoft Word Ianates Devices Visual lt E O pat 2 34AM
9. Blackfin Family Loader FA08022 NOP fy Options Splitter zl FA08024 NOP i fas Compression F 08026 NOP i F 08028 NOP Id Kernel I A en FA0802A NOP of Settings for configuration Debug x gt F 0802C NOP FA0802E NOP z rs Project Loading C Documents and Settings Administrator Desktop Debug aaaa dxe Load complete Breakpoint Hit at lt ffa08870 gt Eix Output Window Ready Halted Line 55 Col 1 vB85cript NUM start ede i9 document Microsoft Word Analog Devices Visual Bisli D hy at 2 39am e This dialog box enables you to specify project build information Join the Technical Community Today http www pantechsolutions net e Take a moment to view the various pages in the Project Options dialog box by selecting them from the tree on the left Project General Compile Assemble Link Load Pre Build and Post Build On each page you specify the tool options used to build the project e On the Project page verify that the values shown in Table are entered here Processor ADSP BF532 Revision Automatic Type Loader File Name File c Settings For Debug Configuration e These settings specify information for building an executable file for the ADSP BF533 processor The executable contains debug information so you can examine program execution Click the LOAD tab to display the General page shown in Figure
10. FFA00026 NOP FFA00028 NOP FFA 0002A NOP FFA0002C NOP FFA0002E NOP FFA00030 NOP 4 Halted MWescp NUM ES sR 2 28am Creates a new debug session with a debug target i start C A oocumenti microsoft w EJanaleg Devices visual Join the Technical Community Today http www pantechsolutions net 3 On the Select Processor page select the ADSP BF532 processor from the Blackfin family Click next to continue gt Analog Devices isualDSP Target ADSP BF533 ADSP BF5xx Single Processor Simulator m l e xi Fie Edit Session View Project Register Memory Debug Settings Tools Window Help ale E ober Roel ui ssi sa nnn Jarr ES TD 5 d amp bad FERE EXC ETHER Ar are Eel RE amp Project Window o rion Wizard zx icossembty__ Ey Select Processor Choose 4 target processor c FFA00000 ne FFA00002 NOP FFA00004 NOP FFA00006 NOP FFA00008 NOP FFA0000A NOP FFA0000C NOP FFA0000E NOP FFA00010 NOP FFA00012 NOP FFA00014 NOP FFA00016 NOP Project Group 0 project j Welcome fy Select Processor i lm Select Connection Type i lire Select Platform 3388 Finish is Select Processor Processor family Blackfin Choose a target processor Reapers DF533 Blackfin Processor i 51 2 MMACS 148K bytes o i Das ADSP BF534 Blackfin
11. MOO eve wa pom Project aaaa dpi BE ix yx xpSIC IMASK 0x00080000 a x Hg Project Group 1 project E El aaaa OPT Ue Init Flags void gt FFA 08000 NOP 1 gt E Link New Folder 7 eget FFAO8002 NOP Gm Heal Add File s to Folder FFA08004 NOP FFA08006 NOP FFA08008 NOP FFA0800A NOP FFA0800C NOP FFA0800E NOP FFA08010 NOP FFA08012 NOP FFA08014 NOP FFA08016 NOP FFA08018 NOP mi FFA0801A NOP FFA0801C NOP FFA0801E NOP FFA08020 NOP FFA08022 NOP FFA08024 NOP FFA08026 NOP FFA08028 NOP FFA0802A NOP FFA0802C NOP FFA0802E NOP FFA08030 NOP zj Configure PF2 as Output and PF3 as input Delete Folder FIO DIR Ox0002 Allow Docking Hide Ay H o 2 Am Ld Iv ow ww o x zl e Float In Main Window Properties x void main Init Flags Init Interrupts while 1 L Project 14 TI bis Console Halted Line 62 Col1 vBScript NUM f start e Sf E document Microsoft word ga natoo Devices Visual i Bits QO 2 36AM Join the Technical Community Today http www pantechsolutions net 2 The Add Files dialog box appears In the Look in box locate the project folder In the Files of type box select All Source Files from the drop down list Select the file and
12. O0x0002 FFA0800C NOP pFIO FLAG C 0x0008 Cue DD FFA08012 NOP FFA08014 NOP FFAD08016 NOP FFA08018 NOP mi FFA0801A NOP FFA0801C NOP assign core IDs to interrupts FFA0801E NOP pSIC IAR xfff FFA08020 NOP xpSIC_IAR1 Oxfff FFA08022 NOP x xpSIC IAR2 Oxfff 4 4 Timer ID4 FFA08024 NOP P FFA08026 NOP assign ISRs to interrupt vectors register handler ik ivglil Timer ISR Timer ISR FFA08028 NOP register handler ik ivgi2 Flag ISR Flag ISR gt FFA0802A4 NOP T FFA0802C NOP gt FFA0802E NOP FFA08030 NOP raa void Init_Interrupts void ELEELE ffftff 5ff4 lxx Output Window gt gt 4 4 o Do console Builds the active edit file Halted Line 46 Col 4 VBScript NUM if start erm Wj document Microsoft Word Analog Devices Visual qd mE C3 at 2 38am At the end compilation the Output window displays this message in the Build view Join the Technical Community Today http www pantechsolutions net Build completed successfully The project can be rebuild by choosing rebuild all gt Analog Devices isualDSP Target ADSP BF532 ADSP BF5xx Single Processor Simulator 2 Project aaaa aaaa E amp i xl File Edit Session view Project Register Memory Debug Settings Tools Window Help 81 xj Tuer gate ee RE El FT 5 cf 7
13. Processor 500MHz 132K bytes on chi leg 5 S 5 uH i NOE Bl Pas ADSP BF535 Blackfin Processor 700 MMACS 308K bytes on FFA0001C NOP Day ADSP BF536 Blackfin Processor 100K bytes on chip memory FFA0001E NOP Rig ADSP BF537 Blackfin Processor 132K bytes on chip memory x FFA00020 NOP FFA00022 NOP FFA00024 NOP FFA00026 NOP FFA00028 NOP FFA0002A NOP FFA00030 NOP z 4 Show all processors Configurator Licenses v Project lt Back Next gt Cancel lxx Output Window 14 ATI 9i fs Console Ready Hated NWesp mmp distart 9 nu G2 document Microsoft Word Bjanates Devices Visual CBs E sSE 2 20 4m 4 On the Select Connection Type page select Simulator and click Next to continue gt Analog Devices isualDSP Target ADSP BF533 ADSP BF5xx Single Processor Simulator le x File Edit Session View Project Register Memory Debug Settings Tools Window Help Da Ed Ss ix Bs A 5 c dA A o OQ EID D DD ww E m amp ef 2 pDex u ueegBuael z amp FJ amp 8 amp 8 gy nm amp de BT Em m P Pn a Ez E52 1 mai JD UN Select Connection Type Choose the type of connection that you would like to establish For the previously chosen processor below If Select Connection Type Select the type of target that you would like to connect to n A Project Group 0 p
14. Step3 Load the File ga Memor Occupied PANTECH SOLUTIONS Technology Beyond The Dreams Stepl Com Port Settings Port Name ow x Baudrate 120 v Stop bits hoo H Data bits eo H Eonnect Disconnect Step z Erase Kilobytes Step4 Program Program E wit Bytes Check Sum Output window Port i not Connected Please RESET the Kit and try again Join the Technical Community Today http www pantechsolutions net Ensure the kit is in programming mode and Press the RESET button in the Kit and try again Step 2 Erasing Press the erase button d BlackfinS32 External Flash Programmer Pantech Solutions Pvt Ltd xj Status window Hexzadecimal File Stepl Com Port Settings Step3 Load the File Port Mame cow Baudrate 15200 TONSE PANTECH SOLUTIONS Technology Beyond The Dreams isconnec ee a RAUS a Click ok to continue after erasing the following message will be displayed in output window Join the Technical Community Today http www pantechsolutions net ESI Blackfin532 External Flash Programmer Pantech Solutions Pvt Ltd Status Window Hexadecimal File Step3 Load the File oe Memon Occupied PANTECH SOLUTIONS Technology Beyond The Dreams Step Com Part Settings Port Hame ow Baudrate 120 v Stop bits ooo H Data bits B Eon
15. amp Application Sett Add template source code to the application IE Application Settings 3 Add Startup Code LDF 388 Finish Select the desired source language for the template code C v Include support for command line arguments Include comments in template source code Select the project output type for your application Executable dxe v L Project x a p 3 amp e E gt gt I4 H Console A Build IKa jig Not connected Ready E G S p Embedded Signal P M 2 Microsoft Offic gt Analog Devices Vis Windows Explorer untitled Paint VBScript JL P NUM 3 25 PM lw e The Project output type is Executable file Click Next to display the Add Start up Code LDF page gt Analog Devices isualDSP Target ADSP BF532 ADSP BF5xx Single Processor Simulator 2 File Edit hela xou oix Saga o 4 x Memory Debug Settings Tools Window Help d A co aF ajl DDO Session View Project Register mimi vn HOB 4 4e B5 E e 0 ve Ra I OI a a Project Group 0 project Project Wizard f Add Startup Code LDF 21 xl isembly e xl Welcome to the Startup Code Linker Description File LDF Generator Wizard This page asks if you want to FFA08000 NOP J add startup code and an LDF to your project IF you choose to add them
16. considers surround sound as movement of sound between different speakers such that the user can feel the sound moving across the users head Join the Technical Community Today http www pantechsolutions net Ideally this effect should have an input sound signal processed such that the sound from an input source moves around the user s head at a revolution rate of few milliseconds To study the acoustic effects this EXPERIMENT considered different revolution rates to determine the most optimal values and effects different revolution rates can have on users hearing If the first button SW3 is pressed the Original sound is played If the second button SW1 is pressed first time the sound is played with Surround Sound Effects Code description This case populates a huge buffer to store 14400 samples of input dma buffer The length of this buffer is predetermined so that it holds values for all four speakers pointers are pointing to equal delta time delay of 0 1 seconds First the buffer is populated at least for once Join the Technical Community Today http www pantechsolutions net Then the values pointed by all four speaker pointers are written to the output dma buffer for each of the speakers Thereafter the soeaker pointers point to the next item on the buffer Programming Mode Programming the flash Connection Settings and General Mode same as HANDS ON EXPERIMENT 5 1 5 5 HANDS ON EXPERIMENT Audio eff
17. you must enter it in one of the following formats gt Port name COM1 gt Baud Rate 9600 gt Stop bits 1 gt Databits 8 Join the Technical Community Today http www pantechsolutions net Step1 Com Port Settings Port Name ow Baudrate 5200 Stop bits ff Data bits e xH PANTECH SOLUTIONS Technology Beyond The Dreams Port connected successfully will be displayed in output window If it the port is not connected The following message will display I il ESI Blackfin532 External Flash Programmer Pantech Solutions Pyt Ltd xX Stepi Com Port Settings Status Window H exadecimal File Port Name ow x Baudrate 20 r Stop bits Poo H Data bits eo H Eonnect Disconnect Step z Erase PANTECH SOLUTIONS Technology Beyond The Dreams Step4 Program Ensure the kit is in proper mode and Press the RESET button in the Kit and try again Join the Technical Community Today http www pantechsolutions net Step 2 Erasing Press the erase button d Blackfin532 External Flash Programmer Pantech Solutions Pvt Ltd Click ok to continue after erasing the following message Stepl Com Port Settings Step3 Load the File Status Window Hexadecimal File Browse Memory Occupied eo PANTECH SOLUTIONS Technology Beyond The Dreams Fort Mame Baudrate 1200 v Stop bits zl Data bits ge
18. 8014 NOP FFA08016 NOP FFA08018 NOP mi FFA0801A NOP FFA0801C NOP FFA0801E NOP FFA08020 NOP FFA08022 NOP FFA08024 NOP FFA08026 NOP FFA08028 NOP FFA0802A NOP FFA0802C NOP FFA0802E NOP FFA08030 NOP 4 gt H void maint Init Flags Init Interrupts while 1 Project Eix Output Window KI adl gt i fs Console Ready Halted Line 62 Col 1 VBScript ium start ere i document Microsoft Word anaig Devices Visual zx EE DOC E ME 237 am 4 Build the project by performing one of these actions e Click the Build Project button or From the Project menu choose Build Project gt Analog Devices isualDSP Target ADSP BF532 ADSP BF5xx Single Processor Simulator 2 Project aaaa aaaa E e x File Edit Session View Project Register Memory Debug Settings Tools Window Help e x Osha Si ss X Hs o c dA A o 3 S29 OOOO wv CES ITI e 2 a x oe SS sme moe m C B 4 m gieuidrie cer P 0 ev Gl GJ RO EDISERIEONEEES gt Project Group 1 project i gt aaaa EX_INTERRUPT_HANDLER FlagA_ISR 3 Source Files i mmm g E nnm FFA08002 NOP E aaaac nsicn d lod i FFA08004 NOP E Linker Files 44 confirm interrupt handling FFA08006 NOP mg Header Files pFIO FL G S O0x0002 FFA08008 NOP for i 0 1i lt Oxnffffff i FFA0800A NOP pFIO FLAG C
19. A08026 NOP FFA08028 NOP FFA0802 NOP FFA0802C NOP FFA0802E NOP Linker Files Header Files void main Init Flags Init Interrupts while 1 J X Project Configuration Naaaa c Linking Creating loader file Build completed aaaa Debug Output Window Ready Halted ine55 Coli vBScript NUM if start e a Wh document Microsoft Word analog Devices Visual l QIE 2 43am Join the Technical Community Today http www pantechsolutions net e Loader file will be generated in the folder mentioned in the project options This loader can be loaded in the flash memory by using Blackfin external flash programmer which is explained in chapter 4 4 Programming Flash Using Pantech Programming Software 4 1 Booting modes of BLACKFIN for Audio development board The ADSP BF531 ADSP BF532 ADSP BF533 processor has two mechanisms listed in Table for automatically loading internal L1 instruction memory after a reset A third mode is provided to execute from external memory bypassing the boot sequence Join the Technical Community Today http www pantechsolutions net Jumper settings Description J5 Execute from 16 bit r 3 M C ee 7 external memory c iil i Bypass Boot Rom Boot from 8bit 16 bit flash B Model Boot fr
20. DSP Target ADSP BF532 ADSP BF5xx Single Processor Simulator 2 Project aaaa aaaa m T e xj File Edit Session View Project Register Memory Debug Settings Tools Window Help e xj Dal Sl Ss X3 oclo dg sus DOOD wx Bm 5 Xx Uu he eS e nS sns let rh HOB amp 4 de IT Em PEC Ve Ro GS I E o Disassembly x 4777Unnask the PF3 in Interrupt Project Group 1 project Project Options for aaaa 7 X Hl aaaa zx FA07FFE NOP E c ases 5 Project ffs Project i FA08000 ROP E aaaac E General Tu FA08002 NOP Linker Files EE Compile E 7 FA08004 NOP _ Header Files Po Eg General Processor JADSP BF532 Revision Automatic x la Hob il Source Language Se Type Executable file z FAOS00A NOP Bi Preprocessor Executable file i E Processor 1 Name Library file FAOSOOC NOP brary file FA0800E NOP be R Processor 2 Loader file FAD08010 NOP file quided Optim Object file g E Profile g Tool Chain F 08012 NOP 0D Warning l FA08014 NOP iE Compiler C C Compiler for Blackfin x FA08016 NOP El Lin FA08018 NOP fy General Assembler Blackfin Family amp ssembler x FAOSO1A i NOP Th LDF Preprocessing RE Blackfin Family Linker FA0801C NOP gy Elimination FA0801E NOP Sls Processor lomia Blackfin Family Loader v F 08020 NOP h FS Load er
21. Join the Technical Community Today http www pantechsolutions net e Choose boot mode as flash PROM Boot Format as Intel ASCII and Output width as 16 bit Choose a folder for an output file After changing the options again Rebuild All gt Analog Devices isualDSP Target ADSP BF532 ADSP BF5xx Single Processor Simulator 2 Project aaaa aaaa 81 x Bl File Edit Session View Project Register Memory Debug Settings Tools Window Help B amp x Dc bg S o i rpe nela searje anaga ep D BE amp 44e PT ET e 0 O00 ETET Project aaaa dp ET Project Group 1 project _ c z x 3 Unmnask the PF3 in Interrupt A cteMt m lp aaaa Project Options for aaaa EIEI Fv Project Load Optio E a Source Files Project E aaaa c Linker Files e CE Header Files EE General 3 R Source Language Se gh Preprocessor lh Processor 1 Id Processor 2 Boot Mode Flash PROM UART C SPI C Twi C SPI Slave Boot Format C Intel hex ASCII C Include Binary Output Width B bit 16 bit EE Profile quided Optim Wait state Baud rate Hold time Programmable Hag gh Warning z Y 0 E 4 bl ER e v Use default start address Start address 0x0 0 fy General Verbose is LDF Preprocessing Initialization file Use default decompression INIT file
22. S or BMODE1 in C side reset the board one times Now the Boot Mode is changed to 01 where it will Boot from 8 bit 16 bit Flash 5 2 HANDS ON EXPERIMENT 1 2 Noise added compressed and decompressed Using rand mu law commands Join the Technical Community Today http www pantechsolutions net This experiment implements add noise to the signal with the Blackfin processor The project files are located in directory final noise Load the project file Open the project option menu and select Processor ADSP BF532 and Type loader file and finally build and run the project The loader file will be created To accomplish this EXPERIMENT A sound is inputted to a development board A random uniform white noise function is generated and added to the sound data This data is compressed using mu law compression and then decompresses the data and processes it If the first button SW3 is pressed the Original sound is played If the second button SW1 is pressed the sound is played with noise Programming Mode Programming the flash Connection Settings and General Mode same as HANDS ON EXPERIMENT 5 1 Join the Technical Community Today http www pantechsolutions net 5 3 HANDS ON EXPERIMENT Noise removal using band pass and high pass filter This experiment implements noise removal from the signal with the Blackfin processor The project files are located in directory final NOISEREMOVAL L
23. TO VisualDSP 5 0 Setup Progress The log file will be saved to C Documents and SettingssusersLacal Settings T emph Please walt while Visual SP 5 0 is being installed This may take several minutes Status Installation process complet 1 o a x BEEHEBHHBE Setup completed successfully PLT PEELE VisualDSP 5 0 Setup Installation completed VisualD SP 5 0 has been successfully installed Click Finish to exit One ar more device drivers was updated Please power cucle your EZ EITs Lites andor emulators before next using VisualD SP Fig 1 8 the Installation Completed screen 1 2 Install License and Register VisualDSP You must register your VisualDSP installation on line to get a validation code The Validation code is used to create the permanent license Join the Technical Community Today http www pantechsolutions net 1 From the Start menu choose Start gt Programs All Programs gt Analog Devices VisualDSP 5 0 gt VisualDSP Environment 2 An information screen asks if you would like to install a license Click Yes Fig 1 7 Vis ualDSP 4 valid license could nat be Found D Click Yes Ea install a license ak this time Click No to close VisualDSP Fig 1 9 information screen 3 The about VisualDSP dialog appears fig 1 9 Select Licenses and click New Hast ID 55992836 Fig 1 9 about VisualDSP Licenses Join the Technica
24. Then click Add 18 x 16 x B Ee amp elo a ear w EI cS 2 DX Oy Pda 8 BS OS Jaaaa Debug e ba Da Dy E dalia 45 dS ET E e U Poe Re mm zii Header Files 3 To display the files that you added in step 4 open the Source Files folder in the Project window Click the Rebuild All button to build the project The C source file opens in an editor window and execution halts Save the Project and then builds the Project Join the Technical Community Today http www pantechsolutions net gt Analog Devices isualDSP Target ADSP BF532 ADSP BF5xx Single Processor Simulator 2 Project aaaa aaaa 8i x File Edit Session View Project Register Memory Debug Settings Tools Window Help 81 x Doe QR mos o iX Ga c dA VW o g SPS D DI D DI wv iE TT SS ed 2 EL D BA S Oe B5 E Y 0 eve ABA Project aaaa dpi BE a EET pSIC IMASK 0x00080000 Project Group 1 project X zl B aaaa l NOP o e cx void Init Flags void gt peer NOP E aaaa c FFA08004 NOP i Linker Files 4 Conftigure PF2 as Output and PF3 as input FFA08006 NOP i Header Files pFIO DIR D0x0002 l FFA08008 NOP 4 7 Unmask the PF3 in Interrupt A FFA0800A NOP pFIO INEN 0x08 pFIO MASKA D 0x08 dieere Maid pFIO EDGE 0x08 pFIO BOTH 0x08 FFA08010 NOP FFA08012 NOP FFA0
25. This document is owned by p m 4 www pantechsolutions net Republishing or redistribution is prohibited DSP DSC BOARDS Software User Manual for BF532 Audio Development Boards Contents 1 Installation and Update VisualDSP eseseeeenn nenne 3 1 1 Install VisualDSP Software eese nennen nnns 3 1 2 Install License and Register VisualDSP eseeeeenn enne 7 1 3 Update VisualDSP 45 05 23 0221 xEp EISE CIA IUe ERP AR MERE S2 VU URS O ENbISIS PRAE ERE QE 11 2 INSTALLATION and SESSION STARTUP cccccsseecccessceeeeseceseeseeseeesesseeseeseeeeeas 13 2 JL Srart VisualDSP ET ossis T E E E E E E 14 3 Creating A Project In Visual Dsp eese enero nne nenne 19 3 1 Step 1 Start VisualDSP and Open a Project eeeeen 19 3 2 How To Create a New PrOJGCL usus cic irit sus pasa Yu sa a VE ae Pape VET SN PYE Qe sa Pr Eve VET PER IVa Sav EFE 24 3 3 How To Changing the Project Options eeeeeeeen enne 28 4 Programming Flash Using Pantech Programming Software sees 31 4 1 Booting modes of BLACKFIN for Audio development board 31 4 2 Programming Mode n rscox ta mthrkssua gr karina reru PEYa San abs pSUPTEE EE e eaa x VPEFd Ua v RIEN 35 2 5 General MOd E serere n r Pul PUES PUN MINIM MM 37 misceri T c 38 4 5 Programming uses Blackfin532 external flash programmer s
26. alog Devi m BitTorrent WT Internet Download Manager TH Documentation B Maintain this installation gt Manage Licenses gt VisualDSP4 Environment H visualDSP 4 Configurator R Embedded Signal Pro M 2 Microsoft Office All Programs gt og OFF Lo Turn OFF Computer mm 3 Windows Explorer amp Analog Devices Visual 2 When you need to connect to a debug session click the Connect to Target toolbar button or choose from the available sessions listed under Select Session in the Session menu To create a debug session select New Session from the Session menu This will launch the Session Wizard as shown below gt Analog Devices isualDSP Target ADSP BF533 ADSP BF5xx Single Processor Simulator File Edit Session View Project Register Memory Debug Settings Tools Window Help PD ae Dee e o e jd ae wee ae DOOD iw BITm s I i Uh amp Select Session Le 4x QU OO CO er RI amp amp I Project Window hak Project Group 0 project Project Asi xi Session List Disconnect from Target Disassemby zi ce FFA00000 Woe sd FFA00002 NOP FFA00004 NOP FFA00006 NOP FFA00008 NOP FFA0000A NOP FFA0000C NOP FFAQOO0E NOP FFA00010 NOP FFA00012 NOP FFA00014 NOP FFA00016 NOP FFA00018 NOP Bl FF 0001A NOP FFA0001C NOP FFAQO01E NOP FFA00020 NOP FFA00022 NOP FFA00024 NOP
27. am Exit Bytes Check Sum Erase Output Window Step 4 Programming the flash Click program to program the device il ES Blackfin532 External Flash Programmer Pantech Solutions Pwt Ltd 7 x i Status Window Hexadecimal File Step3 Load the File Browse D newblackfin board Prajects On Ble Memory Occupied Nn PANTECH SOLUTIONS Technology Beyond The Dreams Stepl Cam Part Settings Port Name ow Baudrate 1200 l Stop bits oOo H Data bits eo kH Eonnect Disconnect Step 2 Erase Kilobytes Step4 Pragram Program Exit Tq ee o rm About uz Help Bytes Check Sum Output window successfully Send successtully Send successfully Send successfully Send successtully Send Join the Technical Community Today http www pantechsolutions net ESI Blackfin532 External Flash Programmer Pantech Solutions Pt Ltd Step Cam Port Settings Step3 Load the File Part Mame cow 115200 TONG PANTECH SOLUTIONS Technology Beyond The Dreams onnect Dimsconnec successfully Send 15 successfully Send Last Bytes 16 ata is sent successfully ata Value I ram iz completed successfully 2 General Mode In general mode a jumper must be connected to J1 as shown below Previously whatever are there in the Programming Mode keep all Additionally just we need to put the JUMPER in J
28. are presented and used for experiments Join the Technical Community Today http www pantechsolutions net 5 1 HANDS ON EXPERIMENT Talk through for the BF 532 Audio development Board This experiment implements a real time Talkthrough with the BF532 Audio development board A stereo or mono sound source is connected to the audio input channels of the BF532 Audio development board and the output of the development board is connected to a headphone or speaker The project files are located in directory final Talkthrough Load the project file Open the project option menu and select Processor ADSP BF532 and Type loader file and finally build and run the project The loader Hex file will be created Programming Mode In Programming Mode we should not connect any jumper to J5 and J6 The JUMPERS should be there in J13 J12 and J16 Such as MOSI WP and SSEL Should be Configured for BF532 i e The JUMPER should be there in Join the Technical Community Today http www pantechsolutions net the BF532 Side Now Actually BF532 Booting in 11 mode i e booting From SPI Flash for boot modes refers BF532 Hardware reference manual Step 1 Connection Settings Before the device can be used the settings required to make a connection must be specified Furi H mm Select the desired COM port from the drop down list or type the desired COM port directly into the box If you enter the COM port yourself then
29. b32 External Flash Programmer we Version 1 0 Data bits E Copyright All rights Reserved Company Name Pantech Solutions Pt Lid Description for mare detail weww pantechsalutions net lt hitto wii pantechsolutians net Dur E mail id analog pantechsalutions net LN A VE us i e e oi o osos us oeopEs et o o aa a Help Join the Technical Community Today http www pantechsolutions net il Blackfin532 External Flash Programmer Pantech Solutions Pvt Ltd Step Cam Port Settings Step3 Load the File Status Window Hexadecimal File Part N ame ow ce feries Ini xi Stop bits fn 2 EI Hide Locate Back Forman Home Options Introduction and Overview ilobytes 0 ptes heck Sum 0 Thank you for purchasing the ADSP EF532 Evaluation Board About uz Help Pantech solutions evaluation system for Black fin processors Chapter 10 uncIlm TA LLE Ce AL SSE Blacktin processors support a meda instruction set computing MISC architecture This ig 1 i wl H 4 2 a j 5 Practical Dsp Applications Audio Coding And Audio Effects Audio coding exploits unique features of audio signals to compress audio data for storage or transmission Today digital audio coding techniques are widely used in consumer electronics such as portable audio players This chapter introduces basic audio effects and their implementations
30. c uw HOB s ue Bp EC TP P0 Oe i i E 2 Project Window o Winans JD TI ET Select Platform tt Project Group D project Provide a name For the session and choose the specific platform it will connect to IF connecting to an emulator and do not see an appropriate platform in the list click the Configurator to create one its Select Platform Session name JAD SP BF532 4DSP BF5xx Single Processor Simulator 1 Select your platform le Select Processor i lire Select Connection Type IA Select Platform 3885 Finish 4DSP BF5xx Single Processor Simulator lir Blackfin Family Compiled Simulator F Show all platforms Tree navigation Select a page in the tree navigation to display that page iv Project M 7 B 5 E a E 4 FFA00002 FFA00004 FFA00006 FFA00008 FFA00004A FFA0000C FFA0000E FFA00010 FFA00012 FFA00014 FFA000168 FFA00018 FFA00014A FFA0001C FFAQ0001E FFA00020 FFA00022 FFA00024 FFA00026 FFA00028 FFA00024A FFA0002C FFA0002E FFA00030 NOP HOP HOP HOP HOP HOP HOP NOP NOP NOP NOP NOP NOP NOP NOP NOP NOP NOP NOP NOP NOP NOP NOP NOP lt Back Next gt Finish Cancel Ready iAstart erue iil document Microsoft Word janatos Devices Visual Halted VBScript num
31. e Edit Session View Project Register Memory Debug Settings Tools Window Help I x arane Six si dul Lid eo Pod E sale B h k jan Bose zl 3 aaaa v Debug ESL amp See ae ix x yx Unmask the PF3 in Interrupt A I Project Group 1 project pFIO_INEN x08 EI j aaaa pFIO MASK D 0x08 Lm Ei 3 Source Files DEIOCBOTH 2 Ux0B FFA0886C LINK Oxc FFA08870 CALL Init Flag be y Linker Files FFA08874 CALL Init Inte Header Files FFA08878 JUMP S 0 x xF FFA0887A JUMP S 2 x0xF plaid maiat FFA0887C PO FP Oz FFA0887E UNLINE FFA08882 JUMP PO _enable_int Init Interrupts FFA08884 Ri 1 while 1 FFA08886 R1 lt lt RO FFA08888 CLI RO m FFA0888A RO R1 RO FFA0888C STI RO FFA0888E RTS _disable_int FFA 08890 R1 1 FFA08892 R1 lt lt RO FFA08894 RO R1 FFA08896 CLI R1 FFA08838 RO RO amp R1 FFA0889A STI RO FFA0889C RTS L Project Loading C Documents and Settings AdministratorDesktop Debug aaaa Load complete Breakpoint Hit at l Ix lt a08870 gt Output Window gt gt 4 4 gt bf console Ready start eru H document Microsoft word Eanatog Devices Visual register hand gt Halted Line 55 Col 1 vB5cript NUM RO ase i 2 38 AM Join the Technical Community Today http www pantechsolutions net 3 3 How To Changi
32. e Technical Community Today http www pantechsolutions net 3 Creating A Project In Visual Dsp 3 1 Step 1 Start VisualDSP and Open a Project e To start VisualDSP and open a project Click the Windows Start button and select Programs Analog Devices VisualDSP 5 0 and VisualDSP Environment If you are running VisualDSP for the first time you will not be connected to a debug target In VisualDSP 5 0 it is possible to edit and build your code without being connection to a debug target through a debug session When you are ready to run and debug your program you can quickly connect to a target and disconnect when you are finished Doing so eliminates the overhead associated with the target connection resulting in a smoother and more responsive experience When you need to connect to a debug session click the Connect to Target toolbar button or choose from the available sessions listed under Select Session in the Session menu To create a debug session select New Session from the Session menu This will launch the Session Wizard which is covered in previous chapter If you have already run VisualDSP and the Reload last project at start up option is selected on the Project page under Settings Join the Technical Community Today http www pantechsolutions net and Preferences VisualDSP opens the last project that you worked on To close this project choose Close and then Project from the File menu and then click N
33. ects on Blackfin processor This experiment implements Audio effects on Blackfin processor with the Blackfin processor The project files are located in directory final chrous Load the project file Open the project option menu and select Processor ADSP BF532 and Type loader file and finally build and run the project The loader file will be created If the first button SW3 is pressed the Original sound is played If the second button SW1 is pressed first time the sound is played with Chorus Sound Effects Join the Technical Community Today http www pantechsolutions net Chorus This effect is used to thicken the output signal by adding to it a delayed signal The effect would give the sound like there is more than one instrument playing at the same time Join the Technical Community Today http www pantechsolutions net Pantech solutions creates information packed technical documents like this one every month And our website is a rich and trusted resource used by a vibrant online community of more than 1 00 000 members from organization of all shapes and sizes Join the Technical Community Today http www pantechsolutions net What do we sell Our products range from Various Microcontroller development boards DSP Boards FPGA CPLD boards Communication Kits Power electronics Basic electronics Robotics Sensors Electronic components and much more Our goal is to make finding the par
34. here it will Boot from 8 bit 16 bit Flash 4 4 Basic setup Blackfin External Flash programmer is Windows software from the Pantech solutions private limited that allows easy access to the Flash memory These features include eCommunicating to the Black fin audio development module e Erasing the Flash memory e Programming the Flash memory Join the Technical Community Today http www pantechsolutions net External flash programmer provides a clear and simple user interface to these features and more as described in the following sections Minimum Requirements e Windows 95 98 ME NT 2000 XP e Mouse e COM Port e 16Mb RAM e 3Mb Disk Space 4 5 Programming uses Blackfin532 external flash programmer software Main Window The following is a screenshot of the main window Join the Technical Community Today http www pantechsolutions net il ES Blackfin532 External Flash Programmer Pantech Solutions Pwt Ltd f x Step Com Fort Settings Step3 Load the File OWSE PANTECH SOLUTIONS Technology Beyond The Dreams onnect Disconnec The window is divided up into six sections Work your way from section 1 to section 4 to program a device using the most common functions Each section is described in detail in the following sections At the very bottom the window is an area where output messages will be displayed and at the very bottom right is where the progress bar is displayed Four S
35. ical Community Today http www pantechsolutions net and successive address bytes 0x00 until a valid 8 16 or 24 bit addressable EEPROM flash device is detected and begins clocking data into the processor at the beginning of L1 instruction memory Boot from SPI serial master The Blackfin processor operates in SPI slave mode and is configured to receive the bytes of the LDR file from an SPI host master agent To hold off the host device from transmitting while the boot ROM is busy the Blackfin processor asserts a GPIO pin called host wait HWAIT to signal the host device not to send any more bytes until the flag is deasserted The GPIO pin is chosen by the user and this information is transferred to the Blackfin processor via bits 10 5 of the FLAG header in the LDR image For each of the boot modes a 10 byte header is first read from an external memory device The header specifies the number of bytes to be transferred and the memory destination address Multiple memory blocks may be loaded by any boot sequence Once all blocks are loaded program execution commences from the start of L1 Join the Technical Community Today http www pantechsolutions net instruction SRAM In addition Bit 4 of the reset configuration register can be set by application code to bypass the normal boot sequence during a software reset For this case the processor jumps directly to the beginning of L1 instruction memory Every Board comes al
36. istration They will ask us to give the email address to which they will send the Test Drive License Join the Technical Community Today http www pantechsolutions net VisualDSP 5 0 Fig 1 1 Setup file VisualDSP 5 0 Setup Setup has detected a first time install This will install VisualDSP 5 0 on your computer To continue click Next Cancel Fig 1 2 the InstallShield Wizard screen 4 Click Next The License Agreement screen appears Fig 1 3 VisualDSP 5 0 Setup lees License Agreement Please read the license agreement carefully ANALOG DEVICES SOFTWARE LICENSE AGREEMENT This is a legal document between you ether an individual or entity and Analog Devices Inc ADI Read the following terms and conditions carefully before using the accompanying software They define your rights and obligations with respect to the enclosed ADI software and documentation SU F T ARE and software examples Ez PLES If vou do not agree to the terms of this agreement promptly return the SOFTWARE AND EXAMPLES to the place you obtained them ar to Analog Devices Ince IF the return is postmarked ar is receiwed within thirty 30 days of shipment charges for the SOFTWARE AND EXAMPLES will be removed from your bill USING THE SOFTWARE OR EXAMPLES INDICATES YOUR C accept the terms in the license agreement Cancel Fig 1 3 the License agreement screen Join the Technical Community Today http w
37. l Community Today http www pantechsolutions net 4 Install New License screen appears fig 1 10 Select Node locked license or Test Drive license and fill in the tools Serial number in the field exactly as it appears on your CD sleeve Click Next Install New License You are about to install a software license to run Yisuall SP Please select one of the following license types Node Locked license or Test Drive license Client license Description This license type allows you to use the VisualD 5 P tools on a single computer Please enter your serial number exactly as it appears on the registration card CD sleeve or web site Seral number AD 152 256 36 72550 1177 Fig 1 10 Install New License screen 5 An information window notifies of successful license installation fig 1 11 Click OK VisualDSP The serial number has been successfully entered J This license will expire in 30 days You must register your product to obtain a permanent license Fig 1 11 License installs successful notice Join the Technical Community Today http www pantechsolutions net 6 Select the serial number KIT HHHHHH and click Validate Fig 1 11 General Licenses Versions Support Seral Number ADp 152 256 3572580 11 Blackfin Mot Validated Expiring in 30 d Host ID Fig 1 11 about VisualDSP Licenses 7 Enter Validation Code dialog appears fig 1 12 Enter yo
38. nect Disconnect Step 2 Erase Kilobytes Step4 Frogram Program Exit n FH About us Help Bytes Check Sum Output Window DSP Kit Erase successtully Step 3 Selecting the Hex File Select the file by using browse button The status bar will show you the memory occupied and the file contents file size and checksum will be displayed in status window il S Blackfin532 External Flash Programmer Pantech Solutions Pvt Ltd x Step3 Load the File D newblackfin board Prajects On Ble Memory Occupied i PANTECH SOLUTIONS Technology Beyond The Dreams Status Window Hexadecimal File Step Cam Port Settings Port Hame ow Baudrate 1200 v Stop bits hz Data bits es Eonnect Disconnect Step z Erase Kilobytes Step4 Program Program Exit T PNE About uz Help Bytes Check Sum Erase Output window Join the Technical Community Today http www pantechsolutions net Step 4 Programming the flash Click program button to program the device Blackfin532 External Flash Programmer Pantech Solutions Pvt Ltd x Status Window Hexadecimal File Step3 Load the File Browse D newblackfin board Projects On Ble Memory Occupied BE PANTECH SOLUTIONS Technology Beyond The Dreams Stepl Cam Part Settings Part Mame cow Baudrate fi 15200 Stop bits fi Data bits E
39. ng the Project Options gt Analog Devices isualDSP Target ADSP BF532 ADSP BF5xx Single Processor Simulator 2 Project aaaa aaaa 8 x File Edit Session View Project Register Memory Debug Settings Tools Window Help l8 xi Denga sy Be Ne MaRS SAT DOOD aw mBm amp c E EX 4 Unmask the PF3 in Interrupt A Project Group 1 project xpFIO INEN 0x08 zi E D A CIE GA Tn mea xpFIO BOTH 0x08 FFA08000 ROP aaaa c FFA08002 NOP Linker Files FFA08004 NOP Header Files FFA08006 NOP FFA08008 NOP FFA0800A NOP FFA0800C NOP FFA0800E NOP Init Flags FFA08010 NOP Init_Interrupts FFA08012 NOP while 1 FFA08014 NOP FFA08016 NOP ni FFA08018 NOP FFA0801A NOP FFA0801C NOP FFA0801E NOP FFA08020 NOP FFA08022 NOP FFA08024 NOP FFA08026 NOP FFA08028 NOP FFA0802A NOP FFA0802C NOP FFA0802E NOP si Project gt void main Loading C Documents and Settings Administrator Desktop Debug aaaa dxe Load complete Breakpoint Hit at lt ffa08870 gt Lx Ix utput Window Selects project options Halted Line 55 Col 1 VBScript NUM start jene M document Microsoft Word Anaig Devices Visual d mS De ch 2352 e From the Project menu click the Project Options command to display the Project Options dialog box gt Analog Devices Visual
40. o when prompted to save the project a zi amp h h gt e BS OP 70 66 a RJ SO Creates a new project if start e amp lj id document Microsoft word O Anal e From the File menu choose New and then Project to open the Project Wizard shown below Join the Technical Community Today http www pantechsolutions net Project Wizard Project Information Choose the type name and location of the project that vau would like to create Sal c i Project C Project Select Project types leg Standard application Library Tr LwIP Ethernet application VDE application Name NewProject Directory CADocuments and SettingssusersDresktepsblackfineallectiansP is e In the Name field type any name Click the browse button to the right of the Directory field to open the Browse For Folder dialog box Click Next to bring up the Output Type page gt Analog Devices VisualDSP Target Not Connected File Edit Session View Project Register Memory Debug Settings Tools Window Help Posh Sse XL BB Qo Ma HRSTT TAM WN A x amp ra ma es s x amp amp Q AR 5 45 4 9 m9y o Qv O6 bee LE m er Project Wizard d Project Group 0 project Project Information Choose the project s target processor and output type Project Diy Select Type Bay Select Processor Processor family Blackfin v E Application Settings Add Star
41. oad the project file Open the project option menu and select Processor ADSP BF532 and Type loader file and finally build and run the project The loader file will be created To accomplish this Project A sound is inputted to a development board A random uniform white noise function is generated and added to the sound data This data is compressed using mu law compression and then decompresses the data and band pass and high pass filter processes for noise removal If the first button SW3 is pressed the Original sound is played If the second button SW1 is pressed first time the sound is played with removal of noise from band pass filter Join the Technical Community Today http www pantechsolutions net If the second button SW1 is pressed Second time the sound is played with removal of noise from High pass filter Programming Mode Programming the flash Connection Settings and General Mode same as HANDS ON EXPERIMENT 5 1 5 4 HANDS ON EXPERIMENT Digitalized Surround Sound Effects This experiment implements Digitalized Surround Sound Effects with the Blackfin processor The project files are located in directory final Digitaleffect532 Load the project file Open the project option menu and select Processor ADSP BF532 and Type loader file and finally build and run the project The loader file will be created The objective of the EXPERIMENT was to create surround sound effects this project
42. of your choices click Back lick inth canoe tres bs Lb eft FFA 00026 NOP or click on a page in the navigation tree to the left FFA00028 NOP FFA 0002A NOP in FFA0002C NOP ees owes FFA0002E NOP FFA 00030 NOP gt lt Back Newt gt Cancel x A Ej p amp E 5 amp 4 Ready Halted VBScript l NUM if start jede ii document Microsoft Word ganatoo Devices Visual d ESQ a 2304 7 Goto select session from session menu and select the session created gt Analog Devices VisualDSP Target ADSP BF532 ADSP BF5xx Single Processor Simulator 2 File Edit Session View Project Register Memory Debug Settings Tools Window Help i IB E New Session EL e B m ef p Select Session X ADSP BFS32 ADSP BF5xx Single Processor Simulator 2 P9 X Session List a Da De i m Disconnect from Target nu P oy fe amp l Project window EE e c FFA 08000 FFA08002 FFA08004 FFA080068 FFAD08008 FFA08004A FFA0800C FFA0800E FFA08010 FFA08012 FFA08014 FFA080168 FFA08018 FFA0801A FFA0801C FFA0801E FFA08020 FFA08022 FFA08024 FFA08026 FFA08028 FFA08024A FFA0802C FFA0802E FFA08030 Project Group 0 project Project Output Window Halted Nescp NM start eum i4 document Microsoft Word Anaig Devices Visual c Oe Q3 3B 2 31am Join th
43. oftware 39 5 Practical Dsp Applications Audio Coding And Audio Effects 47 5 1 HANDS ON EXPERIMENT Talk through for the BF 532 Audio development serio 48 5 2 HANDS ON EXPERIMENT 1 2 Noise added compressed and decompressed Using rand mu law commanwds esses een ennemis 53 5 3 HANDS ON EXPERIMENT Noise removal using band pass and high pass filter 55 5 4 HANDS ON EXPERIMENT Digitalized Surround Sound Effects 56 5 5 HANDS ON EXPERIMENT Audio effects on Blackfin processor 58 Join the Technical Community Today http www pantechsolutions net 1 Installation and Update VisualDSP 1 1 Install VisualDSP Software VisualDSP is an integrated development and debugging environment from Analog Devices 1 Push the power button of the PC 2 Login as a user with administrator rights 3 Copy the setup files that as shown in figure 1 1 to the PC and double clicks over the icon The Install Shield Wizard screen appears We can download this setup file from Analog Devices Website from the Address http www analog com en embedded processing dsp software and reference designs content visualdsp software test drive fca html We have to register for 90 days test drive and then we can download the setup file During the reg
44. oject Register Memory Debug Settings Tools Window Help iDzuge suirxmsem ocidusccgsms nnnm wee mBm ts ee EX o Pea a 2 e IE Am Debug Ba amp HOB S S BT Em i OP Ove DBs Project aaaadpj EW Disassemby MET 5 Group 1 project z E B aaaa o c FFA08000 NOP _ I F FFA08002 NOP j Lass Linker Files FFA08004 NOP L Header Files FFA08006 NOP FFA08008 NOP FFA0800A NOP FFA0800C NOP FFA0800E NOP FFA08010 NOP FFA08012 NOP FFA08014 NOP FFA08016 NOP FFA08018 NOP n FFA0801A NOP FFA0801C NOP FFA0801E NOP FFA08020 NOP FFA08022 NOP FFA08024 NOP FFA08026 NOP FFA08028 NOP FFA0802A NOP FFA0802C NOP FFA0802E NOP FFA08030 NOP Project 4 3 i wv I a E Ready Halted BScript NMM iff start e a i document Microsoft Word ganatoo Devices Visual e QI E 2 34am 3 2 How To Create a New Project To add the source files to the new project 1 Click the Add File button or from the Project menu choose Add to Project and then choose File s gt Analog Devices isualDSP Target ADSP BF532 ADSP BF5xx Single Processor Simulator 2 Project aaaa aaaa x File Edit Session View Project Register Memory Debug Settings Tools Window Help 18 x D cx E GE mx c 4A A o a S 9 DOOD wet BOOBs z 4 x HOM S Se
45. om serial aul aus aud te Y C G o master B Model Boot from serial slave EEPROM flash 8 16 d B Model or 24 bit address Notes 1 Here in these diagrams C side is GND side So if we connect a jumper in C side the Corresponding pin is 0 2 The BMODE pins have Pull ups in the Circuit So to make any BMODE to HIGH there is no need to connect Join the Technical Community Today http www pantechsolutions net Anything The NC Side is No Connection Side The BMODE pins of the reset configuration register SYSCFG sampled during power on resets and software initiated resets implement the following modes Execute from 16 bit external memory Execution starts from address 0x2000 0000 with 16 bit packing The boot ROM is bypassed in this mode All configuration settings are set for the slowest device possible 3 cycle hold time 15 cycle R W access times 4 cycle setup Boot from 8 bit or 16 bit external flash memory The flash boot routine located in boot ROM memory space is set up using asynchronous Memory Bank 0O All configuration settings are set for the slowest device possible 3 cycle hold time 15 cycle R W access times 4 cycle setup Boot from SPI serial EEPROM flash 8 16 or 24 bit addressable or Atmel AT45DB041 ATA5DBOS81 or AT45DB161 The SPI uses the PF2 output pin to select a single SPI EEPROM flash device submits a read command Join the Techn
46. ong with SPI Boot loader ensure there is jumper on WP and Jumper in J8 We have two modes e Programming Mode Booting from SPI BOOTMODE 11 e General or Normal Mode Booting 8 16 bit Flash BOOTMODE 01 4 2 Programming Mode Join the Technical Community Today http www pantechsolutions net In Programming Mode J5 J6 BMODE1 BMODEO should be connected on connection side NC as shown below So that processor BOOTMODE is 11 This mode will boot the processor from SPI SSEL should be configured for BF532 as shown below SPI SLT MCU O Cx BF532 LM j JI3 Join the Technical Community Today http www pantechsolutions net 4 3 General Mode In general mode a jumper must be connected to J5 as shown below In this BMODE1 should have jumper in C or GND side so that BMODE1 0 and BMODEO should have jumper on NC side or No jumper is needed so that BMODEO 1 JB J5 a Henn a aM a CX ia s LEE NN J B Moded hig eh B Model J15 WP should have a jumper as shown below Jib za OOG Ne Fi SSEL should be configured for BF532 as shown below SPI SLT SU i MCU O BF532 A hi J13 Join the Technical Community Today http www pantechsolutions net And Reset the kit Previously whatever are there in the Programming Mode keep all Additionally just we need to put the JUMPER in J1 or BMODE1 in C side Now the Boot Mode is changed to 01 w
47. roject FFA00000 NOP FFA00002 NOP FFA00004 NOP FFA00006 NOP FFA00008 NOP FF 0000A NOP sd Welcome F 2 Select Processor be Select Connection Type ib Select Platform EZKIT Lite FFAD0000C NOP R Finish Pick FFA0000E NOP mutator FFA00010 NOP Simulator FFA00012 NOP FFA00014 NOP FFA00016 NOP FFA00018 NOP al FFA0001A NOP FFA0001C NOP FFAD001E NOP FFA00020 NOP FFA00022 NOP FFA00024 NOP FFA00026 NOP FFA00028 NOP FF 0002A NOP FFA0002C NOP FFA0002E NOP FFA00030 NOP Legacy target Configurator Licenses Project Lx x v KI TIT y Console 1 Ready Halted VBScript momp Astar SS document Microsoft word analog Devices visual ERE zs Output Window Join the Technical Community Today http www pantechsolutions net D On the Select Platform page select ADSP BF5xx Single Processor Simulator You can either use the default Session name or give it a more meaningful name of your choosing Click Next to review your choices then click Finish gt Analog Devices isualDSP Target ADSP BF533 ADSP BF5xx Single Processor Simulator x laj xi File Edit Session view Project Register Memory Debug Settings Tools Window Help D c E GE Gs 9 o X Ha A c dA A o ga Sm D D D D iux 9 BOSS El DX uuu egal r
48. site Apply an already downloaded Update to this installation rou will be prompted to browse to the downloaded Update file C Clone this installation C Touch this installation Uninstall this application Cancel Figure 1 14 program maintenances screen 5 As shown in figure 1 15 browse the location of update software Wait until the update Process is finished Then the Wizard Completed screen appears fig 1 16 Click Finish finishing update VisualDSP 5 0 Setup Apply downloaded Updates Click Browse to select an Update Apply downloaded Update fram n Back Next gt Cancel Join the Technical Community Today http www pantechsolutions net Figure 1 15 downloaded Updates Screen VisualDSP 5 0 Setup Apply downloaded Updates Click Browse to select an Update Apply downla Figure 1 16 Wizard Completed 2 INSTALLATION and SESSION STARTUP 1 Plug the provided power supply into the Evaluation board Visually verify that the green Power LED D1 is on 2 Connect one end of the UART cable to an available COM port on your PC and the Other End to the DB9 Connector Join the Technical Community Today http www pantechsolutions net 2 1 Start VisualDSP To start VisualDSP and creating a session following these steps 1 Click the Windows Start button and select Programs Analog Devices VisualDSP 5 0 and VisualDSP Environment
49. tep Programming For each step there is a corresponding section in the main window as described in the User Interface Tour Join the Technical Community Today http www pantechsolutions net Step 1 Connection Settings Before the device can be used the settings required to make a connection must be specified Com Port Cate Petter E Select the desired COM port from the drop down list or type the desired COM port directly into the box If you enter the COM port yourself then you must enter it in one of the following formats Port name COMI Baud Rate 9600 Stop bits 1 Data bits 8 Join the Technical Community Today http www pantechsolutions net il ES Blackfin532 External Flash Programmer Pantech Solutions Pwt Ltd x Status Wwindow H exadecimal File Step3 Load the File Browse FO Memory Occupied PANTECH SOLUTIONS Technology Beyond The Dreams Step Com Port Settings Port N ame ow Baudrate 1200 v Stop bits ih zl Data bits ge zl Kilobytes Step4 Program Program Exit T mue o rm About uz Help Bytes Check Sum Output window Port Connected sucessfuly Port connected successfully will be displayed in output window If the port is not connected The following message will display I il ESI Blackfin532 External Flash Programmer Pantech Solutions Pyt Ltd Status Window Hexadecimal File
50. ts and information you need easier and affordable so you can create awesome projects and training from Basic to Cutting edge technology Join the Technical Community Today http www pantechsolutions net
51. tup Code LDF Processor types 388 Finish Processor Description Day ADSP BF522 Blackfin Processor 1200 MMACS 148K byt Das ADSP BF525 Blackfin Processor 1200 MMACS 148K byt Das ADSP B F527 Blackfin Processor 1200 MMACS 148K byt Das ADSP BF531 Blackfin Processor 800 MMACS 52K bytes EA ADSP BF532 Blackfin Processor 800 MMACS 84K bytes Day ADSP BF533 Blackfin Processor 1512 MMACS 148K byt fri nreonmnrmcoas Nie l l I1 CO dE I 3202 L Mi i 3i v Silicon Revision Automatic w View data sheet li L Project x Output Windo gt gt Console Build lt iil e Not connected VBScript NUM fam 3 Windows Explorer W Analog Devices Vis g Embedded Signal P M 2 Microsoft Offic 5 untitled Paint Join the Technical Community Today http www pantechsolutions net e Verify that the Processor type is ADSP BF532 the Silicon Revision is Automatic click next Analog Devices VisualDSP Target Not Connected File Edit Session View Project Register Memory Debug Settings Tools Window Help gt iDg bg S S3 AEB c MM MS AKAM EX P9 X G e is gi X DRQ iELBE amp 45 5 4e P5 E 2 D P 0 6e EJ GJ amp 1 PE ITA E Project Window E Project Wizard Application Settings Customize your application yd Project Group 0 project Project Ps Select Type Select Processor
52. ur validation code in the field And click OK An information window notifies you of a successful validation Click OK Fig 1 12 Validation Code screen Enter Validation Code Enter the validation code which vou should have received after completing the online registration process IF you have not completed the registration process click the Register button to register seral number ADI 152 256 367 2580 117 Join the Technical Community Today http www pantechsolutions net 1 3 Update VisualDSP 1 Visit Analog Devices Tools website at http www analog com en embedded processing dsp software and reference designs content visualdsp tools upgrades fca html to get the latest software updates and patches 2 Download VisualDSP Release 5 0 Update 4 September 2008 Update or latest one 3 From the Start menu choose Start gt Programs All Programs gt Analog Devices VisualDSP 5 0 gt maintain this installation Note the figure 1 13 Figure 1 13 maintain this installation screen Join the Technical Community Today http www pantechsolutions net 4 The program maintenance screen Select Apply a download Update push button as shown in figure 1 14 and click next VisualDSP 5 0 Setup Program Maintenance Update Clone Touch or Uninstall this application Maintaining installation at C Program Files 4nalog Devices Visuall SP 5 0 Goto the Analog Devices web
53. ww pantechsolutions net 5 Read the license agreement then select I accept the terms in the license Agreement and click next The Customer Information screen appears Fig 1 4 VisualDSP 5 0 Setup Customer Information Enter Your name and company name in the fields below User M ame jeeva Company Mame Pantech Fig 1 4 the Customer Information screen 6 Fill in the user information Click Next The install path appears fig1 5 VisualDSP 5 0 Setup Install Path Click the Advanced button ta select advanced options Install path E Program Files Analog D evices VisualD S P 5 0 ES Advanced 1 Cancel Fig 1 5 the install path screen Join the Technical Community Today http www pantechsolutions net 7 Click Next The Install screen appears Fig 1 6 VisualDSP 5 0 Setup Setup Summary Please review pour settings before continuing Tou are about to install Visual SP 5 0 Install Path C Program Files Analog DevicessYisuall SP 5 0 Start Menu Path C Documents and Settings 4ll Users Start MenuPrograms 4nalog Devices isuallSP D B Cancel Fig 1 6 the Install screen 8 Click Install and wait until the install process is done The Setup completed Successfully message box and Installation Completed screen appears fig 1 8 Click Finish to finish install Join the Technical Community Today http www pantechsolutions net
Download Pdf Manuals
Related Search
Related Contents
PRÊT A L`EMPLOI FAIBLE ODEUR TRÈS BONNE Bedienungshandbuch la quinzaine de l`entorse Amana LE4217W/L2 User's Manual Samsung 외장HDD 500GB 仕様書 Graco Inc. 235462 Paint Sprayer User Manual VXI-1000 Mainframe User Manual Gefen EXT-DVIKVM-LAN-L Fujitsu SPARC T5440 User's Manual Copyright © All rights reserved.
Failed to retrieve file