Search found 11 matches

by milkolik
Thu Jun 09, 2022 12:37 am
Forum: ESP-IDF
Topic: Intermittent HTTP client request failures
Replies: 3
Views: 2853

Re: Intermittent HTTP client request failures

Thank you a2800276. It turned out to be a hardware problem. I built the board using a CMOS oscillator for the W5500 chip thinking that it would work even if the W5500 expected TTL. I though that would work if output was CMOS and TTL input (not the other way round tho). Seems I was wrong. Funny that ...
by milkolik
Wed Jun 08, 2022 7:33 pm
Forum: ESP-IDF
Topic: Intermittent HTTP client request failures
Replies: 3
Views: 2853

Re: Intermittent HTTP client request failures

Logging on debug mode (verbose is crashing on me): D (152730) HTTP_CLIENT: set post file length = 102482 D (152730) HTTP_CLIENT: Begin connect to: http://XXXXX.mocklab.io:80 D (152732) esp-tls: host:XXXXX.mocklab.io: strlen 24 D (152738) esp-tls: [sock=54] Resolved IPv4 address: 54.243.4.96 D (15274...
by milkolik
Wed Jun 08, 2022 7:12 pm
Forum: ESP-IDF
Topic: Intermittent HTTP client request failures
Replies: 3
Views: 2853

Intermittent HTTP client request failures

Hi, I have an ESP32 connected to a W5500 ethernet IC. I have a program that starts by doing some GETs and then starts a infinite routine that does POSTs of a small Base64-encoded image once a minute. The problem is that about 50% of the times I get E (153964) TRANSPORT_BASE: tcp_write error, errno=C...
by milkolik
Mon May 09, 2022 4:01 pm
Forum: General Discussion
Topic: Force SNTP update
Replies: 0
Views: 1182

Force SNTP update

Hi, I have SNTP running on my ESP32. My understanding is that the internal clock has about 5% error. Because of this I want to get an SNTP update exactly before doing a task that requires precise timing. Is it possible to force a SNTP update? I can't find anything in the docs.

Thank you!
by milkolik
Wed Apr 06, 2022 11:21 pm
Forum: General Discussion
Topic: ESP32-CAM I2C conflict
Replies: 1
Views: 2809

ESP32-CAM I2C conflict

Hi, I have a ESP32-CAM I am using for taking pictures. I am also using a PCF8574 for GPIO expansion connected via I2C. Both the camera and the expansion chip work when ran independently but not at the same time. I've configured the camera to use I2C Port1 and PCF8574 to use Port0. The code starts wi...
by milkolik
Tue Mar 29, 2022 3:08 pm
Forum: ESP-IDF
Topic: esp_http_client PSRAM use
Replies: 5
Views: 2966

Re: esp_http_client PSRAM use

Yes. It is detected at the beginning but nevermind, I already found the issue. The problem is that I am using pin 16 for the w5500 module and it turns out that the ESP32-CAM also uses that for PSRAM chip select!

Thank you!
by milkolik
Tue Mar 29, 2022 5:37 am
Forum: ESP-IDF
Topic: esp_http_client PSRAM use
Replies: 5
Views: 2966

Re: esp_http_client PSRAM use

Hmm interesting, I disabled PSRAM and it is indeed working without it! However I do need the PSRAM for storing some images in it and currently I am unable to due to this issue. For some reason the moment I do the w5500 init the PSRAM goes to 0. Is there a possible explanation aside of a hardware/pow...
by milkolik
Tue Mar 29, 2022 5:07 am
Forum: ESP-IDF
Topic: esp_http_client PSRAM use
Replies: 5
Views: 2966

Re: esp_http_client PSRAM use

I am doing heap_caps_get_free_size(MALLOC_CAP_SPIRAM) to get the available external RAM. I dug a bit deeper and the problem seems to be when initializing the MAC part of the w5500 ethernet module I am using. But still not sure what is going on. I think it's a bit suspicious that after initializing I...
by milkolik
Tue Mar 29, 2022 1:12 am
Forum: ESP-IDF
Topic: esp_http_client PSRAM use
Replies: 5
Views: 2966

esp_http_client PSRAM use

Hi, I am planning of using the esp_http_client component for a project. I started by checking out the esp_http_client example code but I noticed that all 4MB PSRAM of my ESP are used by example_connect() . Is this a quirk with this particular example code? Or does esp_http_client actually use all ex...
by milkolik
Fri Mar 11, 2022 11:03 pm
Forum: General Discussion
Topic: Impressive Ethernet bandwith using ESP32
Replies: 5
Views: 56640

Re: Impressive Ethernet bandwith using ESP32

Thank you!