-
-
Notifications
You must be signed in to change notification settings - Fork 326
ESP32 S3 and PCM1681 TDM DAC #2216
-
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......
Beta Was this translation helpful? Give feedback.
All reactions
Replies: 1 comment 3 replies
-
This is still on my to-do list...
You need to configure both the PCM1681 and the ESP32 I2S for TDM.
Beta Was this translation helpful? Give feedback.
All reactions
-
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.
Beta Was this translation helpful? Give feedback.
All reactions
-
Hmm, I suggest that you review my I2S TDM implementation.
Make sure that you use an actual ESP32 Core...
Beta Was this translation helpful? Give feedback.
All reactions
-
Thanks, I'll have a look after work.
Beta Was this translation helpful? Give feedback.