This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

signal passthrough VC5505

Other Parts Discussed in Thread: TMS320VC5505, CCSTUDIO

Hi,

I'm completely new to DSP programming and I could use some help to get me started. I'm working on a university project with the TMS320VC5505 Evaluation Module. I'm using the Code Composer Studio 3.3 (included in package) and have downloaded all example projects that I could find and was also able to run them.

However, I have not found a simple "Hello World"-kind of program, which would just pass a signal from Stereo In through to Stereo Out. Could anyone provide such a program for me or at least give me some hints as how to get started on this? Since I'm completely new to this topic I find all the examples I have found way too confusing and I think this could really help me to get at least a starting point from where I can explore a little more.

Thanks a lot!

  • Hello Juliane,

    Have you seen the examples provided by Spectrum Digital on their EVM5505 Support Page? Scroll down to "EVM5505 Test Code" and download the EVM5505_BSL_revd.zip  file.

    Once you extract the zip file, open the following two projects in CCS 3.3:

    AIC_test:
      * Outputs a Sinusoid to the Codec
      * Written in Assembly...
      * Path to project in zip file: evm5505_v1\test\source\AIC_test\build\AIC_test.pjt

    EVM_Sample.pjt:
      * Executes EVM5505 demo - LCD Screen, Push-Button User Interface, Outputs 1KHz & 2KHz sinusoidal tones to codec
      * Written in mixed C & Assembly
      * Path to zip file in EVM5505_BSL_revd.zip:   evm5505_v1\demo\EVM_Samples.zip (unzip this file)
      * Path to project in EVM_Samples.zip:   EVM_Samples\EVM_Sample\EVM_Sample.pjt

    Also, the Chip Support Library includes several examples, but none involving communication with the Codec.

    Finally, the USB_Stick_AudioFilter1.zip on our C5505 EZDSP website demonstrates almost exactly what you are looking for. It receives samples from the codec, filters them with a low-pass FIR, and outputs samples back to the codec. This project is written for the C5505 EZDSP and requires minor code modifications to work on the C5505 EVM. Those changes are documented in this similar post ( Note that the changes required for FFT_Filter_Demo are the same as those required for the USB_Stick_AudioFilter).

    Hope this helps,
    Mark

  • Hi Mark,

    thanks for your fast reply!

    I have indeed looked at the examples you mentioned, however I don't know how to define the Stereo In as Inputs, so that there's not a generated signal, but the output is the same as the input.

    I have tried to configure the USB_Stick_AudioFilter1.prj and I think I have actually understood how this works. However, it won't debug. I tried including the rts55.lib, because I read this is a common mistake, but I keep getting the following error message:

    -----------------------  EZDSP_AudioFilter.pjt - Debug  -----------------------
    [aic_test_i2c.asm] "C:\CCStudio_v3.3\C5500\cgtools\bin\cl55" -g -mg -pdsw225 -fr"C:/Users/Jule/Documents/uni/dsp/projekte/USB_Stick_AudioFilter1/USB_Stick_AudioFilter/project/Debug" -i"../inc" -d"_DEBUG" -d"C55X" -vcpu:3.3 --memory_model=huge -@"Debug.lkf" "aic_test_i2c.asm"

    [dma_bypass1.c] "C:\CCStudio_v3.3\C5500\cgtools\bin\cl55" -g -mg -pdsw225 -fr"C:/Users/Jule/Documents/uni/dsp/projekte/USB_Stick_AudioFilter1/USB_Stick_AudioFilter/project/Debug" -i"../inc" -d"_DEBUG" -d"C55X" -vcpu:3.3 --memory_model=huge -@"Debug.lkf" "dma_bypass1.c"

    [fir.asm] "C:\CCStudio_v3.3\C5500\cgtools\bin\cl55" -g -pdsw225 -fr"C:/Users/Jule/Documents/uni/dsp/projekte/USB_Stick_AudioFilter1/USB_Stick_AudioFilter/project/Debug" -i"../inc" -d"_DEBUG" -d"C55X" -vcpu:3.3 --memory_model=huge -@"Debug.lkf" "fir.asm"

    [i2s_bypass1.c] "C:\CCStudio_v3.3\C5500\cgtools\bin\cl55" -g -mg -pdsw225 -fr"C:/Users/Jule/Documents/uni/dsp/projekte/USB_Stick_AudioFilter1/USB_Stick_AudioFilter/project/Debug" -i"../inc" -d"_DEBUG" -d"C55X" -vcpu:3.3 --memory_model=huge -@"Debug.lkf" "i2s_bypass1.c"

    [i2s_register.asm] "C:\CCStudio_v3.3\C5500\cgtools\bin\cl55" -g -mg -pdsw225 -fr"C:/Users/Jule/Documents/uni/dsp/projekte/USB_Stick_AudioFilter1/USB_Stick_AudioFilter/project/Debug" -i"../inc" -d"_DEBUG" -d"C55X" -vcpu:3.3 --memory_model=huge -@"Debug.lkf" "i2s_register.asm"

    [main_bypass1.c] "C:\CCStudio_v3.3\C5500\cgtools\bin\cl55" -g -mg -pdsw225 -fr"C:/Users/Jule/Documents/uni/dsp/projekte/USB_Stick_AudioFilter1/USB_Stick_AudioFilter/project/Debug" -i"../inc" -d"_DEBUG" -d"C55X" -vcpu:3.3 --memory_model=huge -@"Debug.lkf" "main_bypass1.c"

    [ref_data_bypass1.c] "C:\CCStudio_v3.3\C5500\cgtools\bin\cl55" -g -mg -pdsw225 -fr"C:/Users/Jule/Documents/uni/dsp/projekte/USB_Stick_AudioFilter1/USB_Stick_AudioFilter/project/Debug" -i"../inc" -d"_DEBUG" -d"C55X" -vcpu:3.3 --memory_model=huge -@"Debug.lkf" "ref_data_bypass1.c"

    [vector.asm] "C:\CCStudio_v3.3\C5500\cgtools\bin\cl55" -g -mg -pdsw225 -fr"C:/Users/Jule/Documents/uni/dsp/projekte/USB_Stick_AudioFilter1/USB_Stick_AudioFilter/project/Debug" -i"../inc" -d"_DEBUG" -d"C55X" -vcpu:3.3 --memory_model=huge -@"Debug.lkf" "vector.asm"

    [Linking...] "C:\CCStudio_v3.3\C5500\cgtools\bin\cl55" -@"Debug.lkf"
    <Linking>
    >> warning: entry point other than _c_int00 specified

    undefined                        first referenced
     symbol                              in file
    ---------                        ----------------
    _reset_RTC                       C:\\Users\\Jule\\Documents\\uni\\dsp\\projekte\\USB_Stick_AudioFilter1\\USB_Stick_AudioFilter\\project\\Debug\\main_bypass1.obj
    _enable_rtc_second_int           C:\\Users\\Jule\\Documents\\uni\\dsp\\projekte\\USB_Stick_AudioFilter1\\USB_Stick_AudioFilter\\project\\Debug\\main_bypass1.obj
    _RTC_Isr                         C:\\Users\\Jule\\Documents\\uni\\dsp\\projekte\\USB_Stick_AudioFilter1\\USB_Stick_AudioFilter\\project\\Debug\\vector.obj
    >>   error: symbol referencing errors - './Debug/EZDSP_Sample.out' not built

    >> Compilation failure

    Build Complete,
      2 Errors, 1 Warnings, 0 Remarks.
    -------------------------------------------------------------------------------------

    But these symbols are actually defined in the file rtc.h and I have that included. I don't know what else I have to change. I'm guessing the problem is in the entry point warning, but where can I change the entry point?

    Thank you for your help.

    Regards,
    Juliane