Skip to main content

Questions tagged [audio-codec]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
1 answer
41 views

Audio Codec Input/Output Channel Stages

I am planning to build a PCB for a Eurorack Modular Synthesizer, incorporating an STM32 for DSP and a bidirectional Audio Codec like the TLV320AIC3104 to handle the ADC/DAC. Eurorack audio signals ...
95lux's user avatar
  • 1
0 votes
2 answers
81 views

Should any DAC with an SPI interface be called a codec IC?

It seems most codec ICs typically use I²S for audio data but can also use SPI or I²C. Should any DAC with an SPI interface such as this one be called a codec IC? If not, what makes such chip be called ...
user16307's user avatar
  • 12.2k
1 vote
2 answers
61 views

Synchronizing multiple I2S codecs on stm32f405

I am designing an audio device that requires two CODECs to be connected to the MCU - two stereo outputs, two stereo inputs. When working with a single codec, no problems with synchronization occur ...
sx107's user avatar
  • 1,109
0 votes
0 answers
17 views

I2S Interface between Bluetooth Module and CODEC

I need to interface my CYBT-343026-01 bluetooth module to the AK4619 CODEC via I2S interface. The problem is that CYBT-343026-01 only provides BICK and LRCLK, but it doen't provide MCLK which is also ...
Andrea's user avatar
  • 145
0 votes
0 answers
59 views

Why does ESP32-LyraT-Mini V1.2 use an external ADC for the microphone when ADC is already available in Audio Codec?

Kindly refer to ES8311 audio codec datasheet and ESP32-LyraT-Mini V1.2 Schematic.. In the Lyrat mini board, an external ADC ES7243 is used to sample the audio signal from the microphone but an equally ...
hrithik singla's user avatar
0 votes
0 answers
72 views

Why does the ES8374 have 5 pins to receive input from a microphone?

I am using a ES8374 codec for an audio application. I am not able to make out how to connect my analog condenser mic (which has two pins) to the ES8374 mic pins. (Refer to pictures from the datasheet) ...
hrithik singla's user avatar
1 vote
1 answer
104 views

PCB design for Renesas' DA7212 audio codec

I'm designing my very first PCB. I managed to route all my components and I'm stuck at the last footprint - DA7212 from Renesas: Those balls are both incredibly tiny and packed dense. I'd need a ...
Paul Jon's user avatar
2 votes
1 answer
90 views

Grounded ADC pins on the CS4272-CZZR producing horrible noise?

I am currently busy with an audio processing project that requires 4 output channels. I have a Nucleo F303RE running some digital filtering on audio data, which is being read by one of the two CS4272s ...
Bennaman's user avatar
2 votes
0 answers
83 views

TRS differential input and output connector wiring for balanced audio CODEC I/O connections

I've been studying the ADAU1361 evaluation board and noticed an odd thing how the differential input and output connectors are connected in their schematic on its user guide, page 7, focus on the left ...
Giedrius's user avatar
2 votes
1 answer
104 views

Can the differential output signal of a DAC be AC coupled directly to the differential input pins of a class D audio amplifier?

The datasheet of the audio codec I'm using (CS4272-CZZ) suggest a filter on the differential output pins. Their suggested configuration also combines the signals into a single ended output. I want to ...
Bennaman's user avatar
0 votes
0 answers
139 views

Documentation/manual for stm32-wm8994 library?

I have a STM32F746G-DISCOVERY kit that has a WM8994 (Audio Hub CODEC). I'm learning how to generate a sound from the STM32F746G and send it to the WM8994 via Serial Audio Interface (SAI) to use in my ...
Rodo's user avatar
  • 1,130
0 votes
2 answers
84 views

Lots of audio codecs and few components: separate AGND from DGND?

