Neotron-Compute / Neotron-Pico

A Neotron powered by the Raspberry Pi Pico
165 stars 18 forks source link

TLV320AIC23B is no longer available #174

Open thejpster opened 11 months ago

thejpster commented 11 months ago

TI withdrew the TLV320AIC23B, marking it obsolete. This means JLCPCB no longer stock it.

Specifications included:

Edit: Experiments show the RP2040 can take in a 12 MHz BCLK and 44.1 kHz or 48 kHz LRCLK, meaning any notes below about PLLs or taking in clocks are moot. Anything that can generate a BCLK up to 12 MHz should be fine - higher is untested.

thejpster commented 11 months ago

TSC2102

4-Wire Touch Screen Controller with Stereo DAC with HP Amplifier

thejpster commented 11 months ago

LM4550B

AC '97 Rev 2.1 Codec with Sample Rate Conversion and National 3D Sound

thejpster commented 11 months ago

PCM5310

4ch/4ch Audio CODEC with 2Vrms Driver

thejpster commented 11 months ago

TLV320AIC3268

Ultra Low Power Stereo Audio Codec

thejpster commented 11 months ago

PCM3060

24-bit Asynchronous Stereo Audio Codec with 96/192kHz sampling rate

thejpster commented 11 months ago

PCM3070

Stereo Audio Codec With Embedded miniDSP

thejpster commented 11 months ago

CS4245

Six/Two Channel, 104 dB Codec with Mux and PGA

thejpster commented 11 months ago

CS4271

108/114 dB Stereo Codec

thejpster commented 11 months ago

CS42516

110 dB, 192 kHz, 2-in, 6-out Multi-channel Codecs with S/PDIF Receiver

thejpster commented 11 months ago

CS42526

114 dB, 192 kHz, 2-in, 6-out Multi-channel Codecs with S/PDIF Receiver

thejpster commented 11 months ago

AD1938

4 ADC/8 DAC with PLL, 192 kHz, 24-Bit Codec

thejpster commented 11 months ago

AD1937

4 ADC/8 DAC with PLL, 192 kHz, 24-Bit Codec

image

thejpster commented 11 months ago

WM8988

QFN. Has 12 MHz "USB Mode" like TLV320AIC23, but it doesn't have a crystal driver and it's unclear whether it'll actually let you run MCLK and LRCLK unsynchronised.

Edit: Obsolete and not in stock at Digikey

thejpster commented 11 months ago

Another option is to put the RP2040 into receive-mode. You just massively oversample the BCLK pin, waiting for the transition, and then clock out the DAC bit and clock in the ADC bit, using auto-push/pull on the FIFO. You spin once waiting for LRCLK on start-up to lock yourself to the left/right. This removes the need to find a CODEC with a PLL that can lock to LRCLK without an MCLK.

thejpster commented 11 months ago

TLV320AIC3104

TLV320AIC3104 Low-Power Stereo Audio Codec for Portable Audio and Telephony

thejpster commented 11 months ago

PCM510x

As used on the Pico Explorer board and the Pico VGA demo board. Internal PLL to generate SCK from BCLK - you can just ground the SCK pin and feed it BCLK, LRCLK and DATA. Single analog stereo output, so you'd need a headphone amplifier.

PCM5100A, PCM5101A and PCM5102A only differ in SNR - PCM5102A is best.

JLCPCB have 4000 in stock at $1.45. You'd need a matching ADC...

PCM1863

I2S ADC with internal PLL. Only requires LRCLK and BCLK in, and generates DATA out. Designed to go with PCM5100. Four stereo inputs. PCM1862 same but worse SNR. TSSOP-30.

JLCPCB have 4000 in stock at $1.43.

Edit: No JLCPCB now have none

thejpster commented 11 months ago

PCM5121

Like a PCM5100 but it has I2C volume control. Unfortunately it's not in stock at JLCPCB.

thejpster commented 11 months ago

PCM514x

Like a PCM512x but you can program the DSP instead of relying on the ROM routines. $5 at JLCPCB and only low stocks available.

thejpster commented 11 months ago

ALC5628

I2S/PCM Audio DAC with Headphone and Mono Class-D Speaker Amplifier

thejpster commented 11 months ago

ALC5616

Ultra-Low Power Audio CODEC for Mobile Devices

image

thejpster commented 11 months ago

NAU88C22YG

24-bit Stereo Audio Codec with Speaker Driver

image

RSPKOUT receives its audio signal via an additional submixer. This submixer supports combining a traditional alert sound (from the RAUXIN input) with the right channel headphone output mixer signal.

We can wire the BMC PWM beeper output into the RAUXIN pin, which will then be passed to the built-in loudspeaker drive circuit. So, the unit can do PCM beeps but also play PCM audio over the internal speaker (like a Risc PC). This also means it can chime on start-up like a Macintosh.

The MA35D1 board from Nuvoton includes this CODEC, and the user manual has a full schematic including the audio section.

thejpster commented 10 months ago

WM8960

Suggested by Ben Jordan.

Edit: This chip has now been obsoleted

thejpster commented 10 months ago

That Nuvoton part won't work - the max PLL scaling factor is 12 and that doesn't get us high enough with a 1.536 MHz input from the RP2040.

I'll see if I can operate the existing TLV320AIC23 in clock-out mode. If so, this search gets a lot easier.

thejpster commented 10 months ago

Stop the press! The PIO at 150 MHz ish is more than fast enough to oversample a 12 MHz BCLK and 48 kHz LRCLK from the CODEC. So I need to start again and stop worrying about PLLs.

thejpster commented 7 months ago

I think the next step is to make a NAU88C22YG break-out board using the schematic from the MA35D1 board as noted above.

thejpster commented 7 months ago

See https://oshwlab.com/Analityk/nau8822, where someone has already made a break-out board.

thejpster commented 7 months ago

TLV320AIC3204

fbd_slos602e