Previous in Forum: dB?   Next in Forum: Sound Level of Commercial Adverts on TV
Close
Close
Close
7 comments
Rate Comments: Nested
Associate

Join Date: Jan 2009
Location: Cape Town
Posts: 54

No Audio Output

10/15/2010 5:43 AM

Hi

I am using the LM4839 audio amp for my application to generate real audio. I have connected up my circuit like the example on their datasheet but I only get audio out (audible on both speakers) ONLY when I have the headpohes plugged in. When I unplug the headphones I don't get any audio out!

My mux control is set for Right1 audio input (LOW)

I am using RS's Stereo PCB chassis mount jack skt,3.5mm (RS p/n: 476-328) and this does not have a datasheet (don't know why I chose it!!!!!)

What am I doing wrong here?

__________________
"I never expect to lose. Even when I'm the underdog, I still prepare a victory speech"
Register to Reply
Interested in this topic? By joining CR4 you can "subscribe" to
this discussion and receive notification when new comments are added.
Guru
United Kingdom - Member - Not a New Member Hobbies - Musician - New Member Hobbies - Fishing - New Member

Join Date: May 2006
Location: Reading, Berkshire, UK. Going under cover.
Posts: 9684
Good Answers: 468
#1

Re: No Audio output

10/15/2010 5:55 AM

You haven't given much to go on.

Stab in the dark - is this your circuit:

BWT - what is "real" audio?

__________________
"Love justice, you who rule the world" - Dante Alighieri
Register to Reply
Associate

Join Date: Jan 2009
Location: Cape Town
Posts: 54
#2
In reply to #1

Re: No Audio output

10/15/2010 6:17 AM

Yes JohnDG, that's preety much it but I'm not using the Beep In function, so I dont have the 200kOhm beep circuit. I am not using the Bass boost function too. I have 100nF caps on all my VDD pins

__________________
"I never expect to lose. Even when I'm the underdog, I still prepare a victory speech"
Register to Reply
Guru
United Kingdom - Member - Not a New Member Hobbies - Musician - New Member Hobbies - Fishing - New Member

Join Date: May 2006
Location: Reading, Berkshire, UK. Going under cover.
Posts: 9684
Good Answers: 468
#3
In reply to #2

Re: No Audio output

10/15/2010 6:37 AM

Looks like something to do with headphone sense (pin 21). Have you tried the effect of connecting it to 0V or leaving it pulled up to VDD (i.e. with no connection to the headphone socket)?

__________________
"Love justice, you who rule the world" - Dante Alighieri
Register to Reply
Associate

Join Date: Jan 2009
Location: Cape Town
Posts: 54
#4
In reply to #3

Re: No Audio output

10/15/2010 7:30 AM

That's what's puzzling to me. I expected the speakers to be off when the H-sense pin is pulled high (as it is by default). But my circuit works the other wat around i.e when H-sense is a 0V both the spaeaker and headphones are audible...

__________________
"I never expect to lose. Even when I'm the underdog, I still prepare a victory speech"
Register to Reply
Guru
United Kingdom - Member - Not a New Member Hobbies - Musician - New Member Hobbies - Fishing - New Member

Join Date: May 2006
Location: Reading, Berkshire, UK. Going under cover.
Posts: 9684
Good Answers: 468
#6
In reply to #4

Re: No Audio output

10/15/2010 8:13 AM

Hmmm ...

This is what the datasheet says:

HP SENSE FUNCTION ( Head Phone In )
Applying a voltage between 4V and V DD to the LM4839's HP-IN headphone control pin turns off the amps that drive the left out '+' and right out '+' pins. ( Pins 15 and 20 on the MT/MTE & 12 and 25 on the LQ ). This action mutes a bridged-connected load. Quiescent current consumption is reduced when the IC is in this single-ended mode.

Figure 2 shows the implementation of the LM4839's head-phone control function. With no headphones connected to the headphone jack, the R1-R2 voltage divider sets the voltage applied to the HP Sense pin at approximately 50mV. This 50mV puts the LM4839 into bridged mode operation. The output coupling capacitor blocks the amplifier's half supply DC voltage, protecting the headphones.

The HP-IN threshold is set at 4V. While the LM4839 operates in bridged mode, the DC potential across the load is essentially 0V. Therefore, even in an ideal situation, the output swing cannot cause a false single-ended trigger. Connecting
headphones to the headphone jack disconnects the head-phone jack contact pin from R2 and allows R1 to pull the HP Sense pin up to V DD through R4. This enables the head-phone function, turns off both of the '+' output amplifiers and mutes the bridged speaker. The amplifier then drives the headphones, whose impedance is in parallel with resistors R2 and R3. These resistors have negligible effect on the LM4839's output drive capability since the typical impedance of headphones is 32Ω.

Figure 2 also shows the suggested headphone jack electrical connections. The jack is designed to mate with a three-wire plug. The plug's tip and ring should each carry one of the two stereo output signals, whereas the sleeve should carry the ground return. A headphone jack with one control pin contact is sufficient to drive the HP-IN pin when connecting headphones.

A microprocessor or a switch can replace the headphone jack contact pin. When a microprocessor or switch applies a voltage greater than 4V to the HP-IN pin, a bridge-connected speaker is muted and the single ended output amplifiers A1 and A2 will drive a pair of headphones.

FIGURE 2. Headphone Sensing Circuit (MT/MTE Pinout)

Have you stuck a meter on the HP sense input to make sure your jack switch is doing what you think it should?

__________________
"Love justice, you who rule the world" - Dante Alighieri
Register to Reply
Associate

Join Date: Jan 2009
Location: Cape Town
Posts: 54
#5
In reply to #1

Re: No Audio output

10/15/2010 7:32 AM

it's not really "real" audio...my "Audio" input comes from the FPGA

__________________
"I never expect to lose. Even when I'm the underdog, I still prepare a victory speech"
Register to Reply
Guru
Popular Science - Weaponology - New Member Safety - ESD - New Member Hobbies - Fishing - New Member

Join Date: Sep 2006
Location: Near Frankfurt am Main, Germany. 50.390866N, 8.884827E
Posts: 17996
Good Answers: 200
#7

Re: No Audio Output

10/16/2010 7:05 AM

You might also not have wired the headphones socket correctly. Usually when the headphones are connected, you cut off the speakers. It sounds as though you have wired it so that it only "connects" the speakers when the headphones are in.....

If true its relatively simple to correct, just wire the speakers to the two (as yet ) unused connectors.......

Was a diagram supplied with the socket? Can you post it?

Or take an Ohmeter and the socket and look for the through connections (which are for the speakers) which should be interrupted only when the phones are plugged in, not connected when the phones are plugged in.

I hope this helps.....

__________________
"What others say about you reveals more about them, than it does you." Anon.
Register to Reply
Register to Reply 7 comments
Copy to Clipboard

Users who posted comments:

Andy Germany (1); JohnDG (3); tobzn (3)

Previous in Forum: dB?   Next in Forum: Sound Level of Commercial Adverts on TV

Advertisement