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.

TLV320AIC3007: tlv320aic3007 linux driver report error "failed to init class D -6"



Hello,

We designed an embedded board for RK3288 with codec chip(tlv320aic3007).The sound of the speaker is particularly low when playing music。The chip's power supply voltage is normal。The audio chip driver reported an error while the system was running。 “tlv320aic3x-codec 2-0018: Failed to init class D: -6”。Please help analyze what is causing this and how to solve it. Thank you!

codec.png (1153×875)

  • Hi Kailyn,

    First, it doesn't look like you're using the Class-D outputs on the SPOP and SPOM pins and are taking the output from the headphone driver outputs in the device on the HPLOUT and HPROUT pins.  Is this the intended operation?  The SPOP and SPOM outputs can deliver much more power at 1W into an 8Ohm load.

    Could you please share the register configuration of the AIC3007 so we can see how it's being configured?

  • Hello Kailyn,

    As a follow up to Collin's post, I want to note a couple of things:

    1. Unused inputs should be terminated to GND via .47uF cap. 

    2. The minimum load resistance for headphone outs is 16ohms.

    Regards,

    Aaron