Part Number: TAS2557
Issue : No audio output from TAS2557 in custom board.
Description:The driver is installed in Linux environment and there is no calibration file at the moment. The SoC acts as I2S master and there is a external DSP and TAS2557 interfaced as I2S slave. The SoC and external DSP are working well.
Setup:1. MCLK - 8.2MHz2. Sampling rate - 8KHz3. I2S data width - 16 bit
Kernel log:i2c client is ok.pTAS2557 createdYes validPG2.1 Silicon foundi2c 1-004c: FW Size = 16746i2c 1-004c: Checksum = 0xC605881Ai2c 1-004c: PPC Version = 0x5C000i2c 1-004c: FW Version = 0x1010000i2c 1-004c: Driver Version= 0x0300i2c 1-004c: Timestamp = 1601623451i2c 1-004c: DDC Name = firmware_8khzi2c 1-004c: Description = TI SmartAmpi2c 1-004c: find default configuration 0i2c 1-004c: tas2557_set_bit_rate: nBitRate = 16i2c 1-004c: load program 0 (Tuning Mode)i2c 1-004c: TAS2557 load data: Tuning Mode Program, Blocks = 1, Block Type = 1i2c 1-004c: TAS2557 load block: Type = 1, commands = 2867i2c 1-004c: Block[0x1] PChkSum matchi2c 1-004c: Block[0x1] YChkSum matchi2c 1-004c: load PLL: pll block for Configuration configuration_Tuning Mode_8 KH z_s1i2c 1-004c: TAS2557 load block: Type = 0, commands = 15i2c 1-004c: load configuration configuration_Tuning Mode_8 KHz_s1 conefficient p re blocki2c 1-004c: TAS2557 load data: Snapshot 1, Blocks = 2, Block Type = 4i2c 1-004c: TAS2557 load block: Type = 4, commands = 7i2c 1-004c: Block[0x4] YChkSum matchi2c 1-004c: load new configuration: configuration_Tuning Mode_8 KHz_s1, coeff bl ock datai2c 1-004c: TAS2557 load data: Snapshot 1, Blocks = 2, Block Type = 3i2c 1-004c: TAS2557 load block: Type = 3, commands = 536i2c 1-004c: Block[0x3] YChkSum matchi2c 1-004c: tas2557_update_edge, edge: 4i2c 1-004c: tas2557_setup_clocks: nSamplingRate = 8000 [Hz]i2c 1-004c: Sampling rate for current configuration matches: 8000i2c 1-004c: tas2557_calibration_get = 0i2c 1-004c: Enable: 1i2c 1-004c: Calibration 0 doesn't existi2c 1-004c: Enable: load startup sequencei2c 1-004c: Enable: load unmute sequence
Hardware Test:1. VBAT = VBOOST VREG = 3.65V2. Tested the MCLK, BCLK, WCLK,SDIN in Oscilloscope the signals seem valid
Our team will take a look at this and will provide an answer as soon as possible.
Best regards,Luis Fernando Rodríguez S.
We are glad that we were able to resolve this issue, and will now proceed to close this thread.
If you have further questions related to this thread, you may click "Ask a related question" below. The newly created question will be automatically linked to this question.
In reply to Luis Fernando Rodriguez S.:
I managed to get the sound output from the speakers but the audio output sound level seems low. I tested by playing a pink noise file (see attached) and measuring with a calibrated sound level meter.When I play the pink noise in TAS2557EVM I get about 90 dBA whereas with my custom board I get about 82 dBA. I checked the gain settings in address 0x6 it is set to 0xf.
Click here to play this audio clip
is there any other settings I should check? How to resolve this?
In reply to jvasanthan:
Are you using the same speaker for both tests? Is the connection to the speaker very different from the EVM to your application (are you using any filter)?
Perhaps you can try by setting the device into ROM mode to check if the attenuation is due to algorithm.
Best regards,-Ivan SalazarApplications Engineer - Low Power Audio & Acutators
In reply to Ivan Salazar:
Yes, I am using same speaker for both the tests. I don't have LC filter at the output, I have 0 ohm resistors (in place of ferrite bead and no capacitors ) placed in series to the speaker terminals. is that ok?
Yes I will try ROM mode. should I try ROM1 or ROM2?
Any of the ROM modes would be OK for this test.
In addition, can you share the PPC3 file you use to generate your configuration files? If you have many snapshots please also let us know which one you're using.
Best regards,-Ivan SalazarApplications Engineer - Low Power Audio & Actuators
I have attached the ppc3 file. I used the default tas2557evm PPC3 file.
I'll inspect the file, but it would be good to know the results after you test with ROM mode in both the EVM and your custom system, this can help us verify if the difference in amplitude is due to the speaker protection algorithm.
I tested ROM mode 1 in both EVM and custom board. When I play the pink noise in TAS2557EVM I get about 80 dBA whereas with my custom board I get about 72 dBA. What can we infer from that?
This means you're getting a stable 8dBA difference regardless of device configuration, so difference is not coming from speaker protection algorithm.
Can you share your schematic and layout if possible? Also could you share some photo of the test setup for the EVM and your custom board?From amplifier standpoint there should be no difference, if possible please also share a register dump of book 0 page 0 from both setups just to make sure there is no difference between them.
You can reach out directly over private message or email if don't want to post your files on the forum: email@example.com
Let me follow up offline on the email thread we started. I'll close this thread for now but will get back here with the final results for the community information.
All content and materials on this site are provided "as is". TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with regard to these materials, including but not limited to all implied warranties and conditions of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. No license, either express or implied, by estoppel or otherwise, is granted by TI. Use of the information on this site may require a license from a third party, or a license from TI.
TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs andembedded processors, along with software, tools and the industry’s largest sales/support staff.