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.

TAC5301-Q1: The application issues of chips

Part Number: TAC5301-Q1

Background: We are now going to adapt the codec tac5301 for the customer.  There are several TI configuration items that need to be confirmed.


Is this correct?  The above is the TI device tree configuration parameters (TAC5x1x-YAML) we found on the official website.  Please confirm.  Thank you!

mmexport1767887825600.jpg

  • Hi,

    A few notes - first, you will want to set the compatible parameter to "ti,tac5311" since this is the closest equivalent to the TAC5301. Note that the TAC5311 has diagnostics but the TAC5301 does not, and the sample rate range is a bit more limited on the TAC5301. 

    Next, in the section you highlighted, note that the in-ch-en and out-ch-en options will not do anything since this device does not have diagnostics. You may want to set these to 0 just to be sure. Also, with your GPIO functions, it looks like GPIO1 will be PDMCLK output, but you have all the drives set to hi z, so the output will be floating. I would recommend setting the output for that pin to active low and active high (1) if you want the pin to drive itself high and low. 

    I assume if you want PDM CLK out, you will be using GPIO2 for the digital microphone input - if so, you will need to set the ti,pdm-input-pins option to the pin you are using. Otherwise the device will not know that there is a PDM input.

    Let me know if you have more questions.

    Best,
    Mir

  • Hi Mir,

    Thanks for the support and I just looped you to Email discussion.

    Best,
    Ethan

  • I will close this thread for now.