Search found 13 matches

by mattia424
Sun Aug 04, 2024 2:38 pm
Forum: ESP-IDF
Topic: Enabling PSRAM
Replies: 3
Views: 1419

Re: Enabling PSRAM

I tried removing '-mfix-esp32-psram-cache-issue' but nothing.

isn't psram_init() only used with arduino frameworks? i use espidf directly.
by mattia424
Sun Aug 04, 2024 12:28 pm
Forum: ESP-IDF
Topic: Enabling PSRAM
Replies: 3
Views: 1419

Enabling PSRAM

Hello, everyone, I am trying to enable PSRAM in ESP32-S3-WROOM-N32R8V. I have done the following: - Added "-DBOARD_HAS_PSRAM" - Added "-mfix-esp32-psram-cache-issue" as I do not have the rev3 chip - Verified that the module physically has PSRAM - N32R8V so yes. - Left gpio35, gpio36 and gpio37 PINs ...
by mattia424
Mon Jul 01, 2024 5:07 pm
Forum: ESP-IDF
Topic: MQTTS without CA
Replies: 1
Views: 1491

MQTTS without CA

Hi, I am trying to connect to my mqtt server where tls is enabled. On the server I have created certificates with Let's Encrypt and with MQTT Explorer everything works correctly in TLS without loading the CA. How can I now get this server to work with my ESP32? I have tried putting only: .address = ...
by mattia424
Fri Mar 22, 2024 2:18 pm
Forum: ESP-IDF
Topic: esp-modbus library example work on idf 5.0.0
Replies: 0
Views: 486

esp-modbus library example work on idf 5.0.0

Hello, everyone, I am trying to create a modbus muster device that reads registers on a slave device. How can I make the esp-modbus library example work on idf 5.0.0? If I include directly from platformio it adds the folder I would download from github in libdeps but it doesn't work #include "mbcont...
by mattia424
Sat Feb 10, 2024 5:33 pm
Forum: ESP-IDF
Topic: Displaying heap memory occupation
Replies: 2
Views: 606

Re: Displaying heap memory occupation

Yes, I am quite sure that this is the problem. I've tried replicating it by sending a lot of requests and in the process keeping track of the heap size and when it exceeds a certain threshold the abort happens. plus minus the threshold is always the same. In the meantime I have carried out these tes...
by mattia424
Sat Feb 10, 2024 4:11 pm
Forum: ESP-IDF
Topic: Displaying heap memory occupation
Replies: 2
Views: 606

Displaying heap memory occupation

Hello, everyone, I have noticed crashes in my ESP32 after several calls to the webserver using the httpd library. I've also tried httpd_register_uri_handler a very simple function that only gives an HTTP 200 response and every time it receives a call the memory increments by about 300bytes this resu...
by mattia424
Mon Jan 29, 2024 6:55 pm
Forum: ESP-IDF
Topic: SD card init failed
Replies: 10
Views: 4481

Re: SD card init failed

I have tried the example on your github and am still experiencing the same error for the Samsung microSD that only works with Arduino. I (322) main_task: Calling app_main() I (322) sdcard_main: Initialising SPI peripheral I (332) sdcard_main: Adding fake LCD SPI device I (332) sdcard_main: Adding fa...
by mattia424
Sun Jan 28, 2024 9:42 pm
Forum: ESP-IDF
Topic: SD card init failed
Replies: 10
Views: 4481

Re: SD card init failed

Thank you very much for your advice!!! By now demoralised :? I started from 0 with everything and carefully followed the example and documents from espressif and at the end of it all I discovered that the problem is the SD..... I think the problem was more than one as changing the SD was one of the ...
by mattia424
Sat Jan 27, 2024 1:13 pm
Forum: ESP-IDF
Topic: SD card init failed
Replies: 10
Views: 4481

Re: SD card init failed

Analysing the error output, I see the following lines: I (337) main_task: Calling app_main() I (337) example: Initializing SD card I (347) example: Adding fake LCD SPI device I (347) example: Adding fake LCD TOUCH device I (357) example: Mounting filesystem I (357) gpio: GPIO[38]| InputEn: 0| Output...
by mattia424
Sat Jan 27, 2024 12:19 pm
Forum: ESP-IDF
Topic: SD card init failed
Replies: 10
Views: 4481

Re: SD card init failed

I tried adding the fake TOUCH LCD and the SPI LCD, I also tried with a delay before calling sdspi_mout but nothing to do, always error 109 I also tried: - Change with 4 different SD cards - Try with another ESP32-S3 - Completely change the pins - Change from SPI2_HOST to SPI3_HOST But I noticed that...