Search found 16 matches

by mattia424
Thu Jan 09, 2025 10:38 pm
Forum: ESP-IDF
Topic: RMT with buffer on DMA
Replies: 5
Views: 1383

Re: RMT with buffer on DMA



Unfortunately I can't update to IDF 5.4 because support in platformio has not been released yet

My man, you're so out of date :-D
https://registry.platformio.org/tools/platformio/framework-espidf
3.50400.0 (5.4.0) has been published yesterday already ;-)



That one I had missed ahah, anyway ...
by mattia424
Thu Jan 09, 2025 2:06 pm
Forum: ESP-IDF
Topic: RMT with buffer on DMA
Replies: 5
Views: 1383

Re: RMT with buffer on DMA

Unfortunately I can't update to IDF 5.4 because support in platformio has not been released yet, do you think if I just replace esp_driver_rmt with the new version it might work?
Thanks
by mattia424
Sat Jan 04, 2025 12:55 pm
Forum: ESP-IDF
Topic: RMT with buffer on DMA
Replies: 5
Views: 1383

RMT with buffer on DMA

Hello everyone,
I am using the RMT driver to send a series of bits to some RGB leds, specifically I should use a buffer greater than 2046 blocks and enable the loop_count = -1 configuration so that the driver can delegate the management of the leds and completely free up the cpu.
I put the flag ...
by mattia424
Sun Aug 04, 2024 2:38 pm
Forum: ESP-IDF
Topic: Enabling PSRAM
Replies: 3
Views: 3553

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: 3553

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 ...
by mattia424
Mon Jul 01, 2024 5:07 pm
Forum: ESP-IDF
Topic: MQTTS without CA
Replies: 1
Views: 2174

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 ...
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: 752

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 ...
by mattia424
Sat Feb 10, 2024 5:33 pm
Forum: ESP-IDF
Topic: Displaying heap memory occupation
Replies: 2
Views: 1085

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 ...
by mattia424
Sat Feb 10, 2024 4:11 pm
Forum: ESP-IDF
Topic: Displaying heap memory occupation
Replies: 2
Views: 1085

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 ...
by mattia424
Mon Jan 29, 2024 6:55 pm
Forum: ESP-IDF
Topic: SD card init failed
Replies: 10
Views: 8525

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 ...

Go to advanced search