Search found 27 matches

by andrej32
Fri Sep 22, 2023 7:00 am
Forum: ESP-IDF
Topic: ESP32 internal MAC ethernet + IP101GRI conflicts with SDSPI
Replies: 3
Views: 4068

Re: ESP32 internal MAC ethernet + IP101GRI conflicts with SDSPI

Thank you very much. I have tested and can confirm that the proposed changes solve the described problem of simultaneous use of SDSPI and Ethernet. In lines 300 and 301 (it is necessary to change it in both lines) of file /components/hal/emac_hal.c, I changed the value of EMAC_LL_DMA_BURST_LENGTH_32...
by andrej32
Thu Sep 14, 2023 9:27 am
Forum: ESP-IDF
Topic: ESP32 internal MAC ethernet + IP101GRI conflicts with SDSPI
Replies: 3
Views: 4068

ESP32 internal MAC ethernet + IP101GRI conflicts with SDSPI

Environment Development Kit: custom bord (very similar to ESP32-Ethernet-Kit) Module or chip used: ESP32-WROOM32D IDF version : v4.4.4 Build System: CMake Operating System: Windows Using an IDE?: Eclipse Power Supply: USB 5V-1A -> LDO 1A-3.3V Problem Description SD card connection via SDSPI is used...
by andrej32
Fri Apr 07, 2023 11:32 am
Forum: ESP-IDF
Topic: Using WIFI and AES128 simultaneously in ESP-IDF v 4.4
Replies: 2
Views: 1457

Re: Using WIFI and AES128 simultaneously in ESP-IDF v 4.4

The problem is solved. In ESP-IDF v4.4.x, you cannot use the name "ctx" of the encryption context variable. If you use a different name, then everything works.
by andrej32
Wed Apr 05, 2023 10:37 am
Forum: ESP-IDF
Topic: Using WIFI and AES128 simultaneously in ESP-IDF v 4.4
Replies: 2
Views: 1457

Using WIFI and AES128 simultaneously in ESP-IDF v 4.4

There is a project on ESP32 that simultaneously uses Wi-Fi and AES 128 encryption of the recorded data (which are later stored on the SD card). Everything works fine in ESP-IDF 4.0. But when the same project in ESP-IDF v4.4 does not work. If we initialize AES128, then an error occurs later when tryi...
by andrej32
Tue Jan 17, 2023 12:58 pm
Forum: Hardware
Topic: ESP32-S2 power consumption in active mode
Replies: 9
Views: 6285

Re: ESP32-S2 power consumption in active mode

Since I was unable to get an answer to my question from ESPRESSIF technical support, as well as on this forum, after my experiments with ESP32-S2-MINI-1 and SEP32-WROOM32D, I came to the conclusion that the electrical parameters of current consumption in MODEM-SLEEP mode specified in the datasheet o...
by andrej32
Mon Jan 16, 2023 12:06 pm
Forum: Hardware
Topic: ESP32-S2 power consumption in active mode
Replies: 9
Views: 6285

Re: ESP32-S2 power consumption in active mode

As far as I understand, you suggest using the esp_sleep_pd_config() function, which has parameters: typedef enum { ESP_PD_DOMAIN_RTC_PERIPH, //!< RTC IO, sensors and ULP co-processor ESP_PD_DOMAIN_RTC_SLOW_MEM, //!< RTC slow memory ESP_PD_DOMAIN_RTC_FAST_MEM, //!< RTC fast memory ESP_PD_DOMAIN_XTAL,...
by andrej32
Tue Jan 10, 2023 8:48 am
Forum: Hardware
Topic: ESP32-S2 power consumption in active mode
Replies: 9
Views: 6285

Re: ESP32-S2 power consumption in active mode

How to do it in ESP-IDF?
I also did not find any information about the state of the peripheral power supply after switching on. I found only a mention that the peripheral drivers in IDF-ESP themselves control power and the clock settings. How to manage it yourself is unclear.
by andrej32
Mon Jan 09, 2023 12:27 pm
Forum: Hardware
Topic: ESP32-S2 power consumption in active mode
Replies: 9
Views: 6285

Re: ESP32-S2 power consumption in active mode

A small addition to my experiments: If I install Flash SPI speed 40 MHz instead of 80 MHz in sdkconfig, then at 80 MHz of the CPU I get a current consumption of 18.5 mA, i.e. a decrease from 22 mA to 18.5 mA, but I can't get 12 mA in any way.
by andrej32
Mon Jan 09, 2023 12:21 pm
Forum: Hardware
Topic: ESP32-S2 power consumption in active mode
Replies: 9
Views: 6285

Re: ESP32-S2 power consumption in active mode

I'm sorry, I put it wrong. I meant active mode without radio. In the table it is indicated as: Modem-sleep, 80 Mhz, cpu is running, all peripheral clocks disable. I wrote that I only need I2C and SPI to work without using a radio. (I planned to turn on this peripheral after I achieve the minimum cur...