First, I am an absolute beginner to C5000 and C5535 eZdsp USB Stick Development Kit, so don't expect any DSP rocket science here. This topic is about modifying C5505 and C5515 demo's, written previously for the C5505/C5515 USB Stick demo boards, to run on the new C5535 eZdsp USB Stick Development Kit.
Last weekend I was looking for any kind of lessons, tutorials or whatever you like to call it, for the C5535 eZdsp USB Stick Development Kit. The only closest thing I could find related to this board was: http://www.ti.com/ww/eu/university/roms.html. Al the modifications are pretty trivial but, being an absolute beginner, I spent a few hours last weekend to figure it out. So, don't waste your time too, follow this instructions instead.
Download the C5000 Teaching ROM from: http://www.ti.com/ww/eu/university/cd-rom/C5505.zip. This is a great learning material. A big THANK YOU to the authors.
To be able to run this lessons to your board, there is one very simple modification: The C5535 eZdsp USB Stick Development Kit use I2S2 instead of I2S0. All you have to do is to replace I2S0 text with I2S2 everywhere in the files aic3204_init.c and aic3204.c . Also, in the file usbstk5505.h insert the following lines:
#define I2S2_CR *(volatile ioport Uint16*)(0x2A00)
#define I2S2_SRGR *(volatile ioport Uint16*)(0x2A04)
#define I2S2_W0_LSW_W *(volatile ioport Uint16*)(0x2A08)
#define I2S2_W0_MSW_W *(volatile ioport Uint16*)(0x2A09)
#define I2S2_W1_LSW_W *(volatile ioport Uint16*)(0x2A0C)
#define I2S2_W1_MSW_W *(volatile ioport Uint16*)(0x2A0D)
#define I2S2_IR *(volatile ioport Uint16*)(0x2A10)
#define I2S2_ICMR *(volatile ioport Uint16*)(0x2A14)
#define I2S2_W0_LSW_R *(volatile ioport Uint16*)(0x2A28)
#define I2S2_W0_MSW_R *(volatile ioport Uint16*)(0x2A29)
#define I2S2_W1_LSW_R *(volatile ioport Uint16*)(0x2A2C)
#define I2S2_W1_MSW_R *(volatile ioport Uint16*)(0x2A2D)
in the I2S Module section.
To run the demo's follow the lessons. I created a new project for a C5535 chip, runtime suport library to automatic, then unpack the lesson in the project folder. Set the project properties to: chip version silicon as 5515, Runtime Model Options to 32 bit and the memory model to huge, as stated in the first lesson. The target configuration I used to debug was XDS100v2 and EZDSP5535. I also modified the PLL lock frequency in the source code to 100 MHz. For me it worked. The CCS version was 4.2.4.00033. Any questions or observations are welcomed.
With this modifications I was able to run the first, second and the last (20'st) project from the tutorial. Yeaaaa, it works!
:o)
If there are some other tutorials for this board (or any other board, but easy to adapt to C5535 eZdsp) on the Internet, please let me know.