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.

How to start with EVM 5505

Other Parts Discussed in Thread: TMS320C5505

Hello,

I`m a student and new to DSP programming (and µC) and  my current work is to compare the TMS320C5505 with current µC for my company.

So I have many questions but I think I will ask the most urgent first ;-)

1. First of all I checked the IDEs CCS 3.3 and CCS 4.x Do you recommend to use CCS > 4.x? Because of CCS 3.3 is shipped with the EVM. But I think >4.x is much more comfortable.

2. Furthermore I searched for beginners guides or tutorials to get started with first own example projects (I`ve found CSL example projects and the EVM Sample). I only found the reference guides that are interresting... but not very useful for beginners ;-)

3. Can I use Pulse Oximeter TMDXMDKPO8328 and ECG TMDXMDKEK1258 Analog Front End Modules at the same time?

4. How to get the FFT_Filter_Demo for the 5505-ezdsp work on the EVM?

best regards

Steffen

  • Hi Steffen,

     

    Welcome to the C5000 DSP user base. We would like to answer your questions and help to get you started with the C5505 DSP.

     

    1. We recommend using CCS4.x – You can find documentation and the latest downloads for CCS4 at the CCS4 Wiki Page.

    2. To learn about CCS4 (creating projects, build steps, etc.), the CCS4 Wiki Page has a nice Getting Started with CCSv4, and CCSv4 Quick Start Guide. You may also find some useful information on the C5000 Wiki and the Spectrum Digital Support Sites: C5505EVM Support, C5505eZdsp Support. Here you can find more test code, board-level schematics, etc.

    3. You cannot use the both the pulse oximeter analog front end and the ECG analog front end at the same time, because only one can be attached to the C5505 EVM at a time - These analog front ends attach to the EVM through three stake headers. It may be possible to incorporate both applications into a custom design with custom software.

    4. To get the FFT Filter Demo running on the EVM, you must replace some source code to account for the codec being connected differently on the EVM. The codec on the eZdsp is mapped to I2S0 of the C5505 DSP. But on the EVM, the codec is mapped to I2S2. As a result there are several changes necessary to the source code. I will make these changes and publish the FFT Filter Demo for the EVM. When I do this, I will reply to this forum.

     

    In addition to the I2S difference, the EVM does not have a dedicated crystal oscillator for the Codec, so we must supply the clock to the codec from the C5505 DSP:

     

    Configure the I2S peripheral on the DSP to be Master (Codec Slave):

    In main.c

    Uncomment

          //set_i2s0_master();

    Comment

          set_i2s0_slave();

     

    In codec_routines.h,

    Change

          DO_I2S_MASTER   .set     0    

    To

          DO_I2S_MASTER   .set     1    

    In dma_routines.c/h,

    Change ALL INSTANCES of DMA0 to DMA1, because only the DMA0 engine can access the I2S0 peripheral, and only DMA1 can access the I2S2 peripheral.

     

    Additionally Change

          DMA0_CH0_DST_LSW = 0x2808;      // i2s0 transmit left data register lsw

    To

          DMA1_CH0_DST_LSW = 0x2A08;      // i2s2 transmit left data register lsw

     

    Change

          DMA0_CH1_DST_LSW = 0x280C;      // is20 transmit right data register lsw

    To

          DMA1_CH1_DST_LSW = 0x2A0C;      // is22 transmit right data register lsw

     

    Change

          DMA0_CH2_SRC_LSW = 0x2828;      // i2s0 receive left data register lsw

    To

          DMA1_CH2_SRC_LSW = 0x2A28;     // i2s2 receive left data register lsw

     

    Change

          DMA0_CH3_SRC_LSW = 0x282C;      // is22 receive right data register lsw

    To

          DMA0_CH3_SRC_LSW = 0x282C;      // is22 receive right data register lsw

     

    You may find these documents more interesting with the goal of understanding these modifications:

     

    I2S User’s Guide: http://www.ti.com/litv/pdf/sprufp4a

    DMA User’s Guide: http://www.ti.com/litv/pdf/sprufo9

    Codec Datasheet: http://www.ti.com/lit/gpn/tlv320aic3204

     

    Perhaps the best one to start with is the VC5505 DSP System User’s Guide: http://www.ti.com/litv/pdf/sprufp0a

     

    Let us know if you have more questions. I will let you know where to find the modified EVM code, once I finish the port.

     

    Hope this helps,

    Mark

  • Hey Mark,

    Thank you very much for your kind help and the good overview

    After I had a fight with my computing yesterday (Had to switch my company "student PC" from Win 2k to Win XP for CCS 4.x...) I`m ready to get started with further steps.

    I`ll try the needed changes you`ve suggested for the FFT Filter Demo and looking forward for your release cause I`m still not very firm with coding on µC/DSP

    So long,

    Steffen