Search found 396 matches

by ESP_krzychb
Sun Oct 10, 2021 10:39 am
Forum: ESP-IDF
Topic: Touch with Interrupt
Replies: 1
Views: 1866

Re: Touch with Interrupt

Hi Alberk, The callback is only to clear the interrupt and quickly record what pad has been touched. You should not stay too long in the interrupt context (by e.g. printing out something). Then the loop (outside the interrupt context) is to print out the information on what pad has been actually tou...
by ESP_krzychb
Thu Oct 07, 2021 12:38 pm
Forum: General Discussion
Topic: Programming the new ESP32-S3 dev boards
Replies: 5
Views: 5712

Re: Programming the new ESP32-S3 dev boards

Hello zazas321, Have you tried the master (latest) branch? From the logs I see you are using ESP-IDF 4.3 (idf4.3). If you install the latest branch you will see idf4.4 instead, ref. https://github.com/espressif/esp-idf#esp-idf-release-and-soc-compatibility Use port labelled "UART" for flashing, see ...
by ESP_krzychb
Fri Aug 20, 2021 3:21 am
Forum: General Discussion
Topic: Is it true that the ESP32 S3 will remove the DAC?
Replies: 7
Views: 13108

Re: Is it true that the ESP32 S3 will remove the DAC?

Hi sere_dev and dmaxben,
The upcoming ESP32-S3 does not have DAC1 and DAC2 peripherals.
by ESP_krzychb
Fri Aug 20, 2021 2:49 am
Forum: General Discussion
Topic: ESP32-S2-MINI-1 power consumption doesn't match to the datasheet
Replies: 2
Views: 2952

Re: ESP32-S2-MINI-1 power consumption doesn't match to the datasheet

Hi Rasl_RF,

Please use the example in https://github.com/espressif/esp-idf/tr ... power_save.
As for DTIM see e.g. https://lastminuteengineers.com/esp32-s ... nsumption/ (this article if for ESP32 but the concept applies for ESP32-S2).
by ESP_krzychb
Fri Jul 09, 2021 6:37 am
Forum: General Discussion
Topic: esp32-s2 adc configuration and attenuation
Replies: 4
Views: 4227

Re: esp32-s2 adc configuration and attenuation

Hi Adraen, As far as I have checked, your example works correctly with the latest master branch https://github.com/espressif/esp-idf/commit/8e3e65a47b7d9b5dc4f52eb56660a748fda1884e. For ADC_ATTEN_0db I see ADC readings saturating at about 0.75 V; for ADC_ATTEN_11db the readings saturate at about 2.5...
by ESP_krzychb
Sun Jul 04, 2021 4:11 pm
Forum: Hardware
Topic: Odd LEDC behavior
Replies: 4
Views: 4536

Re: Odd LEDC behavior

Indeed, I would adjust the duty resolution depending on the required frequency var_freq_hz. Within the frequency range (100 Hz ~ 4 kHz) and for the pulse width (~50 ns) you need, the following formula should work: #define APB_CLK_FREQ 80000000 // 80 MHz int var_duty_resolution = (int) log2 (APB_CLK_...
by ESP_krzychb
Sun Jul 04, 2021 4:35 am
Forum: Hardware
Topic: Odd LEDC behavior
Replies: 4
Views: 4536

Re: Odd LEDC behavior

Hi GR8R8M8 , If I run your code with var_freq_hz = 306, I am getting the following error on the serial terminal: E (294) ledc: requested frequency and duty resolution can not be achieved, try reducing freq_hz or duty_resolution. div_param=255 The issues is that your specific settings are outside of ...
by ESP_krzychb
Sat Jun 26, 2021 5:01 am
Forum: Hardware
Topic: Flash chips with wide supply
Replies: 2
Views: 2864

Re: Flash chips with wide supply

PS. Any idea why Espressif says WROOM modules work from 3.0V and not 2.7? They already said flash is the limiting factor so I'm curious why not going with what the flash chip manufacturer specifies. Hi esp_zag0, Flash in that module is powered from ESP32's VDD_SDIO pin. The voltage on that pin is l...
by ESP_krzychb
Sat Jun 19, 2021 1:47 pm
Forum: IDEs for ESP-IDF
Topic: esp-idf vsc problem esp-idf configuration
Replies: 2
Views: 3607

Re: esp-idf vsc problem esp-idf configuration

Hello AFRAN12,

Welcome to the forum! Please follow https://github.com/espressif/vscode-esp ... leshooting and post complete error logs.