Class D Audio Amplifier IC Forum Discussions
Hello,
I am using a MA12040P for audio playback of a I2S stream being produced by the SAI peripheral of an iMX8M Plus.
I have ported the driver from the Raspberry Pi into the Linux kernel provided for the imx platform and it appears to function.
The problem I am having is that there is no audio output by the amplifier when I run the ALSA speaker test tool using the command line:
speaker-test -FS32_LE -Dsysdefault:merusaudio
My initial schematic for the connection between the iMX and the amp was:
This has been altered to switch the nMute line from a pull up to pull down and the MCLK signal is now routed to a clock output directly from the iMX clock peripheral and is set to 12288kHz.
This was done because the iMX8MP SAI peripheral will only output an MCLK signal during playback.
The SAI peripheral now consumes the MCLK from the external pin and generates the BCLK from that signal.
I have captured some of the signals on my scope:
Full Power-up Sequence:
There is a blip on the MCLK line when the output pin is first muxed to output the clock, a 24MHz signal is briefly present.
Clock Blip Detail
Enable Detail. MCLK is 12.288MHz at this point:
There is a 6-7 ns phase shift between MCLK edge and the BLCK edge, probably due to propagation through the SAI peripheral.
During Playback:
Here is a dump of some of the MA12040P registers after the driver has configured the device:
Address Value
0X00 |
0X3D |
0X01 |
0X3C |
0X02 |
0X32 |
0X03 |
0X5A |
0X04 |
0X50 |
0X08 |
0X26 |
0X0A |
0X0C |
0X12 |
0X13 |
0X13 |
0X0A |
0X14 |
0X14 |
0X15 |
0X09 |
0X16 |
0X0A |
0X17 |
0X14 |
0X18 |
0X14 |
0X19 |
0X1A |
0X1A |
0X20 |
0X1B |
0X19 |
0X1C |
0X0B |
0X1D |
0X00 |
0X1E |
0X2F |
0X20 |
0X1F |
0X25 |
0X10 |
0X26 |
0X05 |
0X27 |
0X08 |
0X2D |
0X30 |
0X2E |
0X84 |
0X35 |
0X88 |
0X36 |
0X41 |
0X40 |
0XFF |
0X41 |
0X00 |
0X42 |
0X18 |
0X43 |
0X18 |
0X44 |
0X18 |
0X45 |
0X18 |
0X46 |
0X00 |
0X47 |
0X27 |
0X48 |
0X27 |
0X49 |
0X18 |
0X4A |
0X18 |
0X4B |
0X00 |
0X60 |
0XC1 |
0X61 |
0X3E |
0X62 |
0X04 |
0X64 |
0XC1 |
0X65 |
0X3E |
0X66 |
0X04 |
0X68 |
0XC0 |
0X69 |
0XC9 |
0X6D |
0X00 |
0X74 |
0X10 |
0X75 |
0X05 |
0X7C |
0X00 |
0X7E |
0X00 |
I do not know what else to check as there are no errors being reported as far as I can tell.
Is the clock blip before the amp is enabled a problem?
Is the phase shift between the MCLK and the BCLK a problem?
Any thoughts on next steps in debugging this issue are appreciated.
Show Less
Hi
With IRS2452AM, application notes and examples describe 400kHz switching frequency (IRAUDAMP23 for exemple). How modify values to get self-oscillation frequency higher (around 600kHz or 700kHz) ?
Thank you
Show Less
Hello everybody
Using IRS2452AM for class D amplifier solution, we face a problem when output current on the load increases : output signal is disrupted on the negative side of the signal (see attached file) ; after checking other points, we see that PWM output signal is also disrupted.
All power supply seem clear.
Has anyone ever encountered this type of problem ?
Thank you
Show LessHello, I wander if chip name MA5332M is real product of Infieon. Is this the same as MA5332MS? Chip MA5332M is inside Sabaj amplifier, is it real Infieon or is it a feke?
Show LessHi Sirs,
I have a MA2304DNS EVAL Board, I can use this EVK to play music to speaker. But it seems not working when I adjust EQ,
here is the procedure:
1. connect power and speaker to EVK
2. Input audio <--I can hear the music correctly.
3. Run Merus 1.0.0-819
4. go to DSP page and setup low pass filter with fc at 100Hz (see attachment)
5. "APPLY".
5.1. I notice warning symbol is gone, after press "APPLY".
5.2. Music output from EVK disappear
6. reboot EVK
7. audio same as before, no any change (by ear)
I also tried different input signal such as 1kHz sine wave with 100Hz cutoff freq, but 1kHz audio still loud and clear after reboot.
My questions are:
1. Please help clarify above configuration procedure, I don't know where is the mistake.
2. Is reboot EVK necessary? I expect chip should reflect EQ result immediately after uploading, no need to reboot.
3. Can I read out filter parameter to Merus and display to DSP page ?
Thanks,
J66
Show LessHello,
Kindly help me with the following questions:
1. What should be the preferred voltage on MSEL0, MSEL1, nMUTE, nENABLE, nClip, nERROR, SCL, SDA, CLKM/S, CLKIO, AD0 and AD1? 3.3V or 5V?
2. What would be preferred way to generate VDD: 1. From PVDD using a linear regulator or 2. From an isolated supply? If using VDD from an isolated supply is preferred, what would be an ideal place to tie the two grounds together?
3. If using an isolated supply is preferred, I am assuming that AVSS, DVSS, CREF and CDC should be tied to the isolated ground. Is my assumption correct?
Thanks in advance!
Show LessHello,
I would like to design a PCB for the MA12070 IC. I have following queries. Kindly help me with them. Thanks in advance!
1. Datasheet recommends a micro-controller based power-up and power-down logic. However, is it ok to tie the nENABLE pin directly to GND and connect the nMUTE circuit to a P5V-680E-1M-47uF-GND circuit with anode of a diode connected to the join of R-C and cathode connected to the join of R-R for fast turn-off? Something similar to that recommended by the TDA7293/4 IC datasheet.
2. To avoid device failure due to inrush current, the Errata sheet recommends 'schottky diode to be connected at the output of each node.' Is is correct to assume that a the cathode of schottky diode be connected directly to the output pin and the anode to ground?
3. To avoid device failure due to PVDD hot plugging, the Errata sheet suggests a power supply with soft start function. Is it correct to assume that the solution to this can be the circuit in Fig. 5 of the Demo_BassAmp note using two IRF9358 MOSFETS?
4. Is it correct to assume that points 2 and 3 are mutually exclusive and that suggestions in both 2 and 3 above should be implemented?
5. Does the device operate and perform better with an external heat-sink in addition to the copper connected to the IC thermal pad?
Thanks again!
Show LessI am trying to find out what the 1 stands for in the PN: MA12070P1 and if this part can be used instead of MA12070P ?
i want to evaluate ic ma2304 and make a ma2304 demo board. i have two issues。
1.Is the schematic correct in User manual for MA evaluation boards
MA2304DNS/MA2304PNS ?
2. lpc11u68 burns the fireware bin file . is the “CRP DISABLD”drive already build-in lpc11u68 's usb bootloader ?no need other fireware '?
Thanks
Show Less