- Joined
- Jan 18, 2010
- Messages
- 11,418
mali said:As I said, it's likely that the integrated DAC is just used for line-in.
Then wouldn't it be an ADC?
Last edited by a moderator:
mali said:As I said, it's likely that the integrated DAC is just used for line-in.
mali said:^It's not my métier and I don't have much time at hand right now, check this for further info:
http://focus.ti.com/docs/prod/folders/print/tps65950.html
The TPS65950 device is a highly integrated power-management and audio coder/decoder (codec)
integrated circuit (IC) that supports the power and peripheral requirements of the OMAP™ application
processors. The device contains power management, an audio codec, a universal serial bus (USB)
high-speed (HS) transceiver, an ac/USB charger, light-emitting diode (LED) drivers, an analog-to-digital[
converter (ADC), a real-time clock (RTC), and embedded power control.
The power portion of the device contains three buck converters, two controllable by a dedicated
SmartReflex™ class-3 interface, multiple low-dropout (LDO) regulators, an embedded power controller
(EPC) to manage the power-sequencing requirements of OMAP, and an RTC and backup module. The
RTC can be powered by a backup battery when the main supply is not present, and the device contains a
coin-cell charger to recharge the backup battery as needed.
The USB module provides a HS 2.0 on-the-go (OTG) transceiver suitable for direct connection to the
OMAP universal transceiver macrocell interface (UTMI) + low pin interface (ULPI) with an integrated
charge pump (CP) and full support for the carkit Consumer Electronics Association (CEA)-936A
specification.
The Li-ion battery charger supports charging from ac chargers, USB host devices, USB chargers, or
carkits. The type of charger is detected automatically by the device, which provides hardware-controlled
linear charging with ac chargers, USB chargers, and carkits, in addition to software-controlled charging for
all charger types.
The audio codec in the device includes five digital-to-analog converters (DACs) and two ADCs to provide
multiple voice channels and stereo downlink channels that can support all standard audio sample rates
through several inter-IC sound (I2S™)/time division multiplexing (TDM) format interfaces. The audio output
stages on the device include stereo headset amplifiers, two integrated class-D amplifiers providing stereo
differential outputs, predrivers for line outputs, and an earpiece amplifier. The input audio stages include
three differential microphone inputs, stereo line inputs, and interface for digital micrphones. Automatic and
programmable gain control is available with all necessary digital filtering, side-tone functions, and
pop-noise reduction.
The device also provides a auxiliary modules, including LED drivers, and ADC, keypad interface, and
general-purpose inputs/outputs (GPIOs). The LED driver can power two LED circuits to illuminate a panel
or provide user indicators. The drivers also provide pulse width modulation (PWM) circuits to control the
illumination levels of the LEDs. The ADC monitors signals entering the device, such as supply and
charging voltages, and has multiple additional external ADC inputs for system use. The keypad interface
implements a built-in scanning algorithm to decode hardware-based key presses and to reduce software
use, with multiple additional GPIOs that can be used as interrupts when they are configured as inputs.
Audio subchip:
The audio subchip has two interfaces: PCM for voice signaling and I2S for audio signaling. The Bluetooth
interface is also available. This uses the same clock and sync signals as for the PCM interface. Both ports can
function as master or slave.
Sampling modes available are:
Voice channel with 8-kHz or 16-kHz sampling modes
Audio channel with 8, 11.025, 12, 16, 22.05, 24, 32, 44.1, or 48-kHz sampling modes. 96 kHz is supported
on the RX path voice codec with MCLK = 26MHz.
The audio phase-locked loop (PLL) supports 26-MHz, 19.2-MHz, or 38.4-MHz ability to work with two ports with
the clock frequencies 19.2 MHz or 26 MHz, or with a single TDM port with the frequencies 19.2 MHz, 26 MHz, or
38.4 MHz. The voice PCM interface is available when the system clock is 26MHz.
The audio supports common features like pop-noise reduction, sidetone functionality, bass boost function, uplink
and downlink programmable gain amplifiers, and the DTMF tone generator.
The external vibrator control is provided in this module and can be controlled through an audio signal or direct
I2C writes to the registers.
MWeston said:I'm not completely sure of the input specs through this chip. All the datasheets and the TRM has finally become public so you can have a look for yourself: <a href="http://focus.ti.com/docs/prod/folders/print/tps65950.html" target="_blank">http://focus.ti.com/docs/prod/folders/print/tps65950.html</a>
That is the catalog replacement for the TWL4030 (like the 3530 is the replacement for the 3430).
I had asked Squidge to investigate this setup many months ago, but I don't think anything ever came of that. I see 8 or 16KHz sample rates selectable for voice, but that is for the dedicated voice channel to Bluetooth which is not used on Pandora. Audio to the Bluetooth chip comes from the OMAP chip directly over I2S which has much better sound quality options. I don't feel these low sample rate options apply to Pandora (see page 684 of swcu050b.pdf).
I see that the microphones and line inputs can be muxed over to the internal ADCs that connect to the main I2S interface back to the OMAP chip. This supports 13-16 bit data (I can't find a specific reference to quantization anywhere except 16-bit listed on the website so that's what I will go with) and up to 48KHz sample rates (96KHz is the max when transmitting audio only so doesn't apply here). I am assuming that this path can be used to get the best audio back to the processor. In fact, I felt confident that this is how it works when I laid out the design. I just need someone to actually test it.
MWeston said:Internal microphone - TPS65950, MAIN MICurjaman said:To MWeston - can you say what audio pin's on the TWL are used for pandora's audio IOs?
External microphone (on headphone connector) - TPS65950, SUB MIC
Line Inputs - TPS65950, AUX INPUTS (shared with mics inside TPS65950 so you can set muxes to use one line and one mic channel if you want)
Line Outputs - PCM1773, line level output shared between headphone amp and EXT connector, no volume control (2.15Vpp output, 10K load)
Audio inputs use McBSP4 and audio outputs use McBSP2 so they can run simultaneously with different audio on them. BT is on McBSP3 for reference.
The audio output of the TPS65950 is not connected on the PCB but I read in the TRM it might be possible to route it out of the USB OTG port for four channel audio (six channel if you stream over BT too). That might take some clever coding to hack into the kernel, but neat if it works some day. I could be wrong about it working like this, but I found information in that carkit section for USB.
Line Outputs - PCM1773, line level output shared between headphone amp and EXT connector, no volume control (2.15Vpp output, 10K load)
Sources You say?mali said:Thank urjaman and peca, who already gave the right answer
It's always good to back it up with sources, though.
Nah, Your expectation seems to be too high. It may be informational for someone who doesn't follow forum and don't eat every bit of info as we domali said:Peca, I can't wait to see the results of your dissertation. It will be very informative, I suppose
Yep, that quite easy, why I don't this earlier !?mali said:It would be cool if you could make an English version of that diagram, so that we can put it in the photobucket
TY for the info Peca, I heard that too. I was hoping that maybe someone knew if Digikey had small quant's up for order or something.peca said:EDIT:
@rabidpoobear: IIRC MWeston say that they buy some spare connector for selling to as. I want a few too.
go to the dollar store (or the UK equivalent) and buy one of those 3.5mm-to-RCA adapter thing. I just saved you £9-14 (except you still have to buy the TV out cable, so I guess I really cost you an extra 1)BaDToaD said:It would be handy it OP made a short decent quality EXT to 3.5 mm jack cable. I'd happily pay £10-15 for a decent cable so I could bypass the headphone out straight into a portable amp.
cobaltage said:Edit: The audiophile iPod mod I'm thinking of is called the iMod by Red Wine Audio, by the way.
mali said:^Yes, there is an external amp reducing the quality. I don't know how we could compare the companion DAC to the amplified Burr Brown, but the integrated DAC was bad enough to justify adding that Burr Brown in the first place. As I said, it's likely that the integrated DAC is just used for line-in. I'll search for info this evening, if nobody else does it in the meantime (the info might even be on the other boards). Nikkopt's quote from notaz is _very_ old.
BaDToaD said:cobaltage said:Edit: The audiophile iPod mod I'm thinking of is called the iMod by Red Wine Audio, by the way.
I've heard good things (no pun intended) about the imod but isn't it limited to older ipods?
Back on topic the headphone out should still be of good enough quality to use with an external amp provided you can except a little bit of colouration from the pandoras built in amp. I may not even bother with an EXT cable if the headphone socket produces a decent sound. It may be good enough for on the move use. When I'm stationary but away from a decent music source I hope to run my Go Vibe DAC from the USB on the Pandora which negates the use of the EXT socket.