Search found 9007 matches

by ESP_Sprite
Sun Apr 14, 2024 1:17 am
Forum: ESP32 Arduino
Topic: What is the proper way to modify 'CONFIG_FREERTOS_HZ' in 'Arduino ESP32', similar to using 'menuconfig' in 'ESP-IDF'?
Replies: 3
Views: 343

Re: What is the proper way to modify 'CONFIG_FREERTOS_HZ' in 'Arduino ESP32', similar to using 'menuconfig' in 'ESP-IDF'

I don't think you can, not without recompiling the ESP-IDF libraries Arduino uses. Is there any reason you need to? If you need high-resolution timer callbacks, it's usually better to use things like ESP-IDFs esp_timer rather than increasing the tick rate.
by ESP_Sprite
Sun Apr 14, 2024 1:16 am
Forum: ESP-IDF
Topic: Generate signal with timer
Replies: 8
Views: 609

Re: Generate signal with timer

Not sure where you get that a timer group contains 4 timers. From the TRM: 'The ESP32 contains two timer modules, each containing two timers. '. In general, the gptimer driver abstracts away over this: if you ask it for a timer, it'll give you the first one that is free.
by ESP_Sprite
Sun Apr 14, 2024 1:09 am
Forum: ESP-IDF
Topic: FreeRTOS xSemaphoreTake assert failed
Replies: 2
Views: 274

Re: FreeRTOS xSemaphoreTake assert failed

It's likely a buffer overflow or some other memory corruption somewhere, but between the magic values that you use (3? 2000? 2048?) I have a hard time squirreling out what's happening exactly.
by ESP_Sprite
Sun Apr 14, 2024 12:59 am
Forum: General Discussion
Topic: Flash write/read issue
Replies: 6
Views: 564

Re: Flash write/read issue

Could it be that your code is running without you seeing it? Could be that between flashing and opening the monitor (which resets the processor), the CPU gets to execute code for a little bit.
by ESP_Sprite
Sun Apr 14, 2024 12:44 am
Forum: General Discussion
Topic: Espressif and product upgrade path
Replies: 5
Views: 461

Re: Espressif and product upgrade path

Well that's an MCU without any connectivity, and is even less suited than what's out there already. Note that the intent of the P4 is for it to easily and transparently pair up with one of our C-series chips (e.g. the C3 or C6 or in the future the C5) allowing it to connect to things in the same wa...
by ESP_Sprite
Sat Apr 13, 2024 12:52 am
Forum: Hardware
Topic: ESP32-C3-DevKitC-02 SPI issue
Replies: 5
Views: 500

Re: ESP32-C3-DevKitC-02 SPI issue

I would just have a question before closing the topic, How can I configure this SPI communication to use DMA? What would be the maximum size of data I could send? You already have the answer to both questions in your code: you use SPI_DMA_CH_AUTO and set .max_transfer_sz to whatever the maximum is ...
by ESP_Sprite
Fri Apr 12, 2024 2:41 pm
Forum: ESP-IDF
Topic: Generate signal with timer
Replies: 8
Views: 609

Re: Generate signal with timer

Do you have an issue specific with the LEDC? If so, you can also use the MCPWM or the RMT, or even hack stuff up using e.g. I2s, to generate such a signal. If you specifically want to generate a signal using a software interrupt, it would really help if you would tell us why exactly. (And the answer...
by ESP_Sprite
Fri Apr 12, 2024 7:52 am
Forum: Hardware
Topic: ESP32-C3-DevKitC-02 SPI issue
Replies: 5
Views: 500

Re: ESP32-C3-DevKitC-02 SPI issue

Glad you found it! You can leave your post as it is, we don't have any closing functionality here.
by ESP_Sprite
Fri Apr 12, 2024 5:48 am
Forum: ESP-IDF
Topic: FreeRTOS Task causes TWDT triggered
Replies: 14
Views: 1762

Re: FreeRTOS Task causes TWDT triggered

Hm, no clue. Any other tasks doing anything with lvgl? Wondering if you may have some sort of concurrency issue.
by ESP_Sprite
Fri Apr 12, 2024 5:11 am
Forum: General Discussion
Topic: Download from S3 bucket
Replies: 3
Views: 230

Re: Download from S3 bucket

While the buffer's argument is char in esp_http_client_read(esp_http_client_handle_t client, char *buffer, int len), the content_length is assigned to the buffer with that size since esp_http_client_get_content_length(client); returns int. based on the content_length while allocating the buffer You...