Search found 43 matches

by floitsch_toit
Thu Dec 11, 2025 7:36 am
Forum: ESP-IDF
Topic: memcpy not working on esp32c3
Replies: 2
Views: 2831

Re: memcpy not working on esp32c3

My patch to the documentation just got merged.
https://github.com/espressif/esp-idf/pull/17993
by floitsch_toit
Sun Dec 07, 2025 2:02 pm
Forum: ESP-IDF
Topic: memcpy not working on esp32c3
Replies: 2
Views: 2831

memcpy not working on esp32c3

I'm implementing an RMT encoder using the Simple Callback Encoder ( https://docs.espressif.com/projects/esp-idf/en/v5.5.1/esp32c3/api-reference/peripherals/rmt.html#simple-callback-encoder ).

I'm using a simple 'memcpy' to copy my data into the buffer. This seems to work fine on the ESP32, but on ...
by floitsch_toit
Sun Oct 26, 2025 10:03 pm
Forum: ESP-IDF
Topic: ESP32C6 stuck in uart_ll_update
Replies: 0
Views: 1335

ESP32C6 stuck in uart_ll_update

A few years ago we wrote our own UART driver which does some low-level HAL calls (like `uart_hal_X...`).
Our driver uses the deprecated `driver/periph_ctrl.h` and we will have to rewrite it, but until the rewrite is finished we would like to continue using the driver for the C6 as well.

My ...
by floitsch_toit
Sun Sep 14, 2025 11:18 am
Forum: ESP-IDF
Topic: gpio_deep_sleep_hold_en side effects
Replies: 0
Views: 807

gpio_deep_sleep_hold_en side effects

We are working on the esp32s3.
Pin 45 is a strapping pin with a weak pull-down.

Observed behavior:
After setting pin 45 to high-impedance, a call to 'esp_deep_sleep' will pull the pin low for ~10us.
However, after calling 'gpio_deep_sleep_hold_en' the pin is not pulled low.

The documentation of ...
by floitsch_toit
Wed Jun 25, 2025 12:48 pm
Forum: ESP-IDF
Topic: Deep sleep power consumption increased after ESP-IDF update
Replies: 2
Views: 182

Re: Deep sleep power consumption increased after ESP-IDF update

I have narrowed it down to a regression between 5.1.1 and 5.1.6.

I filed an issue: https://github.com/espressif/esp-idf/issues/16192

For reference: the following program pulls pin 1 of an ESP32S3 up on 5.1.6, but doesn't on 5.1.1


#include "esp_sleep.h"
#include "driver/gpio.h"

void app_main ...
by floitsch_toit
Wed Jun 25, 2025 8:41 am
Forum: ESP-IDF
Topic: Deep sleep power consumption increased after ESP-IDF update
Replies: 2
Views: 182

Re: Deep sleep power consumption increased after ESP-IDF update

I forgot to mention that this is on an ESP32S3.
by floitsch_toit
Wed Jun 18, 2025 3:15 pm
Forum: ESP-IDF
Topic: Deep sleep power consumption increased after ESP-IDF update
Replies: 2
Views: 182

Deep sleep power consumption increased after ESP-IDF update

After upgrading the ESP-IDF from the v5.0 branch to v5.1 the power consumption of our devices in deep sleep went from ~20 µA to ~131 µA.

Does anyone have pointers on what has changed, or what we could investigate to find the reason for this change?

thanks.

Edit: it looks like adding an external ...
by floitsch_toit
Fri Jun 06, 2025 8:32 am
Forum: ESP-IDF
Topic: RMT input pulls pin high
Replies: 6
Views: 237

Re: RMT input pulls pin high

Espressif just removed the pullup and lets users configure the pin independently: https://github.com/espressif/esp-idf/commit/c63f51dcb31bc0aadb5343e3c182c50244f1c41b



However, with the ~50kOhm of the internal pull-up/pull-down resistors, I guess you won't get a visible indication from the LED ...
by floitsch_toit
Wed Jun 04, 2025 3:36 pm
Forum: ESP-IDF
Topic: RMT input pulls pin high
Replies: 6
Views: 237

Re: RMT input pulls pin high


Can you provide more details?
but I can clearly see on my oscilloscope that the level of the pin is not 0 anymore
Is it 1 or just floating? How did you read that 1MO? What is the ouput of gpio_dump_io_configuration()? Why does it bother you?


Thanks for the pointer to gpio_dump_io ...
by floitsch_toit
Tue Jun 03, 2025 12:00 pm
Forum: ESP-IDF
Topic: RMT input pulls pin high
Replies: 6
Views: 237

Re: RMT input pulls pin high

Thanks.
I have gone through these documents (multiple times...).

It doesn't explain why an RMT peripheral pulls up an input line. Maybe that's the expected behavior, but I'm pretty confident that older versions of the ESP-IDF didn't do that.

Go to advanced search