Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

ESP32 S3 and PCM1681 TDM DAC #2216

Unanswered
BrianHarper asked this question in Q&A
Oct 28, 2025 · 1 comments · 3 replies
Discussion options

I've been playing with this combination for a week or so now. Iv'e got it working in 2 channel stereo mode, but what i really want is to get all 8 channels working. The best i can manage is just some random noise. I'm pretty sure i have the config correct. I'm trying to send 8 channels of TDM data over the Data1 pin but it's way beyond my programming experience. I was wondering if anyone had any experience with this. Any info woud be greatly received. Thanks......

You must be logged in to vote

Replies: 1 comment 3 replies

Comment options

This is still on my to-do list...
You need to configure both the PCM1681 and the ESP32 I2S for TDM.

You must be logged in to vote
3 replies
Comment options

I'm 99% sure I have the pcm1681 configured correctly, I'm using hardware pin's fmt0, fmt1 both pulled high. If I'm reading the data sheet right that should be tdm mode. It's the esp32 side I'm not sure about I'm seeing what I've calculated should be the correct clock's and it's sending something that looks like data but just random noise on the output s.

Comment options

Hmm, I suggest that you review my I2S TDM implementation.

Make sure that you use an actual ESP32 Core...

Comment options

Thanks, I'll have a look after work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet

AltStyle によって変換されたページ (->オリジナル) /