Hi,
I want driver souce for TAS5706b audio power amplifier chip.
Thanks,
Saurabh
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.
Hi Saurabh,
Which driver are you refering to? Is it for the GUI tool?
-Ravi
Hi,
We have used TAS5706b audio amplifier chip with ARM processor.
We are controlling the Audio output with TAS5706b.
I need basic driver code for this. Any document discribes the base initialization and interface that also works for me.
- Saurabh
Saurabh,
Sorry we do not have a driver for the TAS5706. If a list of I2C commands will help, these can be generated through the GUI.
-Ravi
Hi,
Ravi
Can you provide me minimal souce code or steps with with i can test?
There is no other document than the tas5706b.paf datasheet?
Thanks,
Saurabh
Hi Saurabh,
The following set of I2C commands will enable the TAS5706b to play audio..(with valid supply level's & I2S input data).
Register Write Comments
0x1B x00 (Trim Register, note read-back will be xC0)
0x05 x00 (Exit Shut-Down)
0x07 x?? (Unmute & set volume). The "??" is to be replaced by the desired volume level. e.g. x30 will set a 0dB master volume.
-Ravi
Hi,
Ravi
I have followed the steps which you have mentioned. But still I am not getting the sound.
My hardware connection is the proper, I am transering data through I2S bus.
My system uses Android as a OS so, I need to register this codec in to ALSA.
I need more information.
Thanks,
Saurabh
Hi, Saurabh,
Ravi is on a much-deserved vacation.
Have you isolated this to a hardware problem or a software problem?
-d2
Hi
I am able to get I2C working perfectly I can read and write system registers.
MY setup is like
SDIN1 --> TXD
SCLK --> TXC
MCLK, LRCK --> TXFS
I have connected Output ports in BTL mode.
OUT_A1, OUT_A2 are connected to JACK1.
OUT_B1, OUT_B2 are connected to JACK1.
OUT_C1, OUT_C2 are connected to JACK2.
OUT_D1, OUT_D2 are connected to JACK2.
- Saurabh
Hi,
Still I am not getting sound output from TAS5706.
There will be any issue if i have connected MCLK and LRCLK to same clock signal.
How to verify that audio data is comming to input port by reading status register value?
Same thing how to verify the data is transfed to the output port by reading status register?
Hope i can get quick response...
Thanks,
Saurabh
Hi Saurabh,
Can you please list the I2S clock frequencies being input to the device?
The clock frequencies (and the ratio's) supported by the device are listed in the register 0x00 description.
MCLK & LRCLK can not be the same signal.
You can check for clock error's by reading the error regster 0x02 (clear by writing 0x00 before reading). There is no register read-back to verify audio status.
Do you see PWM waveform at the device outputs (pre-filter)? If so, what is the measured PWM frequency?
-Ravi
Hi Saurabh,
On the TAS5706B, a 64*Fs clock can be given to both MCLK & SCLK, if the following two conditions are met.
1.) LRCLK = 44.1/48KHz
2.) AM-Avoidance mode is NOT used.
-Ravi
Does the TAS5706B eval board allow the use of a GUI tool to experiment with DRC/EQ, as with PCM5122’s DRC/EQ?