Search found 9004 matches

by ESP_Sprite
Sun Apr 14, 2024 12:59 am
Forum: General Discussion
Topic: Flash write/read issue
Replies: 6
Views: 488

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

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

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

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

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

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

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...
by ESP_Sprite
Fri Apr 12, 2024 3:38 am
Forum: Hardware
Topic: ESP32-C3-DevKitC-02 SPI issue
Replies: 5
Views: 472

Re: ESP32-C3-DevKitC-02 SPI issue

FWIW, I see nothing wrong with your code... I assume running it does not spit out any errors? Perhaps you're measuring the wrong pins or something?
by ESP_Sprite
Fri Apr 12, 2024 2:55 am
Forum: ESP8266
Topic: Is the 8266 processor supported ?
Replies: 17
Views: 33918

Re: Is the 8266 processor supported ?

I'd like to be ahead of the troops, but it seems there is no suitable RISC-V version for me yet. The "mini" boards that I like (2.54 mm pitch pins but still very small) are all with S2 orc S3. So I guess that will be for a future project. I don't think the P4 will be very cheap (as an end-user-prod...
by ESP_Sprite
Fri Apr 12, 2024 2:33 am
Forum: ESP32 Arduino
Topic: Protect counter variable by portENTER_CRITICAL vs <atomic>
Replies: 5
Views: 361

Re: Protect counter variable by portENTER_CRITICAL vs <atomic>

Atomics are supported, and as long as you use a 32-bit atomic, access is a lot faster as the hardware will take care of atomicity rather than needing code for critical sections.