Search found 11 matches

by igormoo
Tue Dec 10, 2024 3:43 pm
Forum: ESP-IDF
Topic: Second SPI for ESP32-S3-DevKitC-1-N32R8V Development Board
Replies: 1
Views: 470

Second SPI for ESP32-S3-DevKitC-1-N32R8V Development Board

I need a second SPI for the ESP32-S3 module, but I see a lot of conflicting information online. Most of the information claims that there are 2 dedicated "fast/hardware" SPI channels on the module - one I've dedicated to work with a screen, but I'd like to assign the second one to work with an Ether...
by igormoo
Tue Dec 10, 2024 3:33 pm
Forum: ESP-IDF
Topic: Esp32-S3 crashes when a second SPI is initialized for Ethernet module W5500
Replies: 7
Views: 1397

Re: Esp32-S3 crashes when a second SPI is initialized for Ethernet module W5500

Thank you for pointing this out. My apologies, I thought you were referring to the ETH module, not to ESP32. I'm using "ESP32-S3-DevKitC-1-N32R8V Development Board". Maybe I'm a bit biased because I've tested this hypothesis previously with a different pin layout and got the same error. Here is one ...
by igormoo
Thu Dec 05, 2024 6:40 pm
Forum: ESP-IDF
Topic: Esp32-S3 crashes when a second SPI is initialized for Ethernet module W5500
Replies: 7
Views: 1397

Re: Esp32-S3 crashes when a second SPI is initialized for Ethernet module W5500

Maybe the "panic" information is saying something? I don't know how to interpret this. As you can see there is nothing specific after log output "spi_bus_initialize" Here is how the code looks and this is what's in the trace with the highest level of VERBOSEty #define ETHERNET_SPI_MOSI_GPIO 35 // Ex...
by igormoo
Thu Dec 05, 2024 2:56 am
Forum: ESP-IDF
Topic: idf.py monitor cannot find xtensa-esp32s3-elf-addr2line
Replies: 6
Views: 3208

Re: idf.py monitor cannot find xtensa-esp32s3-elf-addr2line

Had similar problems on MAC and ended up creating symlinks
by igormoo
Thu Dec 05, 2024 2:51 am
Forum: Hardware
Topic: ESP32S pins 34,35,36,39 all receiving the event on one of the pins
Replies: 7
Views: 1418

Re: ESP32S pins 34,35,36,39 all receiving the event on one of the pins

Once I had a similar problem, but my issue was that I had a very low value of pull-up resistors on the pins that made the pins virtually connected. Put 10k pull-ups on each one of your pins and that most-likely solves your problem
by igormoo
Thu Dec 05, 2024 12:53 am
Forum: ESP-IDF
Topic: Esp32-S3 crashes when a second SPI is initialized for Ethernet module W5500
Replies: 7
Views: 1397

Esp32-S3 crashes when a second SPI is initialized for Ethernet module W5500

On Esp32-S3 I'm trying to initialize a second SPI (the first one is used for a TFT display) to run Ethernet module W5500 (similar to https://a.co/d/hL5TRAN ) The module is wired like this: MOSI - gpio 35 MISO - gpio 37 CLK - gpio 36 SS/CS - gpio 38 when the `spi_bus_initialize` is executed - the mod...
by igormoo
Thu Nov 28, 2024 4:53 pm
Forum: ESP-IDF
Topic: HTTP Post closes connection before the payload is sent
Replies: 3
Views: 1066

Re: HTTP Post closes connection before the payload is sent

Thank you for the idea. Actually, the server was tested with "curl", but when I've checked via WireShare I've noticed that the server was rushing with the response to the first chunk that was sent by the espidf. I've updated the server to wait for the whole payload. So the question remains - is ther...
by igormoo
Thu Nov 28, 2024 4:42 pm
Forum: ESP-IDF
Topic: HTTP client fails to retreive response data after esp_http_client_perform
Replies: 0
Views: 551

HTTP client fails to retreive response data after esp_http_client_perform

I've tried a lot of different ways and examples. I'm sure I'm missing something obvious but I already spent a couple of full days on this. Any ideas are welcome Here are a couple of interesting points: 1. See attached WireShark capture - the payload response from the server is coming correctly in a ...
by igormoo
Thu Nov 28, 2024 1:08 am
Forum: ESP-IDF
Topic: LVGL: lv_conf.h
Replies: 1
Views: 659

Re: LVGL: lv_conf.h

You define LV_LVGL_H_INCLUDE_SIMPLE and that changes globally where the `lv_conf.h` is searched to the "local" include like this: #include "lv_conf.h" This means that it will be searched in your personal include path. I've put mine in "include/gui" path and added this path to my include paths collec...
by igormoo
Thu Nov 28, 2024 1:05 am
Forum: ESP-IDF
Topic: What happens to GPIO output pin during reboot?
Replies: 6
Views: 1673

Re: What happens to GPIO output pin during reboot?

Any chance you can share a snippet of your bootloader hook?