Post Go back to editing

Stuck in Loop in the ADC DAC Playback Example with ADSP-SC584

Hello,

I´m using ADZS-SC584-EZLITE Board with ICE-1000 and I wated to test the Dac with an Example-Project. I´m not sure which Version of the Playback-Project (ADSP-SC573 || ADSP-SC589) I should test.

I tried both Projects and changed the SoftConfig Source File for these Projects with the SoftConfig for SC-584. I commented out the Playback define (#define PLAYBACK) to run this Project in analog loop-Back. I connected the very left 4 Outputs with the 4 Inputs (INP1 to OUT1, INP2 to OUT2 etc.) like in the Readme.

When I step through the Code I noticed that I get stuck in the while-Loop with the ProcessBuffers()-Function. The AdcCounter and DacCounter stay both at 0.

Does anyone made the same experience with those Projects.

Which Project is the better choice for my Board (ADC DAC Playback SC-573, ADC DAC Playback SC-589, ASRC Playback SC-589).

Can someone help me please

If additional Information are needed than let me knnow.

Regards 

Viktor 

It seems that the Callbackfunction of the DAC and ADC never get triggered to apply the GetDac and GetAdc Pointers with new values

have someone get confroned with the same issue.

I realy need help 

Regards

Viktor



Additional Information
[edited by: DSP_MAXC at 3:30 PM (GMT 0) on 18 Mar 2019]
Parents
  • Hello,

    We are able to run the ADC_DAC_Playback example successfully in ADSP-SC584 EZ-KIT.

    We have tried the example which is available in the below BSP location and just ported the example to ADSP-SC584. Also commented out the #define PLAYBACK in adc_dac_playback.h file.
    C:\Analog Devices\ADSP-SC5xx_EZ-KIT_Lite-Rel2.0.2\ADSP-SC5xx_EZ-KIT\Examples\drivers\adc\adau1979\adc_dac_playback\SC589

    Regards,
    Santha kumari.K

  • Dear Santha Vijay,

    Could you share the ported ADC DAC Playback example source file for ADSP-SC584?

    I'm in trouble with porting ADC DAC Playback example from ADSP-SC589 to ADSP-SC584.

    Thanks for your support!

Reply Children
  • Hello,

    Apologies for the inconvenience caused.

    Yes. We have locked this issue in our bug tracking database and we will fix this in future release of CCES.

    It is because of the changes in sru_config.c with the latest CCES version. Can you please add the below lines of code in the adc_dac_playback.c after the call to adi_initComponents() function

    /* PADS0 DAI0 Port Input Enable Control Register */
    *pREG_PADS0_DAI0_IE = (unsigned int) 0x001FFFFE;

    /* PADS0 DAI1 Port Input Enable Control Register */
    *pREG_PADS0_DAI1_IE = (unsigned int) 0x001FFFFE;

    Best Regards,
    Santhakumari.K

  • Dear Santhakumari.K,

    Thanks for your reply.

    I'll try the lines that you share.

    Thanks again~!