Microphone Input Using ADAU1977 With ADSP-21569-EZKIT

Hi All,

Can anyone refer me to an example of using the ADAu1977 for microphone input with the ADSP-21569-EZKIT? My team has successfully worked with audio coming from the RCA channels through the ADAU1979, however, we would live to get live microphone input using the ADAU1977. We are struggling to find examples for the 1977, so if anyone has advice or examples that would be greatly appreciated!

Thank you!

Vienna

  • 0
    •  Analog Employees 
    on Mar 9, 2021 2:07 PM

    Hello Vienna,

    We don't have any available Audio passthrough example for ADSP-21569 Ezkit which uses Quad ADC ADAU1977. But you may refer the 'chan_freq' example for ADSP-SC584 Ez-kit which reads the ADC channels and detect the frequency of the input signals.

    For more information about this project, please refer the Readme_chan_freq.html file carefully which is available along with this project.

    You can find the "chan_freq" example project in the below path after installing the ADSP-SC5XX BSP.
    <Installation directory>\Analog Devices\ADSP-SC5xx_EZ-KIT_Lite-Rel2.0.2\ADSP-SC5xx_EZ-KIT\Examples\drivers\adc\adau1977.

    You can download and install the Board Support Package for SC5xx from the below link download.analog.com/tools/EZBoards/SC5xx/Releases/Release_2.0.2/ADI_ADSP-SC5xx_EZ-KIT_Lite-Rel2.0.2.exe

    For Quad ADC ADAU1977, driver files are available in the below BSP path and you may utilize them for your requirement.
    <Installation directory>\Analog Devices\ADSP-SC5xx_EZ-KIT_Lite-Rel2.0.2\ADSP-SC5xx_EZ-KIT\src\drivers\adc\adau1979

    Also you can find the SoftConfig file for the ADAU1977 in the below ADSP-21569 BSP installation path.
    <Installation directory>\Analog Devices\ADSP-2156x_EZ-KIT-Rel1.0.0\ADSP-2156x_EZ-KIT\Examples\Power_On_Self_Test\EZ-Board\21569\ConfigFiles\soft_config\SoftConfig_21569_ADAU1977.c

    Before implementing your requirement in 21569, here we are suggesting to do an analysis on this chan_freq project with help of hardware schematics of ADSP-SC584 EZkit to know the difference about how quad ADC is implemented in ADSP-21569 Ezkit, SRU routing, SPORT and TWI configurations.

    Hope this will help you.

    Regards,
    Santhakumari.K

  • Hello Santhakumari,

    Thank you for your reply! I already tried using this ADSP-SC584 chan_freq example, and it looks like most of the configurations are quite different from the ADSP-21569-EZKIT. Is there by any chance an example that is more tailored to the ADSP-21569-EZKIT?

    What would be the most straightforward way to connect an external microphone to the ADSP-21569-EZKIT? Perhaps the ADAU1977 isn't the best option?

    Thank you for your help,

    Vienna

  • 0
    •  Analog Employees 
    on Mar 12, 2021 2:14 PM in reply to vscheyer

    Hello Vienna,

    Unfortunately we do not have readily available example for microphone input to ADSP-21569 Ezkit.
    Regarding "I already tried using this ADSP-SC584 chan_freq example, and it looks like most of the configurations are quite different from the ADSP-21569-EZKIT".
    >>>For Quad ADC 1977 configuration in 21569 EZkit, you may refer the adi_post_mic_bias_test in "Power_On_Self_Test" example in 21569 Ezkit BSP installation path.
    You can find the ADAU_1977_Pllinit and ADAU_1977_Init functions in mic_bias_test.c file in the project. The mic_bias_test.h file also contains most of the ADAU1977 ADC registers's addresses which are required to do a mic bias test on ADAU 1977. Please note this project is for Mic_bias testing purpose only.

    If you face any linker errors with adi_post_hadc_test and adi_post_tmu_test when you build POST, please do the following steps to resolve the error.

    After importing POST example of BSP Rev. 1.0.1, you can find the hadc_test.c and tmu_test.c files by navigating as follows src->common->source of the POST project in project Explorer window.

    Please find the below procedure to include the files.
    1.Do Right click on the files (hadc_test.c, tmu_test.c)-> properties-> C/C++ Build-> Settings ->Tool Settings Tab and Uncheck the box "Exclude resource from the build".
    2.Click "Apply" and then "Apply and close" options.
    3.Rebuild your project.

    Best Regards,
    Santhakumari.K