I am trying to design a PCB that embeds 16 ADAU1787 audio codecs (ADC/DAC). I want to design a board that connects to an FPGA through an FMC port and connects all the codecs to output connectors (...
Max_Pof's user avatar
  • 21
0 votes
2 answers
1k views

Can an ESP32 be fed an audio signal and then output that audio to a Bluetooth speaker?

I have a CODEC circuit with a AUX audio output. Is it possible to connect that output back to the ESP32 and transmit to a Bluetooth speaker using the ESP32-A2DP library? If so, would this be the ...
adamaero's user avatar
  • 677
2 votes
0 answers
102 views

How to Switch DSP to Passive Speaker Driver?

I am working on an Active Noise Reduction project for a headset using Codec ADAU1772 from AD. There are two inputs, one of which is feedback mic. connected to AIN0, second is INT+ (Intercom or music) ...
Firat Dagkiran's user avatar
0 votes
1 answer
130 views

How long is the S/PDIF preamble?

I have a simple S/PDIF protocol question that I can't find the answer to anywhere. I'm trying to understand the protocol, and everywhere I look says the same thing: The length of a preamble pattern is ...
ezra_vdj's user avatar
  • 620
0 votes
0 answers
259 views

Can I connect multiple different devices via a single I2S interface?

I am using a microcontroller with only one I2S interface. I am using MAX98357A which has 1 sound chip. There is 1 microphone, SPH0645. Can I connect these ICs to the same line provided that I cannot ...
FAFİ's user avatar
  • 51
0 votes
1 answer
57 views

I need clarification for an audio power amplifier circuit component

Below is the block diagram of my first design using an audio power amplifier. The input to the audio power amplifier comes from an SC200 module by Quectel. The output of the PA is connected to a ...
Confused's user avatar
  • 2,593
0 votes
2 answers
254 views

Are many capacitors in a row in parallel really needed for an audio circuit?

I get that smaller capacitors have lower parasitic inductance and resistance compared to larger capacitors. And lower parasitic impedance allows the smaller capacitors to be more effective at ...
adamaero's user avatar
  • 677
0 votes
1 answer
74 views

Understanding how audio is encoded on mysterious device to reprogram it

So I found a chanting lotus flower in the woods and I'm trying to figure out how to reprogram the audio on it... It has 4.5 hours of audio(!) stored on a 16MB flashrom, and is driven by a chip called ...
Captain Lavender's user avatar
0 votes
2 answers
544 views

Trying to understand description of aptX Lossless audio streaming codec bitrate

I was looking at this article about the aptX Lossless audio codec. The article claims that this iteration of the aptX codec can stream CD quality audio losslessly. At the beginning of the article, it ...
user13267's user avatar
  • 621
2 votes
1 answer
437 views

What ESP32 pins to connect to the NAU8810 audio codec?

What ESP32 pins to connect to an NAU8810 audio codec? Or rather the other way around. I need an RX pin. Would this be tied to DACIN? Pins I'm unsure about: MOUT (Mono Output) ADCOUT (Digital Audio ...
adamaero's user avatar
  • 677
0 votes
1 answer
74 views

Digital radio to Bluetooth bridge

I'm studying the possibility of building a bridge from DAB+ (digital radio) towards Bluetooth. The reason is that all the good quality DAB+ tuners are really expensive and the cheap ones usually have ...
Federico's user avatar
  • 274
1 vote
0 answers
14 views

How to measure channel capacity performance for enhanced speech samples in GSM speech coders?

I've been conducting some research lately on Speech Enhancement of the ITU-T Recommended G.729 Voice Activity Detection (VAD) algorithm for GSM Speech coders. It has been suggested in the literature ...
daniel graham's user avatar
0 votes
1 answer
408 views

Connection of microphones to Stereo Audio Codec

I want to interface two electret microphones with a stereo audio codec. One mic will capture audio from one side of a box and the other one from the opposite side. I want to use TLV320AIC3254 from ...
Developing Electronics's user avatar
3 votes
1 answer
267 views

PCM5242 DAC: DSP Program and DSP Frequency for high sampling rates

I want to use a PCM5242 DAC (datasheet) in a project The DAC has a built in DSP core that I don't want to use for anything custom. The DSP can be programmed with custom code, or predefined codes in ...
GNA's user avatar
  • 1,725
0 votes
0 answers
32 views

Is an AK4588VQ decoder able to pass PCM digital audio with its ADC digital interface?

I want to interface an AK4588VQ with only at maximum 5 wires. Is it possible? My system uses an STM32F746NG and requires two digital microphones (I2S) and one DAC. I've used this chip because I have ...
mohammadsdtmnd's user avatar
2 votes
0 answers
392 views

Interfacing PCM3060 Audio Codec With STM32

I am using a STM32F4 MCU, currently prototyping on a Nucleo-F446RE. I have a PCM3060 audio CODEC to do the analog to digital conversion. I am attempting to use the I2S protocol in order to interface ...
APC77's user avatar
  • 21
0 votes
2 answers
78 views

Calculating Passive Analog Output Filter for CS42448

I'm designing schematics with the audio codec CS42448. The datasheet suggests output filters and I chose to follow the passive filter recommendation. I'm not sure though how to follow the calculation ...
Emerson's user avatar
  • 423
1 vote
1 answer
1k views

CS8406 Audio Interface (I2S->I2C)

I'm attempting to interface a MEMS Microphone with an ESP32 through a CS8406. I am aware that the ESP32 has a well-documented I2S hardware interface however for my project I cannot use it. (It's going ...
Caleb's user avatar
  • 42
0 votes
2 answers
249 views

Loopback Latency of an Audio CODEC?

I'm thinking way ahead about a possible future project which will contain, among many other things, a "DIY hearing aid" of sorts. Microphones feeding earbuds with some DSP in between, all ...
AaronD's user avatar
  • 5,676
0 votes
0 answers
35 views

Dependence of the PWM amplitude of the amplifier on the battery voltage

I'm going to use speaker connected to internal Class D amplifier in WM8998 in my PCB. Power source of my PCB is Li-Pol battery with 3.2-4.1V range or external 4V adapter. Audio codec speaker power ...
Nice Work's user avatar
0 votes
1 answer
46 views

How to access I2S pins of Lara R211 on the EVK-R2xx board

I just received the EVK-R2xx board from u blox. I need to access the i2S pins on the Lara R211 on this board in order to connect it to a beaglebone black so that I can use the audio directly from the ...
Thomas CONNELL's user avatar
0 votes
0 answers
572 views

SAI in STM32F4 behaves strange

So I'm trying to connect CS4270 codec to STM32F446RE. I managed to drive DAC part using SAI sublock B, but when I enable sublock A for receiving the sent data becomes corrupted (instead of L R L R on ...
atomd's user avatar
  • 21
1 vote
1 answer
147 views

CS4270 doesn't respond to I2C commands

I connected CS4270 to my ST32F446 nucleo board. Currently only I2C pins are connected, GND, AGND, all 3 power lines and address select pins. AD0,AD1 and AD2 are connected to GND. (the thing I don't ...
atomd's user avatar
  • 21
0 votes
1 answer
225 views

Problems interfacing PMODI2S2 with STM32H7

Back at it again, however this time not sure what the problem is. I have a PMODI2S2 device that is an Audio codec. It interfaces with the STM32H753ZI Microcontroller VIA SPI/I2S. The problem that is ...
Leoc's user avatar
  • 1,421
0 votes
2 answers
174 views

Audio Demos on DE10 Standard not Working

I bought the Terasic DE10 Standard and am having issues trying to run the demos related to audio. I am trying to run the two demos, DE10_Standard_Audio, and DE10_Standard_i2sound, while connecting ...
Lokwill's user avatar
  • 85
2 votes
0 answers
8k views

How to connect 5 colored wire headphone to 3.5 TRS jack?

I have a somictone headphone and I want to repair its headphone jack, It contains five colored wires. Here are the wire and TRS jack. Please give me a feedback Can you please tell me how to wire this?...
Isuru Abey's user avatar
0 votes
0 answers
59 views

How to choose between different equivalent PLL/divider configurations?

If there are multiple ways to get the required clocks for a given CODEC, how do you choose between them? For example, if a CODEC can accept 64fs, 128fs, 256fs, and has an internal PLL that can ...
endolith's user avatar
  • 28.8k
0 votes
0 answers
47 views

Wireless Audio transmission (single TX -> single RX): Clock synchronisation/recovery

I am searching for a way to stream an audio signal to a single speaker in the living room. (I do NOT need brodcast to multiple receivers / multiroom) Audio quality is a major concern, since the ...
Junius's user avatar
  • 1,041
1 vote
0 answers
343 views

How to interface a microphone to an I2S input to use HFP

For my group's SDP/Capstone we are doing a bluetooth headset of sorts. We are using a CYW20706 SoC from Cypress. Specifically, we are using a this CYBT-343026-01 Cypress module whch includes that ...
user244360's user avatar
0 votes
0 answers
568 views

WM8960 on Pi detected but not working

I am trying to create custom board with WM8960 IC with Raspberry Pi. I am able to use Wolfson drivers for pi to detect the IC via I2C but I am not able to play or record any audio. This is the ...
Akshit's user avatar
  • 19
1 vote
0 answers
45 views

Difference in output between digital codec and analog filter

I'm working on a project which deals with filtering audio signals with a Low Pass Filter and amplifying the output. Currently, we are solving this using the TLV320AIC3111 audio codec by Texas ...
Souvik Saha's user avatar
1 vote
1 answer
84 views

Audio codec output detection

I am looking for guidance on audio functionality test over USB audio codec. This audio output serves as Alarm to indicate certain events. The signal flow is ARM processor USB port --> USB Codec --> ...
V V Rao's user avatar
  • 1,156
1 vote
1 answer
571 views

I2S to PDM Conversion

We are looking to use the TLV320AIC3111 audio codec to process some sound data that we are receiving from MP34DT05-A microphone. We then look to transmit the data wirelessly over BLE using the BlueNRG-...
Souvik Saha's user avatar
1 vote
1 answer
1k views

ESD protection diodes on audio inputs / outputs?

I'm building a digital audio device with 1/4" stereo in and outputs that connect to a CS4272 codec. I'm wondering if and where I should place esd protection diodes. Pictured below is the analog part ...
Tim Walther's user avatar
1 vote
1 answer
198 views

Need help understanding how this decoder IC & differential amplifier circuit works

I need help to better understand differential amplifiers, when interfaced with an decoder IC. For the circuit below, which is from the reference design here: It shows a mono differential amplifier (...
Berry's user avatar
  • 13
5 votes
4 answers
885 views

Is there an efficient way for synchronising audio events real-time with LEDs using an MCU?

I'm working on a project in which LED lights synchronise with audio events. I'm not referring to reactive LED projects that read the ADC from audio amplitude or spectrum, but about having some ...
Emerson's user avatar
  • 423
0 votes
1 answer
107 views

Translating/reverse engineering firmware commands

I'm trying to build my own Hi-Fi system. So, I recently ordered this Japanese DSP that's able to process Dolby audio. I was all excited until the part had arrived and I found something in the ...
dsignr's user avatar
  • 159
1 vote
0 answers
56 views

Powering audio codec below recommended spec

I'm working on an audio project where I intend to use the PCM3060 audio codec (datasheet here). The datasheet says that the chip takes two power inputs : Vcc (Analog supply voltage) @ nominal 5V (...
jadsq's user avatar
  • 163
1 vote
3 answers
4k views

I2S TDM channels maximum bandwidth

Does I2S support sending multiple mic (around 20) channel data? If no, what is the limiting factor in supporting multiple mics? Also, is there any way to send multiple channel data from different ...
user3053970's user avatar