Line out, Line in and Headphone connections

Designing hardware that use VLSI Solution's devices as the system controller for the entire design.
User avatar
Panu
VLSI Staff
Posts: 2572
Joined: Tue 2010-06-22 13:43

Re: Line out, Line in and Headphone connections

Post by Panu » Wed 2013-03-06 13:35

Hi,

There are no analog paths from inputs to outputs inside the VS10xx chips, but the ADC's and especially DACs are surprisingly good quality.

-Panu
Info: Line In and Line Out, VS1000 User interface, Overlay howto, Latest VSIDE, MCU Howto, Youtube
Panu-Kristian Poiksalo, VLSI Solution Oy

tvali007
User
Posts: 4
Joined: Tue 2013-02-19 14:52

Re: Line out, Line in and Headphone connections

Post by tvali007 » Sat 2013-04-13 0:58

Hi Panu, Pasi,

Thanks for inputs. I finished my PCB few days ago, and tested the "Digital loop" trough VS1053.
I set (SM_RESET)|(SM_SDINEW)|(SM_LineIn) |(SM_ADPCM)|(SM_STREAM); The loop starts to work but with a lot of noise on background. The music is loud and clear, no clipping (except the noise) (like an AM Radio)
The output path works ok, I played some MP3 and there is no noise.
I mention that the ground is connected on both sides (VLSI board and Source board.)
The analogic schematic for Line in is show in attachament :

If I touch the 1nF capacitors the noise is attenuated
Did you encountered a similar situation so far? Do you think it has any connection that I didn't connected all AGND pins to AGND? I checked them with a multimeter and seems that they are common.

Thanks in advance for any feedback.

Regards,
Valentin.
Attachments
lineInConnection.JPG
lineInConnection.JPG (20.24 KiB) Viewed 4483 times

User avatar
Panu
VLSI Staff
Posts: 2572
Joined: Tue 2010-06-22 13:43

Re: Line out, Line in and Headphone connections

Post by Panu » Sat 2013-04-13 20:39

Hi!

Sounds like a bad contact or something, but...:

Make sure that you don't have auto gain set and set digital gain to 1.

I don't see 1 nF capacitors, do you mean the 10 nF capacitors?

What is the amplitude of your sound signal in the analog input pins?

When it works, you should see about -85dB to -90dB noise floor when input is Line level (1 volt RMS).

Can you compare to the line input connection of the VS8053 Developer Board?
http://www.vlsi.fi/en/support/evaluatio ... board.html

-Panu
Info: Line In and Line Out, VS1000 User interface, Overlay howto, Latest VSIDE, MCU Howto, Youtube
Panu-Kristian Poiksalo, VLSI Solution Oy

tvali007
User
Posts: 4
Joined: Tue 2013-02-19 14:52

Re: Line out, Line in and Headphone connections

Post by tvali007 » Tue 2013-04-16 12:42

Hi Panu,

The connections were ok, I followed your instructions, seems that AGC block was creating the noise problem.
It has no gain limit selected and I think that always amplify the smallest noise to maximum value it could.
I've set the gain to 1 and now is ok.
Regarding capacitor question, I wanted to say 1uF cap :|.

Now it works well, I inject from a PC for the moment, I have around 2V peak to peak.

Thanks for support,

-Valentin.

ags
Senior User
Posts: 34
Joined: Sun 2013-03-31 7:51
Location: Silicon Valley

Re: Line out, Line in and Headphone connections

Post by ags » Wed 2013-10-02 22:02

Is there a recommended single circuit that will support both earphones and active devices (e.g. home FM transmitter) being connected to the VS1011E analog output signals? If the FM transmitter ground is isolated from the VS0111E ground (preventing a ground loop as discussed in the AppNote "VS10xxan_output" in section 3.2) will the simpler earphone circuit be sufficient (as provided in the Sparkfun breakout boards and included in the example connection schematic in the VS1011E Datasheet).

Thanks.

User avatar
Panu
VLSI Staff
Posts: 2572
Joined: Tue 2010-06-22 13:43

Re: Line out, Line in and Headphone connections

Post by Panu » Fri 2013-10-04 11:48

Theoretically yes, but can you in reality be sure that the transmitter is really isolated from the source as they might be connected together in a way that you cannot foresee (via a power suppy, via other cables in the system, via other apparatus, via physical contact,...)

There's not a single great way to do it. The simple way is to add coupling capacitors (up to 100 uF depending on how much bass you want to the headphone) to LEFT, RIGHT. This is safe, but you'll get a rather strong "pop" sound when you switch on the VS. Eliminating the "pop" ultimately leads to elaborate declicking schemes. You can use analog switches to cut off the VS-to-capacitor path for the time it takes to bias the capacitor via a small resistor over the analog switch. Or if your design uses negative analog voltages, you can use an op-amp as a differential buffer to re-center the signal aroung 0V. In that case you would use GBUF signal as the other differential input.

-Panu
Info: Line In and Line Out, VS1000 User interface, Overlay howto, Latest VSIDE, MCU Howto, Youtube
Panu-Kristian Poiksalo, VLSI Solution Oy

ags
Senior User
Posts: 34
Joined: Sun 2013-03-31 7:51
Location: Silicon Valley

Re: Line out, Line in and Headphone connections

Post by ags » Mon 2013-10-28 21:26

Panu:

I meant to thank you for the answer. I can be pretty assured of no ground loops in this current prototype because the driven equipment has its own supply which isolates it (through the transformer) from the supply to the VS1011e (also isolated through a transformer). I may try a more elaborate design in a later iteration.

jcheriton
User
Posts: 4
Joined: Thu 2014-02-27 12:23

Re: Line out, Line in and Headphone connections

Post by jcheriton » Thu 2014-02-27 12:30

Hi,

I know that this topic is getting a bit old now but the title fills my needs...
I am designing an Ogg Vorbis recorder/encoder around the VS8053 and will not be using the headphone output. Is it OK to leave these 3 pins (LEFT, RIGHT, GBUF) floating if they're not in use?
If not, what is the best way of dealing with these outputs?

John

User avatar
Panu
VLSI Staff
Posts: 2572
Joined: Tue 2010-06-22 13:43

Re: Line out, Line in and Headphone connections

Post by Panu » Wed 2014-03-05 13:05

Hi and thanks for your post. It's a very relevant question that comes up every now and then.
Is it OK to leave these 3 pins (LEFT, RIGHT, GBUF) floating if they're not in use?
No. If they are left floating, the analog driver may start to oscillate in some conditions, which will affect the power consumption and the performance of the IC.
If not, what is the best way of dealing with these outputs?
You need to have the RC components inside the blue circle in the original post. You can also check the required RC values from the VS1053 datasheet.

-Panu
Info: Line In and Line Out, VS1000 User interface, Overlay howto, Latest VSIDE, MCU Howto, Youtube
Panu-Kristian Poiksalo, VLSI Solution Oy

jcheriton
User
Posts: 4
Joined: Thu 2014-02-27 12:23

Re: Line out, Line in and Headphone connections

Post by jcheriton » Wed 2014-03-05 13:16

Thank you Panu for your reply. The RC components are already on the prototype PCB but I was interested if they could be removed to give me a little more space and offer up a few sacrificial parts for the inevitable cost-cutting exercise that will precede the design of the production units.
I now know that they're necessary so will leave them in peace.
Hopefully this post will help others.
Could this information be outlined in the data sheet at some stage? ..or maybe it is but I've simply not seen it.
John

Post Reply