Anushka_SS
New member
Hi everyone,
I’m working on a Teensy 4.1 audio project using the Teensy Audio Shield Rev D (SGTL5000) and a CD6283 IC amplifier connected to my speaker. I’m trying to implement real-time audio loopback, where the microphone and speaker are connected to the same codec. The goal is to feed live audio into the microphone and get clear audio output from the speaker, but I’m consistently getting noisy output from the speaker.
Hardware Details:
Connections:
I tested the Teensy 4.1 with the SparkFun WM8960 audio codec using the same speaker, and it worked fine — I got clear output. However, with the SGTL5000 Audio Shield, I only get digital/hiss/whistle noise.
How can I solve this problem and get clean Audio output?
I’m working on a Teensy 4.1 audio project using the Teensy Audio Shield Rev D (SGTL5000) and a CD6283 IC amplifier connected to my speaker. I’m trying to implement real-time audio loopback, where the microphone and speaker are connected to the same codec. The goal is to feed live audio into the microphone and get clear audio output from the speaker, but I’m consistently getting noisy output from the speaker.
Hardware Details:
- Microcontroller: Teensy 4.1
- Audio Shield: SGTL5000-based Teensy Audio Shield Rev D
- Amplifier: CD6283 IC, single-channel (left channel only connected)
- Speaker: (Add details, e.g., 8 Ω, 6 W, etc.)
Connections:
- Teensy 4.1 and Audio Shield:Standard I²S and I²C connections
- LRCLK: Pin 20
- BCLK: Pin 21
- SCL: Pin 19
- SDA: Pin 18
- DIN: Pin 7
- DOUT: Pin 8
- MCLK: Pin 23
- CD6283 IC Amplifier:
- Input signal: From the LINE OUT pad of the codec’s left channel (L pin) on the Teensy Audio Shield, with the L pin connected to pin 7 of the amplifier and the GND pin connected to the amplifier’s ground.
- Input ground: GND of Audio Shield
- Power: Regulated 12 V from external power supply
- Speaker: Connected to the CD6283 IC output pins
I tested the Teensy 4.1 with the SparkFun WM8960 audio codec using the same speaker, and it worked fine — I got clear output. However, with the SGTL5000 Audio Shield, I only get digital/hiss/whistle noise.
How can I solve this problem and get clean Audio output?