Examine the code in There are five cases, but only case 1 is not commented out. firMain.c. DSP 0 generates input data (inputData) and a set of filter coefficients (filterCoef) Depending on the case, a set of fir filters is applied to the data and the results are written to the out file (outputFilter). A set of timer registers (TSCL measure the execution time of the fir filter. TSCH) and The standard function prints the results on the console. printf Task 2: Define the Target In this lab, the DSP code is run from no-boot mode. The no-boot mode requires setting the dipswitch SW1 of the EVM to: 1 Off 2 Off 3 Off 4 On. Since no-boot mode is chosen, the device configuration (DDR configuration, PLL configuration and so on) must be done in a gel file. Create a New Target in CCS NOTE the paths and other variables that are defined in this document may not reflect exactly the – directory structure on your system. Use common sense and search to find the exact paths. Create a new target configuration: Select the CCS menu option View Target Configurations. Select User Defined. Right-click and select New Target Configuration. Enter the name of the new target configuration in the text box. File Name: Set the File name based on the EVM model, <model>.ccxml For example, ‘TCI6638.ccxml’ Leave the the default value: Location and Settings\student\ti\CCSTargetConfigurations” “C:\Documents Click the button. The .ccxml file will now open in a GUI-based view with the Finish tab active. Basic Define the new target configuration by selecting the connection type in the Tab. Basic The drop-down menu identifies the emulator type. For example, Instruments Connection ‘Texas XDS2xx USB Emulator.” identifies the TI processor device, set it to 6638 and select TCI6638K2H Board or Device Under click the button. Save Configuration, Save
Examine the code in firMain.c. There are five cases, but only case 1 is not commented out. DSP 0 generates input data (inputData) and a set of filter coefficients (filterCoef) Depending on the case, a set of fir filters is applied to the data and the results are written to the out file (outputFilter). A set of timer registers (TSCL and TSCH) measure the execution time of the fir filter. The standard printf function prints the results on the console. Task 2: Define the Target In this lab, the DSP code is run from no-boot mode. The no-boot mode requires setting the dipswitch SW1 of the EVM to: 1 Off 2 Off 3 Off 4 On. Since no-boot mode is chosen, the device configuration (DDR configuration, PLL configuration and so on) must be done in a gel file. Create a New Target in CCS NOTE – the paths and other variables that are defined in this document may not reflect exactly the directory structure on your system. Use common sense and search to find the exact paths. Create a new target configuration: Select the CCS menu option View Target Configurations. Select User Defined. Right-click and select New Target Configuration. Enter the name of the new target configuration in the File Name: text box. Set the File name based on the EVM model, <model>.ccxml For example, ‘TCI6638.ccxml’ Leave the Location the default value: “C:\Documents and Settings\student\ti\CCSTargetConfigurations” Click the Finish button. The .ccxml file will now open in a GUI-based view with the Basic tab active. Define the new target configuration by selecting the connection type in the Basic Tab. The Connection drop-down menu identifies the emulator type. For example, ‘Texas Instruments XDS2xx USB Emulator.” Board or Device identifies the TI processor device, set it to 6638 and select TCI6638K2H Under Save Configuration, click the Save button.