Skip to content

Data out from esp32 with SPI instead of I2S #177

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

You must be logged in to vote

I suggest that you have a look at my solution which is supporting spdif: https://github.com/pschatzmann/arduino-audio-tools/tree/main/examples/examples-basic-api/basic-a2dp-spdif

Please note that you receive the data as int16_t with 2 channels, so you will need to convert it to a mono before writing it out.

I assume you know how to write the data to your DAC because I can't help you with that.

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