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.

TMS320C5515 DSP Kit

Other Parts Discussed in Thread: TMS320C5515, SPRC133, TMS320C5504, TMS320C5517

Hi,

I am using a kit which uses TMS320c5515

To be Specific : http://www.spectrumdigital.com/product_info.php?cPath=31&products_id=238

They have given an input/output Audio Jack and an expansion port for taking data into the controller. Unfortunately, I am not able to get an PCI slot for connecting the expansion port. So I thought to give the signal using the audio Jack. The signal which I am dealing with is in the range of 1Hz. only. ( I am dealing with biomedical signals).  I just got a simple code which takes the input and amplifies the signal and outputs it.The code worked well with signal with >62Hz.. As the frequency of the input signal lowers, something is getting wrong and the output is not coming proper.

 The audio input is taken into the processor via a codec ( is thr any issue of Low freq signal with codec ?? ) 

Following is the processor setting in the code

PLL frequency 100 MHz
REGISTER --- CONFIG VALUES
PLL_CNTRL1   8be8 --- 8be8
PLL_CNTRL2   080e --- 0806 Test Lock Mon will get set after PLL is up
PLL_CNTRL3   8000 --- 8000
PLL_CNTRL4   0000 --- 0000
Sampling frequency 6857 Hz Gain =  0 dBLL frequency 100 MHz

I gave the input using Matlab. A simple sine wave at different frequency sampled at 8192Hz .

Please help me out. I need to deal wil low frequency signal only.

 

  • Is there a typo in your PLL setting?

    For PLL frequency of 100 MHz:
    REGISTER --- CONFIG VALUES
    PLL_CNTRL1   8be8

    PLL_CNTRL2   8000

    PLL_CNTRL3   0806

    PLL_CNTRL4   0000

    Have you looked into the CSL examples? It can serve as good reference.

    Regards.

  • Hi,

    I took this example from TI site. I am not sure if the PLL setting s are wrong. I am not strong in the architecture.

    Could you please give me the link of the examples which you have suggested ?

  • CSL is SPRC133 under C5515 Product link Software.

    This is C5515 Product link: http://www.ti.com/product/tms320c5515

    This is the SPRC133 link: http://www.ti.com/tool/sprc133

    There are other topics in Product link.

    Regards.

  • I just tried one of the exmaple in the link mentioned..

    The following error came...can you help me the way out

    ERROR: option --include_path is missing its parameter 'dir'

    E:\TI\ccsv4\utils\gmake\gmake: *** [gpio_Input_Pin_Example.obj] Error 1
    E:\TI\ccsv4\utils\gmake\gmake: Target `all' not remade because of errors.

  • Have you follow the Release Notes to install and compile the library? Since you are using the C5515 eZdsp, you should use CSL version 3.01

    TMS320VC55XCSL-LOWPWR 03_01_00_05 Product Download Page

    http://software-dl.ti.com/dsps/dsps_public_sw/dsps_swops_houston/C55X/latest/index_FDS.html

    This is excerpted from the Release Note:

    "The purpose of this release is to fix the known bugs and make the CSL more reliable and more efficient in the Chip Support Library (CSL) software package for the TMS320C5504/05/14/15 DSPs.

    It also introduces a software package for the new TMS320C5517 DSP. This version has been tested on both Code Composer Studio

    The following platforms have been used for testing:

    C5515 EVM

    C5515 eZdsp USB Stick

    C5517 EVM"

    Regards.

  • Thanks for the link.

    I read the release notes and did the setting as mentioned there. I am still struggling with an error which pops

    when i try to build the examples given in the file. But projects which i got along with CCS4 is working fine also.

    Following is the message which is displayed in the console while i try to build the project

    =================================================================================================
    **** Build of configuration Debug for project CSL_GPIO_InputPinExample ****

    E:\TI\ccsv4\utils\gmake\gmake -k all
    'Building file: ../csl_i2c_ioExpander.c'
    'Invoking: Compiler'
    "E:/TI/ccsv4/tools/compiler/c5500/bin/cl55" -vcpu:3.3 -g --define="_DEBUG" --include_path="E:/TI/ccsv4/tools/compiler/c5500/include" --include_path="E:/C5505/CSL/ccs_v4.0_examples/gpio/CSL_GPIO_InputPinExample/Debug" --include_path="E:/TI/bios_5_41_02_14/packages/ti/bios/include" --include_path="E:/TI/bios_5_41_02_14/packages/ti/rtdx/include/c5500" --include_path="/packages/ti/xdais" --include_path="E:/C5505/CSL/inc" --include_path="E:/C5505/CSL/src" --include_path="" --diag_warning=225 --large_memory_model --ptrdiff_size=32 --algebraic --memory_model=huge --asm_source=algebraic --preproc_with_compile --preproc_dependency="csl_i2c_ioExpander.pp"  "../csl_i2c_ioExpander.c"
    ERROR: option --include_path is missing its parameter 'dir'

    E:\TI\ccsv4\utils\gmake\gmake: *** [csl_i2c_ioExpander.obj] Error 1
    'Building file: ../gpio_Input_Pin_Example.c'
    'Invoking: Compiler'
    "E:/TI/ccsv4/tools/compiler/c5500/bin/cl55" -vcpu:3.3 -g --define="_DEBUG" --include_path="E:/TI/ccsv4/tools/compiler/c5500/include" --include_path="E:/C5505/CSL/ccs_v4.0_examples/gpio/CSL_GPIO_InputPinExample/Debug" --include_path="E:/TI/bios_5_41_02_14/packages/ti/bios/include" --include_path="E:/TI/bios_5_41_02_14/packages/ti/rtdx/include/c5500" --include_path="/packages/ti/xdais" --include_path="E:/C5505/CSL/inc" --include_path="E:/C5505/CSL/src" --include_path="" --diag_warning=225 --large_memory_model --ptrdiff_size=32 --algebraic --memory_model=huge --asm_source=algebraic --preproc_with_compile --preproc_dependency="gpio_Input_Pin_Example.pp"  "../gpio_Input_Pin_Example.c"
    ERROR: option --include_path is missing its parameter 'dir'

    E:\TI\ccsv4\utils\gmake\gmake: *** [gpio_Input_Pin_Example.obj] Error 1
    E:\TI\ccsv4\utils\gmake\gmake: Target `all' not remade because of errors.
    Build complete for project CSL_GPIO_InputPinExample

    =================================================================================

    I am quite sure tht i messing up with some simple things..but i am not able to get what exactly..

    I hope you guys can help me out...

    Regards,

  • while looking through the setting of Build Properties

    : in the Build Properties - > Basic Options -> Include options

    its been written to

    Add Dir to #Include search path(--Include_path,-I)

    Do I need to modify anything here to get things on the right track  ???

  • I had the same problem with the TMS320C5515 eZdsp stick and the CSL. 

    Originally I thought the projects were building, but could not get an SD card recognized.

    I removed the last line from the Include search paths, and was able to compile them (after also loading and building the atafs_bios_drv_lib and removing the same line from its build configuration).

    1. Right-click on the project, and select Build Properties.

    2. Under C5500 Compiler, click Include Options.

    3.  The line to remove is: $(TCONF_OUTPUT_DIR):

    I suspect that there is actually supposed to be a directory defined after that, but it works without it.

    Note that I also had to specify in the linker the location of the cslVC5505.lib, which was already built in the install version.

    1. Under C5500 Linker, click on File Search Path

    2. Add: "C:\c55xx_csl_3.01\ccs_v4.0_examples\cslVC5505\Debug\cslVC5505.lib" , or whatever your path is

    3. Delete the other path to cslVC5505.lib