Search found 974 matches

by ESP_igrr
Thu May 24, 2018 8:04 am
Forum: General Discussion
Topic: Fundamental question about nvs library
Replies: 7
Views: 110

Re: Fundamental question about nvs library

If you are certain that the application will not ever use the whole 128k partition, it is worth reducing partition size. Since NVS builds a cache of items in RAM, that would reduce heap usage and reduce startup time.
by ESP_igrr
Sat May 19, 2018 12:21 pm
Forum: General Discussion
Topic: Confusion when reading the parameters of the ESP32
Replies: 3
Views: 104

Re: Confusion when reading the parameters of the ESP32

The master branch of ESP-IDF has a fix for chip model field, but if you are using Arduino, it probably is compiled with an older version of ESP-IDF, so doesn't have the fix.
https://github.com/espressif/esp-idf/co ... 5561bccf87
by ESP_igrr
Mon May 07, 2018 12:57 pm
Forum: General Discussion
Topic: about xTaskIncrementTick context switch?
Replies: 3
Views: 151

Re: about xTaskIncrementTick context switch?

The situation is like this: 1. High priority task T1, pinned to CPU1 is in blocked state (e.g. waiting on a xQueueReceive) 2. Lower priority task T2 is running on CPU1 3. Tick interrupt on CPU0 calls xTaskIncrementTick, which unblocks T1 (by making xQueueReceive timeout expire). Result (with the cur...
by ESP_igrr
Mon May 07, 2018 4:05 am
Forum: ESP32 IDF
Topic: esp32 high resolution timer
Replies: 4
Views: 208

Re: esp32 high resolution timer

For such sample rate, it might make sense to use DMA functionality. I2S peripheral can, among other things, move data from ADC to RAM or from RAM to DAC. examples/peripherals/i2s_adc_dac has an example of that.
by ESP_igrr
Sun May 06, 2018 2:45 pm
Forum: General Discussion
Topic: newlib vs glibc
Replies: 4
Views: 156

Re: newlib vs glibc

Which version should we use then / what is the difference? libc.a in toolchain takes 5.0 MB, in ESP-IDF 5.7 MB (both SPIRAM compatible versions) There were a few changes done to the newlib version included into ESP-IDF, which were not propagated to newlib packaged with the toolchain. For the most p...
by ESP_igrr
Sun May 06, 2018 2:34 pm
Forum: General Discussion
Topic: ESP32 shutdown without external circuits?
Replies: 3
Views: 144

Re: ESP32 shutdown without external circuits?

You can actually put the ESP32 into deep sleep forever (until external reset, that is). To do so, call esp_deep_sleep_start without calling any of the esp_sleep_enable_X_wakeup . The chip should consume around 5uA in this mode. You can reduce that a bit by powering down RTC memories, see http://esp-...
by ESP_igrr
Sun May 06, 2018 2:30 pm
Forum: ESP32 IDF
Topic: esp32 high resolution timer
Replies: 4
Views: 208

Re: esp32 high resolution timer

Sorry, the minimal period limit is not mentioned in the docs. Will add a note... https://github.com/espressif/esp-idf/blob/0d65f3b7f9a1dace8853719871d920d80aa3604b/components/esp32/esp_timer_esp32.c#L374 https://github.com/espressif/esp-idf/blob/0d65f3b7f9a1dace8853719871d920d80aa3604b/components/es...
by ESP_igrr
Sat May 05, 2018 11:54 am
Forum: General Discussion
Topic: newlib vs glibc
Replies: 4
Views: 156

Re: newlib vs glibc

The library in the toolchain is also newlib, not glibc. It's linking memset probably because of memset = 0x400xxxxx in the ROM LD script.
by ESP_igrr
Fri May 04, 2018 9:10 am
Forum: General Discussion
Topic: What would you like to see in The Next Chip?
Replies: 161
Views: 24332

Re: What would you like to see in The Next Chip?

This is somewhat offtopic here, but regarding improvements for IDE support and experience on Windows, we're working on CMake support. Please have a look at the announcement:
viewtopic.php?f=13&t=5559
by ESP_igrr
Thu May 03, 2018 8:25 am
Forum: Hardware
Topic: ESP32 - External flash memory - Quad SPI access question
Replies: 5
Views: 248

Re: ESP32 - External flash memory - Quad SPI access question

The message printed by ROM bootloader will indicate that DIO mode is used. This is correct — 2nd stage bootloader is being loaded in DIO mode, and then it performs the switch to QIO mode, if you have enabled QIO in menuconfig. Loading 2nd stage bootloader itself in QIO mode offers very little improv...

Go to advanced search