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
using RMT (led_strip) causes failing JTAG USB-Debugging
-
- Posts: 1
- Joined: Tue Jul 23, 2024 10:55 am
Re: using RMT (led_strip) causes failing JTAG USB-Debugging
why 0 in resolution frequency?
Who is online
Users browsing this forum: No registered users and 377 guests