Search found 50 matches

by Alberk
Tue Jan 23, 2024 1:29 am
Forum: ESP-IDF
Topic: ESP32 Ethernet with WIFI STA
Replies: 1
Views: 569

ESP32 Ethernet with WIFI STA

Hi, I am looking if this is possible and if there is an example code around? 1) The Ethernet (W5500) connects to a device and provides DHCP (DHCP server running on Ethernet port). 2) Data received from Ethernet is processed. 3) Data is then sent out through the WIFI STA (DHCP is from AP). Device <--...
by Alberk
Wed Oct 18, 2023 9:23 am
Forum: ESP-IDF
Topic: Largest contiguous RAM for HEAP
Replies: 16
Views: 5350

Re: Largest contiguous RAM for HEAP

If you are going to use the IRAM memory there are limitation that you must be aware off. https://esp32.com/viewtopic.php?t=23891#p94825
by Alberk
Wed Oct 18, 2023 9:10 am
Forum: ESP-IDF
Topic: Largest contiguous RAM for HEAP
Replies: 16
Views: 5350

Re: Largest contiguous RAM for HEAP

These are good strategies, I guess there are no possibilities to change the heap allocation strategy of malloc to first get D/IRAM and then switch to DRAM, reason ist that the DRAM section is larger than the D/IRAM section. So if malloc would first allocate from D/IRAM, the large contiguous block fr...
by Alberk
Wed Oct 18, 2023 9:03 am
Forum: ESP-IDF
Topic: Largest contiguous RAM for HEAP
Replies: 16
Views: 5350

Re: Largest contiguous RAM for HEAP

That's a good resource for heap analysis. Unfortunately nothing is said about heap fragmentation and how to best avoid it in order to get a large as possible contiguous block. Any more ideas? :) This should get the largest free block for the different memory types. size_t heap_caps_get_largest_free...
by Alberk
Wed Oct 18, 2023 5:39 am
Forum: ESP-IDF
Topic: Largest contiguous RAM for HEAP
Replies: 16
Views: 5350

Re: Largest contiguous RAM for HEAP

Refer to this for memory allocation https://docs.espressif.com/projects/esp ... alloc.html
by Alberk
Tue Oct 03, 2023 9:43 am
Forum: ESP-IDF
Topic: ESP32 Wifi connection problem
Replies: 0
Views: 805

ESP32 Wifi connection problem

Hi, I have ESP32 Rev3 with IDF 4.4.5. If I compile firmware with PSRAM enabled and deployed onto a hardware without PSRAM then wifi will not connect. Is there a way to get that to work? CONFIG_ESP32_REV_MIN_3=y CONFIG_ESP32_SPIRAM_SUPPORT=y CONFIG_ESP32_DEFAULT_CPU_FREQ_240=y CONFIG_SPIRAM_BOOT_INIT...
by Alberk
Wed Aug 02, 2023 5:51 am
Forum: ESP-IDF
Topic: ESP32 S3 Auto detect PSRAM speed
Replies: 1
Views: 656

ESP32 S3 Auto detect PSRAM speed

Hi,

Is there a configuration that would auto detect the SPIRAM speed?

At the moment, the only way is to manually set the setting below to test.

Code: Select all

# CONFIG_SPIRAM_MODE_QUAD=y
CONFIG_SPIRAM_MODE_OCT=y
by Alberk
Sat Jul 29, 2023 1:35 am
Forum: ESP-IDF
Topic: ESP32 and ESP32 S3 with SPIRAM Support
Replies: 0
Views: 4835

ESP32 and ESP32 S3 with SPIRAM Support

Hi, I have firmware compiled with SPIRAM support but deployed onto ESP32 and ESP32 S3 hardware without PSRAM. One issue I have is that Wifi does not connect, is there any other settings to get this working? The same exact code would work if CONFIG_ESP32_SPIRAM_SUPPORT is set to n IDF 4.4.5 for ESP32...
by Alberk
Sat Jul 29, 2023 1:32 am
Forum: ESP-IDF
Topic: SPIRAM option CONFIG_SPIRAM_USE_MEMMAP
Replies: 2
Views: 735

Re: SPIRAM option CONFIG_SPIRAM_USE_MEMMAP

Thank you for the detailed explanation.