Search found 53 matches

by costaud
Mon Dec 02, 2019 2:57 am
Forum: ESP32 Arduino
Topic: analog sensor value to web server school project need help please!
Replies: 2
Views: 124

Re: analog sensor value to web server school project need help please!

I think GPIO15 maps to ADC2 on esp32 and ADC2 should not work with WIFI module for now.

Please use one channel from GPIO32~GPIO39(connect the sensor to that GPIO), which maps to ADC1 on esp32, and have a try.

Hope this would help your daughter :)
by costaud
Wed Oct 30, 2019 3:33 am
Forum: ESP32 IDF
Topic: Field "uint32_t clk_en: 1;" in file "i2s_struct.h" in esp-idf ?
Replies: 8
Views: 566

Re: Field "uint32_t clk_en: 1;" in file "i2s_struct.h" in esp-idf ?

Sorry, I can not find any code in lastest idf that uses this bit.

Besides, this bit is reserved, please don't use it.
by costaud
Tue Oct 22, 2019 6:24 am
Forum: ESP32 IDF
Topic: i2s_write losing data due to fail to return update pointer
Replies: 11
Views: 921

Re: i2s_write losing data due to fail to return update pointer

Yes, if there is only task running the i2S for playing sound, I don't loose data. It is a combo when I have the timer to drive the LEDs, and the task running at priority 5 and 100ms sleep time, I saw this artifact . Would you provide the smallest test code so that we can reproduce this issue ? Or, ...
by costaud
Mon Oct 21, 2019 7:01 am
Forum: ESP32 IDF
Topic: i2s_write losing data due to fail to return update pointer
Replies: 11
Views: 921

Re: i2s_write losing data due to fail to return update pointer

1. Would you please try increasing the dma buf size and number ?

Code: Select all

.dma_buf_count             = 2,
.dma_buf_len                 = 1024,
2. Does this still happen is you disable other tasks or timer interrupts.
by costaud
Mon Oct 21, 2019 6:47 am
Forum: ESP32 IDF
Topic: i2s_write losing data due to fail to return update pointer
Replies: 11
Views: 921

Re: i2s_write losing data due to fail to return update pointer

Sorry for the late reply, but it would take some time to reproduce this issue and debug.
Surely we are working on it.
by costaud
Wed Sep 04, 2019 1:01 pm
Forum: ESP IoT Solution
Topic: ESP-IDF release compatible with IoT Solution
Replies: 1
Views: 572

Re: ESP-IDF release compatible with IoT Solution

In esp-iot-solution repository, there is an esp-idf submodule. It is recommended to use the default version of esp-idf. It uses the latest idf v3.2.2 right now, please update and have a try. The latest version of master branch is v4.0, there could be some breaking change in major version update. We ...
by costaud
Wed Aug 07, 2019 3:14 am
Forum: ESP IoT Solution
Topic: ESP IoT solution library in arduino IDE
Replies: 2
Views: 605

Re: ESP IoT solution library in arduino IDE

I think you can try using arduino as a component in esp-idf.
https://github.com/espressif/arduino-es ... mponent.md
by costaud
Tue Jun 18, 2019 3:23 am
Forum: Hardware
Topic: ADC Voltage measurement is not right!!!
Replies: 2
Views: 427

Re: ADC Voltage measurement is not right!!!

Was the voltage in the linear range ? Would you please give some details of the real voltage and the read value ? And what settings did you use to initialize and to read the voltage ? Here are some application examples of ADC module. https://docs.espressif.com/projects/esp-idf/en/latest/api-referenc...
by costaud
Tue Apr 16, 2019 4:07 am
Forum: Hardware
Topic: GPIO interrupts lost (hardware race condition)
Replies: 10
Views: 1959

Re: GPIO interrupts lost (hardware race condition)

Does this only happen on GPIO34/36/39 ?
by costaud
Mon Mar 18, 2019 3:06 am
Forum: ESP32 Arduino
Topic: Help program
Replies: 1
Views: 772

Re: Help program

So, I think here are tasks for you to make your project run: 1. If you are going to Arduino(which is a good choice for new beginner), you need to run Arduino on your esp first. https://github.com/espressif/arduino-esp32#installation-instructions https://www.arduino.cc/en/Main/FAQ 2. To control the m...

Go to advanced search