Page 1 of 1

using RMT (led_strip) causes failing JTAG USB-Debugging

Posted: Tue Aug 13, 2024 10:55 am
by Hf_Development
I'm using the IDF with the esspressif__led_strip component

Config is here:

/* LED strip initialization with the GPIO and pixels number*/
strip_config = {
.strip_gpio_num = 48,
// The GPIO that connected to the LED strip's data line
.max_leds = 1,
// The number of LEDs in the strip,
.led_pixel_format = LED_PIXEL_FORMAT_GRB,
// Pixel format of your LED strip
.led_model = LED_MODEL_WS2812,
// LED strip model
.flags = {
.invert_out = false,
}
// whether to invert the output signal (useful when your hardware has a level inverter)
};

rmt_config = {
.clk_src = RMT_CLK_SRC_DEFAULT,
// different clock source can lead to different power consumption
.resolution_hz = 0,
// 10MHz
.flags =
{
.with_dma = true,
}
// whether to enable the DMA feature
};
ESP_ERROR_CHECK(led_strip_new_rmt_device(&strip_config, &rmt_config, &led_strip));
}

Board is a ESP32 -S3 DevKit Wroom board.

Can anybody explain, what is wrong with the init?
After led_strip_new_rmt_device i'm not able to flash anymore over the USB-JTAG. Need to activate the bootloader by BOOT / RST combination.

That is a really strange behavior...

BR Holger

Re: using RMT (led_strip) causes failing JTAG USB-Debugging

Posted: Sat Aug 17, 2024 8:51 am
by djixon
why 0 in resolution frequency?