Skip to content

ESP32-S3 and PCM3168A for Multichannel 6 outputs DAC? #1757

Answered by pschatzmann
thisisflyte asked this question in Q&A
Discussion options

You must be logged in to vote

I never had the chance to test DTM. But I added some DRAFT implementation of this codec to my audio-drivers project.

I suggest that you start simple with a sine test case and expect quite some debugging to make things to work.
Just a couple of comments that I noticed when working on the driver:

  • 16 bits (is only right aligned) and is only supported for I2S mode
  • For TDM you need to use 24 bit (and I guess 32 might also work)
  • The S3 supports TDM on both I2S ports
  • Driver currently only implements slave mode: so the ESP32 must be in master mode

To start, I suggest to use the I2SStream from the AudioTools and the PCM3168 class directly from the drivers library. This gives you more control (to…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by pschatzmann
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants