Questions tagged [audio-codec]
The audio-codec tag has no usage guidance.
55
questions
2
votes
0
answers
38
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 ...
2
votes
1
answer
38
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 ...
0
votes
0
answers
44
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 ...
0
votes
2
answers
46
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 (...
0
votes
1
answer
116
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 ...
1
vote
0
answers
49
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) ...
0
votes
1
answer
39
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 ...
0
votes
0
answers
69
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 ...
0
votes
0
answers
18
views
Recreation of SparkFun's Musical Instrument shield with ESP32 not outputting any audio - how to troubleshoot or any obvious mistakes?
I recreated a shield. I tested all the voltages (5, 3.3 and 1.8) and they are where they should be. There are two crystals on my PCB to change to the smaller one eventually. I only put one crystal on (...
0
votes
1
answer
49
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 ...
0
votes
2
answers
149
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 ...
0
votes
1
answer
67
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 ...
0
votes
2
answers
110
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 ...
2
votes
1
answer
188
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 ...
0
votes
1
answer
63
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 ...
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 ...
0
votes
1
answer
244
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 ...
1
vote
0
answers
130
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 ...
0
votes
0
answers
30
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 ...
2
votes
0
answers
284
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 ...
0
votes
2
answers
71
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 ...
1
vote
1
answer
595
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 ...
0
votes
2
answers
182
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 ...
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 ...
0
votes
1
answer
43
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 ...
0
votes
0
answers
484
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 ...
1
vote
1
answer
123
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 ...
0
votes
1
answer
212
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 ...
0
votes
2
answers
145
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 ...
2
votes
0
answers
6k
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?...
0
votes
0
answers
52
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 ...
0
votes
0
answers
43
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 ...
1
vote
1
answer
301
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 ...
0
votes
0
answers
522
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 ...
1
vote
0
answers
42
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 ...
1
vote
1
answer
74
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 --> ...
1
vote
1
answer
525
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-...
1
vote
1
answer
996
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 ...
1
vote
1
answer
170
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 (...
5
votes
4
answers
872
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 ...
0
votes
1
answer
100
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 ...
1
vote
0
answers
54
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 (...
1
vote
3
answers
3k
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 ...
1
vote
1
answer
377
views
I2S Clock in Audio Codec on dev board, how is this working?
I'm using a dev board, the keil mcb4300. In the schematic, the audio codec UDA1380HN has the BCKI going to the SYSCLOCK.
According to the codec data sheet:
BCKI: bit clock input
SYSCLOCK: system ...
2
votes
0
answers
99
views
what's wrong with my codec's op amp output?
There's some thing wrong with my audio codec. Unlike the modern codec, its input gain is configured externally with op amp's resistor. However with unity gain, I see strange wave form on the input ...
0
votes
1
answer
1k
views
MICBias Ground in audio codec
MICBias is the voltage required for microphone to power and record signal at full levels.
What will happen if we ground MICBias, is it means we are disabling microphone.
6
votes
2
answers
11k
views
Why is the latency so high for Bluetooth audio?
Referring to this, the lowest latencies achieved in Bluetooth audio streaming are around 30-40ms. Given the fact that Bluetooth physical layer data rate is of around 2-3 Mbps and today's Bluetooth ...
1
vote
1
answer
359
views
Is the sound of an aux-connector DAC or CODEC?
I am planning to take the audio aux signal of a raspberry pi and amplify it with a TPA2012D2 by Texas Instruments. In the datasheet there is a typical application circuit, which would match my needs (...
1
vote
1
answer
811
views
Using AC97 codec with Arduino or STM32
I'm an electronics student, advanced in some matters, beginner in others. I'm researching about building a board for digital audio processing. The idea is to get it work on the cheapest way. For that ...
4
votes
1
answer
540
views
Ultra low power audio recorder
I'm trying to design an ultra low power audio recorder, in order to monitor ground noise in rural areas. The circuit I'm working on is based on a microcontroller (STM32L100RC) and an audio codec (...