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.

AIC3204 only receiving if not in debug

I have a program that runs fine under the CCS4 debugger.  When I transfer the program to flash the program does run but it only outputs audio.

It does not process the audio I put into it.

If I hit it with high level audio momentarily it starts to work.

I have added the code from the GEL file to my main.

It is basically the AIC3204 sample program that came with the IDE that I modified.

I am running the main clock at 100 MHz and a sample rate of 16 kHz.

I have tried adding delays at different points in the boot up without success.

Any help would be appreciated.

 

Thanks,

Sam Virgillo

 

  • Problem solved...    Basically the problem was with the configuration of the codec in the sample file I copied (AIC3204).

    The configuration registers for CM routing (1,54 & 1,57) were all wrong.   Not sure why it worked while connected to the debugger.

    SV