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.

TAS2563QFNEVM: Audio recording using PDM microphone in the TAS2563

Part Number: TAS2563QFNEVM
Other Parts Discussed in Thread: TAS2563

Requesting to provide the work flow of the PDM microphone use case in the TAS2563.
Looking for support on using the microphone for recording an audio file.

  • Hi Harshith,

    You should select the PDM process flow option at the Tuning and Audio Processing panel using PPC3 software, then configure the TAS2563 device to send PDM data using SDOUT slots using the Device Control panel within PPC3.
    Once that is setup, you should select the EVM soundcard as the recording device and use an audio software such as Audacity to start recording while the device is active.

    I can setup the EVM on my side and share some guideline documentation later in the week.

    Best regards,
    -Ivan Salazar
    Applications Engineer

  • Hi Ivan,
    May I request to share guideline documentation for the PDM recording.

  • Hi Harshith,

    Please refer to section 4 of this document: TAS2563 PDM Microphone Interface and Echo Reference

    Let me know if you have any questions.

    Best regards,
    -Ivan Salazar
    Applications Engineer

  • Hi Ivan,

    I don't have much knowledge on using PPC3 tool since I am very new to it.
    I have following questions regarding the same.

    1. What is the outcome of the PPC3 tool? Is it coef.bin file (for TAS2563 - tas2563_coef.bin) ?
    2. AS per the TAS2563 PDM Microphone Interface and Echo Reference document, the pins 9 & 24 can be selected as PDM input to perform the audio recording? Because as per my understanding, the PDM in TAS2563 is for internal use like smart amp DSP for echo cancellation and speaker protection.
    Here I am not clear about the smart amp functionality.

    3. Here you mean SDOUT slots are nothing but I2S/SAI? I am referencing to I2S because I am connecting TAS2563 to i.MX95 SOC.
    4. How are we configuring the L/R lines here (Mono & Stereo).

    Here is the HW connection looks line in our setup.

  • I installed PPC3 tool and made a login. Now how do I add TAS2563QFN EVM ?

  • Hi,

    1. What is the outcome of the PPC3 tool? Is it coef.bin file (for TAS2563 - tas2563_coef.bin) ?

    PPC3 generates .h and .bin files. If you're using linux-based system driver, the .bin file generated by PPC3 should be the same as tas2563_coef.bin.

    2. AS per the TAS2563 PDM Microphone Interface and Echo Reference document, the pins 9 & 24 can be selected as PDM input to perform the audio recording? Because as per my understanding, the PDM in TAS2563 is for internal use like smart amp DSP for echo cancellation and speaker protection.

    Here I am not clear about the smart amp functionality.

    PDM interface is for recording only, this means the microphone data will be transmitted to the host SoC through SDOUT pin (I2S/TDM interface). The microphone data is not used for any internal processing in TAS2563.

    3. Here you mean SDOUT slots are nothing but I2S/SAI? I am referencing to I2S because I am connecting TAS2563 to i.MX95 SOC.

    Correct

    4. How are we configuring the L/R lines here (Mono & Stereo).

    The device will receive data for 2 microphones using the same CLK and DATA signals, note this is double-data rate so one microphone transmits data on high state and the other in low state of CLK.

    I'll double check your access to TAS2563 app access; you should receive confirmation email soon.

    Best regards,
    -Ivan Salazar
    Applications Engineer

  • Hi Ivan,
    Thanks for the updates. May I request you to provide a coef.bin file enabling "the PDM process flow option at the Tuning and Audio Processing panel using PPC3 software, then configure the TAS2563 device to send PDM data using SDOUT slots using the Device Control panel within PPC3."

    Also what you mean by EVM soundcard?
    Is it a kind of evaluation board? or is it just only a SW configuration?

    As mentioned earlier, we are using Data brief - STEVAL-MIC006V1 - Microphone coupon board based on the MP23DB01HP digital MEMS microphone
    this part number as microphone.

    ...


  • The TAS2563 EVM works as a soundcard when connected to a Windows system. I initially thought you were using the EVM to test but it seems you skipped this and trying to test directly on a custom platform.

    I can share the output files from PPC for a default configuration, but it is not clear if that will be compatible with your platform. Please comment on the below and I can adjust the settings based on that.

    • what is your sampling rate? it should be the same as your FSYNC clock frequency.
    • what is your word length? 16, 32-bit or?
    • what is the format? I2S, TDM?
    • are you using only 2 channels of data?

    Best regards,
    -Ivan Salazar
    Applications Engineer

  • Hi Ivan, please find the inline response.

    This is the command I am using to generate a .wav file
    arecord -D plughw:1,0 -f S16_LE -r 16000 -c 1 -v pdm_test.wav

    Hopefully this will clear the requirement, but also find the inline response.

    • what is your sampling rate? it should be the same as your FSYNC clock frequency.
      • Sampling rate is 48Khz
    • what is your word length? 16, 32-bit or?
      • word length is 16bit 
    • what is the format? I2S, TDM?
      • I2S
    • are you using only 2 channels of data?
      • Mono (single channel)



  • Hi Harshith,

    e2e is having trouble with attachments right now, I'll try to get the bin files to you through FAE team.

    Best regards,
    -Ivan Salazar
    Applications Engineer