Search found 10 matches

by cooperbaker
Sun Mar 01, 2020 1:46 am
Forum: ESP-IDF
Topic: I2S to Internal DAC is Broken
Replies: 11
Views: 13209

Re: I2S to Internal DAC is Broken

ESP_houwenxiang wrote:
Sun Feb 23, 2020 12:06 pm
Hi,
The I2S DAC in the master branch is currently not working. We have refactored the driver and have not merged into the master branch (will be OK soon). It can work on release 3.3.

thanks !!

Ok, thanks. Glad I'm not going crazy...

Any idea how soon it will be working again?
by cooperbaker
Fri Feb 21, 2020 9:03 pm
Forum: ESP-IDF
Topic: I2S to Internal DAC is Broken
Replies: 11
Views: 13209

Re: I2S to Internal DAC is Broken

One thing I noticed in your code is that use_apll is set true.

Yes, good eye. Unfortunately it changes nothing. I tried all permutations of apll/mclk true/false and never saw a signal from the dac.
by cooperbaker
Tue Feb 18, 2020 11:56 pm
Forum: ESP-IDF
Topic: Internal DAC audio output - Please Help - no luck with idf examples or guide
Replies: 8
Views: 10900

Re: Internal DAC audio output - Please Help - no luck with idf examples or guide

ericwhite wrote:
Tue Feb 18, 2020 12:34 pm
Ok, thanks. What version of ESP-IDF were you using?

I pulled the latest 4.x version.
by cooperbaker
Tue Feb 18, 2020 7:31 am
Forum: ESP-IDF
Topic: I2S to Internal DAC is Broken
Replies: 11
Views: 13209

I2S to Internal DAC is Broken

Esp-idf internal dac audio examples produce no audio. The output signal is "silence" hovering at about +80mV Another user reports the same behavior in this post . Included below is a separate bare-bones example that should produce audio clicks. Please prove me wrong. #include "driver/i2s.h" #include...
by cooperbaker
Mon Feb 03, 2020 4:19 pm
Forum: ESP-IDF
Topic: Internal DAC audio output - Please Help - no luck with idf examples or guide
Replies: 8
Views: 10900

Re: Internal DAC audio output - Please Help - no luck with idf examples or guide

@cooperbaker I wonder if you would try writing to your DAC without I2S to verify your DAC is working and that we have the same results? I think there is an example "wave_gen" that I used. Yes. The DACs on the boards I have are indeed working without i2s. I can write values at will and they appear a...
by cooperbaker
Mon Jan 27, 2020 10:30 pm
Forum: ESP-IDF
Topic: Internal DAC audio output - Please Help - no luck with idf examples or guide
Replies: 8
Views: 10900

Internal DAC audio output - Please Help - no luck with idf examples or guide

Hi. I'm trying to get some audio out of the esp32 onboard dacs. I'm using a wrover, and have also tried wroom boards, but nothing I try sends audio through the internal dacs. There is no output at all on any board. I have tried all examples in esp-idf that demonstrate internal adc/dac for audio. The...
by cooperbaker
Wed Jan 23, 2019 7:32 pm
Forum: General Discussion
Topic: Why no I2S_COMM_FORMAT_TDM? Please help me add i2s tdm support for my codec.
Replies: 3
Views: 5412

Re: Why no I2S_COMM_FORMAT_TDM? Please help me add i2s tdm support for my codec.

Thanks for the reply.

Theoretically, is it possible to route WS into the MPWM to make FSYNC internally? Is it possible to emit the TDM FSYNC output on the same i2s pin as the normal FSYNC signals?

I don't know how many pins we have to spare in our little audio board :/
by cooperbaker
Fri Jan 18, 2019 7:02 am
Forum: General Discussion
Topic: Why no I2S_COMM_FORMAT_TDM? Please help me add i2s tdm support for my codec.
Replies: 3
Views: 5412

Why no I2S_COMM_FORMAT_TDM? Please help me add i2s tdm support for my codec.

Hello. I'm working on an audio dsp board with a Cirrus CS42448 codec and an Esp32 at the center, targeted at the audio hardware market. The codec uses TDM to move 8 channels of data over 1 pin. The other Esp32 pins are in use for the user interface. I was surprised to find that there is no TDM suppo...
by cooperbaker
Fri Jan 18, 2019 6:46 am
Forum: General Discussion
Topic: I2S 8CH ADC
Replies: 3
Views: 6803

Re: I2S 8CH ADC

I'm curious if you made any progress on the 1 wire TDM data approach. Were you able to move TDM data through the i2s bus?

I'm eager to get i2s tdm working for the cirrus cs42448 codec.

Go to advanced search