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.

OMAP-L137: DA830DSK + Multichannel audio board with CCS 10 issue

Part Number: OMAP-L137

Dear all,

Good afternoon! 

I am starting to use DSKDA830 board + DA830 Multichannel Audio Board. Currently, I use it with CCS10 and TI v7.4.24 compiler versions. 

I've started with example code from DSKDA830_BSL_revf, which includes a library and multichannel board examples and include files. 

The example code for multichannel board consists of several test programs such as ADC/DAC loop test, sine tone to DAC output test and etc.

The example project was compiled using CCS3.3, so when I just load .out file from the example to the board, everything works perfectly. However, when I create a new project in CCS 10 and use the same codes, the same library, and the same linker file, the program cannot work.

The program stops at the same string all the time, when it tries to pass sine tone to DAC output of the multichannel board.

/* Play Tone */
for ( sec = 0 ; sec < 5 ; sec++ )
{
for ( msec = 0 ; msec < 1000 ; msec++ )
{
for ( sample = 0 ; sample < 48 ; sample++ )
{
/* Send a sample to the right channel rb */
while ( ! ( MCASP1_SRCTL5 & 0x10 ) );     //programm stops here
MCASP1_XBUF5_32BIT = (sinetable[sample] << 15) | 0x00000000;
/* Send a sample to the right channel c */
while ( ! ( MCASP1_SRCTL6 & 0x10 ) );
MCASP1_XBUF6_32BIT = (sinetable[sample] << 15) | 0x00000000;
/* Send a sample to the right channel rs */
while ( ! ( MCASP1_SRCTL7 & 0x10 ) );
MCASP1_XBUF7_32BIT = (sinetable[sample] << 15) | 0x00000000;
/* Send a sample to the right channel rf */
while ( ! ( MCASP1_SRCTL8 & 0x10 ) );
MCASP1_XBUF8_32BIT = (sinetable[sample] << 15) | 0x00000000;

/* Send a sample to the left channel lb */
while ( ! ( MCASP1_SRCTL5 & 0x10 ) );
MCASP1_XBUF5_32BIT = (sinetable[sample] << 15) | 0x00000000;
/* Send a sample to the left channel sw */
while ( ! ( MCASP1_SRCTL6 & 0x10 ) );
MCASP1_XBUF6_32BIT = (sinetable[sample] << 15) | 0x00000000;
/* Send a sample to the left channel ls */
while ( ! ( MCASP1_SRCTL7 & 0x10 ) );
MCASP1_XBUF7_32BIT = (sinetable[sample] << 15) | 0x00000000;
/* Send a sample to the left channel lf */
while ( ! ( MCASP1_SRCTL8 & 0x10 ) );
MCASP1_XBUF8_32BIT = (sinetable[sample] << 15) | 0x00000000;


}
}
}

Anyone can help with this issue?

Thank you!

Regards

Valiantsin