Search found 55 matches

by costaud
Tue Jul 14, 2020 7:24 am
Forum: ESP-IDF 中文讨论版
Topic: 外挂SPI RAM(PSRAM)出现test fail问题
Replies: 2
Views: 6651

Re: 外挂SPI RAM(PSRAM)出现test fail问题

我正在使用ESP32-PICO-KIT_V4.1 板子外挂8M的PSRAM,IO按参考设计接法如下: psram_pin1(CS):-->esp32 gpio10 psram_pin2(SO/SIO1):-->esp32 gpio17 psram_pin3(SIO2):-->esp32 gpio7 psram_pin4:-->gnd psram_pin5(SI/SIO0):-->esp32 gpio8 psram_pin6(SCLK):-->esp32 gpio6 psram_pin7(SIO3):-->esp32 gpio11 spiram_psram.c文件中修改引脚定义如下: #def...
by costaud
Wed Apr 22, 2020 6:09 am
Forum: ESP-IDF 中文讨论版
Topic: ESP32 定时器精度不够的问题求助!
Replies: 1
Views: 5809

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

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: ESP-IDF
Topic: Field "uint32_t clk_en: 1;" in file "i2s_struct.h" in esp-idf ?
Replies: 8
Views: 9601

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: ESP-IDF
Topic: i2s_write losing data due to fail to return update pointer
Replies: 11
Views: 14582

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: ESP-IDF
Topic: i2s_write losing data due to fail to return update pointer
Replies: 11
Views: 14582

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: ESP-IDF
Topic: i2s_write losing data due to fail to return update pointer
Replies: 11
Views: 14582

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

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

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

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...