Hi,
For several days I try to generate a BCLK clock from the IMX6 for a TAS2562.
The tas2562 is in slave mode, he has is own MCLK clock internally.
The TAS2562 need a BCLK at 3MHz and WCLK at 48KHz
Before, I used a TAS2552 with an external MCLK. Is there a relation with the external MCLK and the BCLK generated by the IMX ?
My imx-tas2562.c (dai_init function) :
Is the function have an impact on the BCLK generation ?
Could you explain me how to generate my BCLK from my IMX without external MCLK ?
Best regards,
PINEAU Henri
Hi,
Actually, I have a BCLK and WCLK. The WCLK have a 48KHz frequency and the BCLK the same.
Normally WCLK = n*BCLK. I don't now where my BCLK comes from ! I'm sure it is internal because there is no MCLK on the TAS2562. And I can't change the frequency.
Is it clearer ?
Best regards
Henri
Hi Henri
please look at sgtl5000 connections and software designed by
boundary devices, TAS2562 should have similar connections
as on p.7 schematic https://boundarydevices.com/sabre_lite-revD.pdf
Best regards
igor
Hi Igor,
I have the similar connections and the hardware is ok. The mclk of the TAS2562 is internal. There are just DIN, DOUT, BCLK and WLCK are provided by the IMX. So I don't have mclk generate from the IMX. There is a link between mclk and the bclk ?
Best regards,
Henri
Hi Henri
>There is a link between mclk and the bclk ?
for i.MX6DQ - no.
for TAS2562 suggest to check its datasheet or ask
its vendor - https://e2e.ti.com/support/amplifiers/f/14
Best regards
igor
Hi Igor,
The tas2562 is a slave module, so the bclk must be generated by the IMX.
My DT for the TAS2562 :
Best regards,
Henri
Hi Henri
you can try any suggested boundarydevices audio examples,
for example using sgtl5000 and you will see bclk.
Audio amplifier example
https://community.nxp.com/thread/384918
Best regards
igor
Hi PINEAU
>Could you explain me how to generate my BCLK from my IMX
one can look at sect.61.8.4.1 SSI Clock and Frame Sync Generation
i.MX 6Dual/6Quad Applications Processor Reference Manual
also one can look at audio overview from boundary devices
https://boundarydevices.com/audio-output-selection-under-linux-on-i-mx6/
https://boundarydevices.com/tag/audio/
Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------