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.

CCS/TMS320C5505: How to Save Real Time Data to Host Computer

Part Number: TMS320C5505


Tool/software: Code Composer Studio

Hi everyone! As I am new to this platform, are there any method in c programming that can save real time data read from the TMS320C5505 to a file located inside the host computer for later analysis? If there is please locate me there! :) Thanks!!!

  • You can certainly send serial UART data to the PC and use a terminal program to capture it.

  • Please see if you can find further guidance in the following

    CCS Help(Help -> Help Contents -> Code Composer Studio Help -> Views and Editors -> Memory View -> Data File Formats)

  • Thanks for the reply, are there example of how to use UART on this platform? As I am not familiar with this platform.

  • Thanks for the reply!!! When this actually shown me a solution to the problem, It leads to another question:

    The memory (DRAM) of the TMS320 is limited, it only allows me to allocate about 5000 Int16 before out of memory error occurs. When I am required to get at least 480000 Int16 for speech enchancement, saving to local computer is the only solution. The solution provided by the help center can save the memory data to a local file, which is the 5000 data points. Are there any method to real time save down the data without repeatly save the memory data inorder to capture all 480000 datapoints? Thanks sooo much :))))

  • Hi Harry,

    Following up on the suggested use of UART to transfer to the host...

    What throughput do you require? Does it have to be realtime audio or could you capture some audio then send it slowly across to the host?   

    UART examples are included with the Chip Support Library
    http://www.ti.com/tool/sprc133
    After installation, UART examples will be under <INSTALL_PATH>\c55_csl_3.08\ccs_v6.x_examples\uart

    The C5505 has 320kB on-chip memory for both program and data. That is not big enough to hold 480000 Int16 data - thats almost 1MB of data.

    I think you'll need to use the EMIF to save this data to SDRAM
    4M x 16-Bit Maximum Addressable External Memory Space (SDRAM/mSDRAM)
    See the SDRAM examples in the CSL: <INSTALL_PATH>\c55_csl_3.08\ccs_v6.x_examples\emif\CSL_EMIF_SDRAM_DmaTest_example

    There are  some other options to transfer data to the host:
    * Make the C5505 a USB device to the host
    * I2S audio stream to the host
    * Use Code Composer Studio (during development) - see CSL examples <INSTALL_PATH>\c55_csl_3.08\ccs_v6.x_examples\usb

    Regards,
    Mark