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.

ezdsp 5515 running standalone using the codec, has anyone had this working?

Hi,

I've got a project where I am using the AIC3204 codec to stream audio data on the 5515 usbstk board, everything works fine in debug mode (in code composer v4). I've written a test project that flashes an LED, sends some UART data then reads from the codec and writes to the codec which works in debug mode, I've got everything commented out in the gel file and am doing all the initialization steps in the main code.

However, when I convert the .out file to a .bin and program the device it will hang when trying to do an AIC read. Everything else will work in standalone mode, flashing LEDs and using the UART pins, just not the codec.

Has anyone actually had the board working in standalone using the AIC3204_codec_read() codec?

Thanks in advance for any help,

James

  • Hi,

      Hope you would already checked, but incase if you haven't, can you check I2S clock and confirm its working at the expected frequency ?

    Regards

     Vasanth  

  • Hi Vasanth,


    Thanks for getting back to me. I can confirm that the I2S clock is running when in standalone opperation as it does in debug from probing R74 on the board. The word clock is also running at the correct sample frequency (8KHz). The only difference between standalone and debug operation when probing is there is no data on the din and dout lines.


    We have replicated the issue in a completely separate environment, on another PC with another ezDSP 5515, running one of the sample projects from the teaching ROM (chapter 9 - guitar effects) link: https://e2e.ti.com/group/universityprogram/educators/w/wiki/2040.c5000-teaching-rom out of the box, and have found exactly the same results. Works in debug but not in standalone. This would be easy for you to replicate.


    We have been through a lot of forum posts and have tried everything we have found, avoiding SARAM31, setting up all gel file functions in the main code, setting IDLE_ICR - 0x000E;asm(" nop_16");  asm(" idle");  at the very start.

    James

  • Hi James,

    Have couple of questions:

      Where is your current boot program residing ? 

      Is it possible to change boot option and check?

    Regards

     Vasanth