AnsweredAssumed Answered

Question about file write on Sharc DSP

Question asked by Quiwi on Apr 3, 2015
Latest reply on May 27, 2015 by jobo23

With ADSP21489 EZ-board, in the example project "21489 AD1939 C Block-Based Talkthru 48 or 96 kHz"

I want to write the input data to a txt file, so I added the following codes in the function "void process_audioBlocks()"


void process_audioBlocks()


     FILE* fp;

     memcopy(fBlockA.Rx_L1, fBlockA.Tx_L1, NUM_SAMPLES);

      memcopy(fBlockA.Rx_R1, fBlockA.Tx_R1, NUM_SAMPLES);


     fprintf(fp,"%.1f",fBlockA.Rx_L1); //just for testing




However, there was no output of DAC after I added these codes. The program stuck in ProcessingTooLong();

I moved the codes to the function handleCodecData(), aslo no output.


Need help for this problem, thanks!