Search found 54 matches

by costaud
Wed Apr 22, 2020 6:09 am
Forum: ESP-IDF 中文讨论版
Topic: ESP32 定时器精度不够的问题求助!
Replies: 1
Views: 1241

Re: ESP32 定时器精度不够的问题求助!

能否提供一下测试代码 ?

是在中断中读数的吗? 中断优先级如何配置的 ? 在哪个核上处理中断的 ?
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: 525

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: 1611

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: 1908

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: 1908

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: 1908

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: 1257

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: 1360

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: 843

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: 3157

Re: GPIO interrupts lost (hardware race condition)

Does this only happen on GPIO34/36/39 ?

Go to advanced search